Read-only mirror of https://github.com/ethz-asl/mav_imu — ETHZ ASL. Issues & pull requests at the source.
  • C++ 95.7%
  • CMake 2.3%
  • C 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-02-27 17:41:49 +01:00
docs Documentation BMI088 2023-03-17 13:56:58 +01:00
include Fix const and struct init. 2023-03-17 15:08:08 +01:00
launch Update readme. 2023-03-17 13:42:20 +01:00
lib Fix Bosch API. 2023-03-17 10:32:52 +01:00
rviz Added launch file and rviz config 2022-09-15 18:47:14 +02:00
src Update src/imu/bmi088.cpp 2024-02-09 11:41:24 +01:00
test Added crc checksum support for adis16448, reimplemented burst mode, Added getters and some small bugfixes in spi driver, Renamed test_adis16448_conversions.cc 2022-10-06 12:43:43 +02:00
.clang-format 100 character column. 2023-03-17 12:47:20 +01:00
.gitignore Updated .gitignore 2022-08-16 14:55:46 +02:00
.gitmodules Fix bosch API link 2023-03-17 12:19:35 +01:00
CMakeLists.txt Merge branch 'main' into feature/bmi088_spi_com 2023-03-14 22:27:37 +01:00
LICENSE Create LICENSE 2024-02-27 17:41:49 +01:00
package.xml Include lpp as catkin package instead of submodule 2023-03-13 12:35:42 +01:00
README.md Update README.md 2023-03-20 13:31:30 +01:00

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
  1. Source environment
$ source /opt/ros/noetic/setup.bash
$ source ~/catkin_ws/devel/setup.bash
  1. Launch node
$ roslaunch mav_imu imu_default.launch
  • Optionally run with rviz
$ roslaunch mav_imu imu_rviz.launch
  • Optionally run with imu_madgwick_filter
$ 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: