View Single Post
  #5   Spotlight this post!  
Unread 10-02-2010, 00:09
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: Need help w/ moving Camera Servo motors.

Quote:
Originally Posted by Ziaholic View Post
That picture shows a different VI in the background that sets the servo to zero. That could be your problem.
That is so weird. I think that is there because I might have copied the camera code directly into Robot Main because this is the first time I am using sub VIs. Even if it was something different, I am sure that the motor is only set to 0 when a button is pressed.I am pretty sure I didnt make a stupid mistake such as this, but I will look this up on thursday(snow day tmr).

Quote:
Originally Posted by Alan Anderson View Post
The valid range of values for Servo Set Position is from 0 to 1. If you try to set the servo position to something greater than 1, it will be coerced to 1. If you try to set it to something less than 0, it will be coerced to 0. Does that help explain what you're seeing?
So should I use Servo SetAngle instead? What range does that go from? 0 to 180 or -90 to 90?
__________________
Team 1403 Cougar Robotics

2009-2011 Programming Captain

2010
NJ-Regional - Chairmans Award
Reply With Quote