Skip to content
A ROS driver for the TrackIMU headtracker IMU. This board consists of 3 sensors: magnetic, gyro and acceleration sensor.
Python
Branch: master
Clone or download
Pull request Compare This branch is 7 commits ahead of KristofRobot:indigo-devel.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config updated for dashing Aug 4, 2019
launch
ros2_track_imu frame id as parameter Aug 11, 2019
.gitignore small fixes for ros2 install Mar 24, 2019
CHANGELOG.rst CHANGELOG: updating for release Jan 20, 2018
LICENSE
README.md fixed readme Mar 24, 2019
package.xml small fixes for ros2 install Mar 24, 2019
setup.cfg ros2 Mar 23, 2019
setup.py

README.md

ROS2 TrackIMU Node

Ros2 Node for TrackIMU

Installation

Source your ROS2 workspace and run

colcon build

Usage

ros2 run ros2_track_imu imu_node

Configure

In its default configuration, ros2_track_imu expects a yaml config file ros2_track_imu.yaml with:

  • USB port to use
  • Calibration parameters

An exampleros2_track_imu.yaml file is provided. Copy that file to ros2_track_imu.yaml as follows:

Then, edit ros2_track_imu.yaml as needed

Ros2 Launch

Not implemented yet.

Publisher and 3D visualization:

$ ros2 launch ros2_track_imu track-imu-pub-and-display.py

Publisher only:

$ ros2 launch ros2_track_imu track-imu-pub.py

Publisher only with diagnostics:

$ ros2 launch ros2_track_imu track-imu-pub-diags.py

3D visualization only:

$ ros2 launch ros2_track_imu track-imu-display.py

Calibrate

For best accuracy, follow the tutorial to calibrate the sensors:

http://wiki.ros.org/razor_imu_9dof

An updated version of Peter Bartz's magnetometer calibration scripts from https://github.com/ptrbrtz/razor-9dof-ahrs is provided in the magnetometer_calibration directory.

Update my_razor.yaml with the new calibration parameters.

You can’t perform that action at this time.