These libraries allow mentors, students, and engineers to quickly get started using the ADIS16448 Inertial Measurement Unit (IMU). This compact module provides teams with a high-performance, ten-degree-of-freedom (DoF), calibrated, feedback for their FRC robots. The module packages several gyroscopes and accelerometers in a small, robust package, perfect for high-performance robotics (such as FRC).
To simplify the library as much as possible for the 2020 season, only a few, key IMU features are exposed to the user by default.
These software libraries provide the user (you) with:
Tutorial videos, how-to guides, and additional resources can be found on the ADI FIRST Robotics Wiki Page.
The IMU driver currently supports all three official FRC languages (C++, Java, and LabVIEW).
You can use the online method to install the latest C++ and Java API if your development machine can be connected to the internet:
http://maven.highcurrent.io/vendordeps/ADIS16448.json
https://github.com/juchong/ADIS16448-RoboRIO-Driver-Examples
An offline installation option is available for users whose machines do not have acces to the internet:
LabVIEW libraries should be installed using the NI Package Manager. Check out the releases page for the latest package installer.
https://github.com/juchong/ADIS16448-RoboRIO-Driver/releases
Additional LabVIEW instructions and API details can be found in the LabVIEW subdirectory in this repository.
https://github.com/juchong/ADIS16448-RoboRIO-Driver/tree/master/LabVIEW
Doxygen coming soon!
The schematic, layout, and manufacturing files can be found in this repository under hardware/PCB Reference Files/
.
Copies of this board may be purchased from OSH Park by following this link.
To use the software, you need access to a RoboRIO and the ADIS16448 RoboRIO Breakout Board. This software is based on the FRC 2020 software distribution and relies on the latest WPILib libraries and RoboRIO image to interface with the IMU. Previous (pre-2020) versions of LabVIEW and WPILib libraries are not supported.
Plug in the expansion board as shown below. Be careful not to offset the connector!! If installed correctly, the Power LED should turn on once the RoboRIO is powered on. If your board has a status LED, it will only light up once the IMU has successfully communicated with the RoboRIO.
Your RoboRIO should be imaged to match the version of the NI Update Suite installed on your PC. For example, if you have the latest (of this writing) update suite installed (2020.0.0), then you must also have the FRC_roboRIO_2020_v10 image and roboRIO_6.0.0f1 firmware installed. This driver relies heavily on the FPGA image loaded in the RoboRIO and will not work on older versions. The most current NI Update Suite can be found here.