Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: continuous servos in RobotC? (http://www.chiefdelphi.com/forums/showthread.php?t=89121)

electron 14-01-2011 14:25

[FTC]: continuous servos in RobotC?
 
I have searched for quite a while now, and I cannot find how to handle continuous servos in RobotC.

I know that saying
Code:

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
Code:

ServoChangeRate[servo1] = *any number here*
but to no avail
any help would be much appreciated!

Michael Coleman 14-01-2011 15:08

Re: [FTC]: continuous servos in RobotC?
 
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

electron 17-01-2011 10:28

Re: [FTC]: continuous servos in RobotC?
 
Quote:

Originally Posted by Michael Coleman (Post 1000060)
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

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


All times are GMT -5. The time now is 19:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi