HI! I have a question on setting up the ADXRS 450 gyro on the roboRIO.
Question: Does the direction of the roboRIO affect the initial value (0 degree) of the roboRIO and which direction should we place the roboRIO?
Thank you,
Stephen.
HI! I have a question on setting up the ADXRS 450 gyro on the roboRIO.
Question: Does the direction of the roboRIO affect the initial value (0 degree) of the roboRIO and which direction should we place the roboRIO?
Thank you,
Stephen.
No. The gyro will initialize to 0 when the robot turns on.
One thing to note is the orientation of the sensor (versus gravity) matters. As the gyro is only a single axis, that rotation axis needs to be perpendicular to the floor, so unless you use a ribbon cable to connect the gyro to the Rio, the Rio needs to be laying flat (parallel to the floor).
Thank you!
But how will gyro know which direction is the back of the robot and which is the front of the robot?
It doesn’t. It’s a relative angle sensor not an absolute angle sensor. It only knows clockwise turn or counter clockwise turn. Thus any angle returned by the gyro is relative to what orientation you set up the robot in. Therefore you should always set up the robot in a consistent, or known orientation.
Thank you so much!
But how do I know or set up the orientation of the robot?
We will always just assume it to be some known value, based on how we placed the robot at the start of autonomous.
Thank you @gerthworm !
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.