Quote:
Originally Posted by whatabouteve
the colors mean nothing. it basically means the flow of electricity.
you shouldn't judge the movement of the robot by the colors.
i would change the power to the motors that way when u run autonomous, you have code like...
myRobot.Drive(1.0,1.0);//for forward
instead of
myRobot.Drive(1.0,-1.0);// for forward
this makes it easier from a coding standpoint
|
If memory serves me correctly, on the spikes and victors, the LEDs glowed green for normal polarity and red for reversed polarity. As such, we've always wired our motors and control logic to match. It just made things simpler to troubleshoot, code, etc.
So, please correct me if I'm wrong.. If we used the RobotDrive class, we have to think of "forward" as the "negative" direction? Sounds just like the economony?
