View Single Post
  #2   Spotlight this post!  
Unread 06-02-2012, 20:20
DuaneB's Avatar
DuaneB DuaneB is offline
Registered User
FRC #1731
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Virginia
Posts: 20
DuaneB is an unknown quantity at this point
Re: which sensor to use

Quote:
Originally Posted by tilky View Post
we want to be able to get the angle of a sensor mounted onto the robot, and aren't sure which sensor to use. We tried the gyro but there are some flaws (such as it infinitly going up after we turn in circles). What should we use?
This sounds more like a software error than a sensor error. Have you verified you're getting the correct voltage from the gyro? How does the sensor output feed back into your control loop? Are you trying to measure absolute angle, or angular rate of change? The rotary magnetic encoder will measure absolute angle. The gyro is only good for rate of change. If you're trying to measure the angle of a mechanism on the robot, like arm tilt or turret pan, a multi-turn potentiometer might be good for this.
Reply With Quote