ethz-asl / mav_imu

IMU driver for Adis/Bosch/etc.
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

mav_imu

Userspace driver for adis16448 and BMI088 written in C++17.

Setup

  1. Install dependencies
$ sudo apt-get install ros-noetic-imu-tools libgoogle-glog-dev
$ git clone git@github.com:ethz-asl/lpp.git
  1. Go to the catkin workspace and clone this repo in the src folder and build it with
    $ git clone --recurse-submodules git@github.com:ethz-asl/mav_imu.git
    $ catkin build mav_imu
  2. Source environment
$ source /opt/ros/noetic/setup.bash
$ source ~/catkin_ws/devel/setup.bash
  1. Launch node
    $ roslaunch mav_imu imu_default.launch
$ roslaunch mav_imu imu_rviz.launch
$ rosrun imu_madgwick_filter imu_filter_node
  1. Example BMI088 and Jetson Xavier NX
    • Connect BMI088 to 40 pin header according to schematics
      roslaunch mav_imu imu.launch imu:=bmi088 spi_path:=/dev/spidev0.0

There is also a kernel level driver but: