Quote:
Originally Posted by ksafin
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.