Did somebody know how to use Accelerometer in roboRio?

It seems like there is an Accelerometer inside roboRio. But I am really curious about how I can get the data in WPILib

I also try some other gyro except IMU from Ctre cause our region couldn’t get it by reason that it doesn’t support an invoice. However, the gyro that supported by WPILib, I means those which have a class alone didn’t show a good effect.

https://first.wpi.edu/wpilib/allwpilib/docs/release/java/edu/wpi/first/wpilibj/BuiltInAccelerometer.html

2 Likes

Cool, I got it! It’s really nice for you~
https://first.wpi.edu/wpilib/allwpilib/docs/release/cpp/classfrc_1_1_built_in_accelerometer.html#details

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.