This repository contains the source code for the ADIS16470 IMU driver for the host machine. The driver is written in C++ 17 and uses the Linux Serial interface to communicate with the IMU.
- Support for the ADIS16470 IMU
- Support for reading sensor data (accelerometer, gyroscope, temperature(TODO))
- Support for configuring sensor settings (TODO)
- Support for reading sensor status and error codes (TODO)
- Support for reading sensor calibration data (TODO)
- Support calculating the rough time offset between the IMU and the host machine
To install the driver, follow these steps:
- Clone the repository:
git clone --recursive https://github.com/geniusdo/Imu-driver.git
- Create a build directory:
mkdir -p Imu-driver/build
- Enter the build directory:
cd Imu-driver/build
- Run the CMake command:
cmake ..
- Build the driver:
make
To run the driver, just a simple command
./imu_driver -d <device_name> -o <output_file> -t <seconds>