![]() |
[FTC]: Continous Servos
How do you program a continuous servo in Robot C?
|
Re: [FTC]: Continous Servos
255 is full power in one direction, 0 is full power in the other direction. Somewhere around 127 is stopped. 127 is supposed to be stopped, but we recently found that some of our servos stopped with a setting around 133.
In other words: servo[myContinuousServo]=255; // full power one way servo[myContinuousServo]=0; // full power the other way servo[myContinuousServo]=127; // stopped. might be a different # close to 127 Also make sure that you've configured the servos as Continuous Servos in the Motors and Sensors Setup. BTW, a cheatsheet for RobotC teleop programming is available here. |
| All times are GMT -5. The time now is 17:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi