Thread: Camera servo
View Single Post
  #12   Spotlight this post!  
Unread 13-02-2010, 18:13
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: Camera servo

Quote:
Originally Posted by Ziaholic View Post
The "thing" between buttons 8 & 9 is called the Throttle ... a.k.a Axis-3.

It goes from -1 to 1 ... but IMO, it goes the wrong way. You can wire the Axis3 (throttle) axis directly into the Tilt servo's SET POSITION. You might want to throw a "negate" in between if it acts backwards.
We got our camera servo working using axis 3.
to take into account the -1 to 1, the value given by the axis was divided by 4, and then added .5, so the total value would go from .25 to .75(since we dont need the camera to go up and down all the way)
__________________
Team 1403 Cougar Robotics

2009-2011 Programming Captain

2010
NJ-Regional - Chairmans Award
Reply With Quote