Hey,
So I’m trying to find documentation to use the gyro sensor built into the Roborio, but the only thing I’m finding from wpilib is for plugin gyros with the AnalogGyro class. The documentation says that to create one, it needs to be in either channel 0 or 1. Is one of these referencing the Roborio? And if not, how do I code for that so that we don’t need to get/use an outside sensor?
The RoboRIO has a built-in accelerometer but does not have a built-in gyro. You will have to use an external gyro sensor, either SPI (e.g. ADXRS450) or analog, or something like a NavX or Spartan Board which provides a gyro via the MXP expansion port.
2 Likes
There’s also the CTRE Pidgeon which you can use with their Talon SRX, or directly in the CAN bus.
2 Likes
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.