Quote:
Originally Posted by Aerex
Regarding this topic I have a similar questions about the gyo
1.) If the gryo's results give a 10 bit value would 1024 represent a 360 degree angle.
2.) Can I take the assumption that the gryoscope uses flat plane of x and y coordinates.
3.) When you start the robot is the value initialized at 0 or at some angle that it captures
a.) if you were to turn a robot backwards would the values be the opposite value (ie. 25 to -25)
|
1) No. See my comments above. 1024 (read from the analog input, not the gyro routine) would represent a rapid clockwise turn.
2) Yes, I suppose so, if it is mounted parallel to the plane of x & y. I do not know the results if mounted on an angle.
3) No. See documentation for Easy C/WPILib or Kevin's routines.
The Gyro output of 0-1024 represents the 'rate of turn' and should return a value of approximately 512 when at rest.