I was at a tournament on Saturday, and about halfway through the matches something strange began to happen to our drivetrain. The left side (both of our two motors) stopped briefly every second or so. No matter what we did, it always went “forward, stop, forward stop” when the joystick was held forward.
The motor controllers and wiring are not at fault- they were replaced and the problem persisted.
The motors themselves are not at fault- they were replaced and the problem persisted.
There is no mechanical fault- when the motors were removed from the drive and held independently, the problem persisted.
The ports are not at fault. We re-wired our bot (and reprogrammed accordingly) to put the left drive motors into different ports (4 and 7 instead of 5 and 6) and the problem persisted.
But here’s the real problematic part: We use easyC and in our operator control while loop, we have an arcade 4 setup. When this was changed to 2 (two) arcade 2 setups, the problem disappeared. There were no other changes to the program, just that alteration.
The question is thus:
Why would this affect the drive in that way? To my knowledge, there should be no problem with having an arcade 4 setup in easyC. Is it some kind of hardware problem inside the Cortex that makes the software glitch? I have never seen this before and I was wondering if anyone had.
When you encounter this problem do the motors feel warm?
Jpearman it seems he already has the simplest code possible. EasyC arcade drive block. My best guess is just that some of the motors are going the wrong way and stalling. Or something like the arcade block sets the vertical axis as both the horizontal and vertical axis.