Quote:
Originally Posted by Tanner
Tested autonomous with just the drivetrain movement (i.e. - drivetrain->ArcadeDrive(autonomousForwardPower, 0.0);, and it still turns.
|
Well it wasn't time wasted - you've eliminated an entire realm of possibilities and narrowed down the problem.
Try putting
drivetrain->ArcadeDrive(0.5, 0.0);
in TeleOp and see if it still turns there.
If so, maybe "0.0" doesn't mean "straight ahead".
Do a printf of the value you are feeding in when the 'bot is going straight ahead in TeleOp, and see if it is "0.0" or some other number.
~