Go to Post If you're not trying to make the best possible product given your set of constraints and resources I'm not quite sure what you're doing. - Aren_Hill [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-12-2014, 18:43
loganzip loganzip is offline
Registered User
FRC #2838
 
Join Date: Feb 2014
Location: USA
Posts: 8
loganzip is an unknown quantity at this point
[FTC]: Continous Servos

How do you program a continuous servo in Robot C?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2014, 19:05
wgardner's Avatar
wgardner wgardner is online now
Registered User
no team
Team Role: Coach
 
Join Date: Feb 2013
Rookie Year: 2012
Location: Charlottesville, VA
Posts: 171
wgardner is a splendid one to beholdwgardner is a splendid one to beholdwgardner is a splendid one to beholdwgardner is a splendid one to beholdwgardner is a splendid one to beholdwgardner is a splendid one to beholdwgardner is a splendid one to behold
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.
__________________
CHEER4FTC website and facebook online FTC resources.
Providing support for FTC Teams in the Charlottesville, VA area and beyond.

Last edited by wgardner : 02-12-2014 at 19:13.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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