Log in

View Full Version : [FTC]: continuous servos in RobotC?


electron
14-01-2011, 14:25
I have searched for quite a while now, and I cannot find how to handle continuous servos in RobotC.

I know that saying
Servo[servo1] = *insert valid standard servo value here*
will cause the continuous servo to rotate into infinity, but I need the ability to stop the servo, as well as run it backwards.
I have also tried
ServoChangeRate[servo1] = *any number here*
but to no avail
any help would be much appreciated!

Michael Coleman
14-01-2011, 15:08
Servo value of 0 = Full Power/Speed Reverse
Servo value of 127 = Stop
Servo value of 256 = Full Power/Speed Forward

Check-out the ROBOTC Webinar for complete details:
www.education.rec.ri.cmu.edu/fire/media/ftc_webinars/week3/FTC%20Week%203%20Cont%20Servos.html (http://www.education.rec.ri.cmu.edu/fire/media/ftc_webinars/week3/FTC%20Week%203%20Cont%20Servos.html)

electron
17-01-2011, 10:28
Servo value of 0 = Full Power/Speed Reverse
Servo value of 127 = Stop
Servo value of 256 = Full Power/Speed Forward

Check-out the ROBOTC Webinar for complete details:
www.education.rec.ri.cmu.edu/fire/media/ftc_webinars/week3/FTC%20Week%203%20Cont%20Servos.html (http://www.education.rec.ri.cmu.edu/fire/media/ftc_webinars/week3/FTC%20Week%203%20Cont%20Servos.html)

ahh, that worked great, thanks! (and I can't believe that I forgot the webinars, thanks for the reminder):)