Analog devices ADIS 16470-eng basic Java gyro Example Code that works

Does anyone have code for this gyro that I could view because I don’t know where to start to write code just to collect data from the gyro, and I have been to WPIlib and I understand the wording but, formatting I don’t understand.

This is code from 2020 using the Timed Robot framework, so the classes and various methods will have been updated in the last three years.

Github

Here’s more recent code, but it doesn’t do much beyond initializing and printing the angle. The above example has some if-statements.

Github

Other people may have better code/advice, but I hope this serves as a good starting point.

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