View Single Post
  #6   Spotlight this post!  
Unread 03-02-2013, 01:17
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Sensor for finding out angle?

Quote:
Originally Posted by ksafin View Post
In what fashion?

We've never delved into analog devices for use on the robot - so we're pretty blank on how we'd do that.

However, can we actually get angle from the gyro sensor? http://www.wbrobotics.com/javadoc/ed...libj/Gyro.html getAngle() seems to suggest so..
Gyros give yaw-rate information from which angle can be derived. The issue is that it does not give position relative to the robot, it gives position relative to the position it was in when it was last initialized. Depending on the direction your robot is facing, straight ahead could be any angle. Also, the angle tends to drift over time as errors accumulate so accuracy would degrade as the match progressed.

Potentiometers are a much better option since they will give you position relative to the robot with decent repeatability.
__________________