View Single Post
  #8   Spotlight this post!  
Unread 16-11-2009, 13:09
l0jec l0jec is offline
Registered User
no team
 
Join Date: Oct 2009
Rookie Year: 2004
Location: St. Louis, MO
Posts: 52
l0jec has a spectacular aura aboutl0jec has a spectacular aura about
Re: [FTC]: Spin Motor Wind Down: Programming

Quote:
Originally Posted by clwilligham View Post
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;
Reply With Quote