![]() |
[FTC]: Braking NXT Motors Using RobotC
We are using an NXT motor to deploy our end-game ramp but we are finding that during the game the motor is turning allowing the line that is holding back our ramp to unwind. We have used the following code to set our NXT motor to brake by default, but it doesn't work:
Code:
bFloatDuringInactiveMotorPWM = false;Any help would be appreciated. |
Re: [FTC]: Braking NXT Motors Using RobotC
Note: I am not familiar with the FTC setup, so I cannot tell you anything about your code -- hopefully someone with FTC experience can chime in.
Motor braking won't actually stop a motor. It will make it hard to turn the motor quickly, though. Try turning it by hand -- if it's hard to turn quickly, then braking is enabled. If that is your issue, then you should probably output a slight command in the "retract line" direction, to prevent it from unwinding. I hope this helps. |
Re: [FTC]: Braking NXT Motors Using RobotC
Quote:
Thank you so much. :) Kyle_5955 |
| All times are GMT -5. The time now is 06:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi