Quote:
Originally Posted by clwilligham
i think the nicest solution would be to turn of the brakes on the motors some how. although i don't know how you would do that.
|
In ROBOTC, there is a global variable which controls this for all motors. You should be able to set it to true/false to enable/disable floating at will. However, from my student's experience it can be a little buggy with the Tetrix motor controllers, so make sure you test.
Code:
//float motors
bFloatDuringInactiveMotorPWM = true;
//brake motors
bFloatDuringInactiveMotorPWM = false;