|
Re: ANNOUNCEMENT: Analog Devices FIRST Sensor Donation
Quote:
Originally Posted by billbo911
I have seen the links to Github to acquire examples, but those are mostly geared to LabView. I also see "examples" for Java, but don't I need the libraries to support it?
|
The required library is on github. It's a single Java file (Java/com/analog/adis16448/frc/ADIS16448_IMU.java). You will need to copy this java file into your robot project (you will have to put it in a subdirectory "com/analog/adis16448/frc" to match the package name).
One caution with this sensor is it is sensitive to magnetic fields and the current Java and C++ code does not do magnetic disturbance rejection... so you may want to consider using the gyro results rather than the fused yaw result.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC
2010 FRC World Champions ( 294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
|