romainreignier / rtimulib_ros

A small package to use the RTIMULib in ROS
31 stars 41 forks source link
i2c imu ros rtimulib

rtimulib_ros

A simple package to use the nice RTIMULib (unfortunately , now unmaintained) from RichardsTech in ROS.

The RTIMULib needs to be installed. It can be found here : https://github.com/RTIMULib/RTIMULib

Topic

The fused orientation data are published on the imu topic.

Calibration

The calibration needs to be performed by the RTIMULibCal utility provided by the library. In case of a several devices configuration, RTIMULibCal can be launched with an argument to change the name of the calibration file.

For example:

$ RTIMULibCal toto

Will produce the toto.ini file in the current directory.

Then, the file calibration file .ini needs to be placed in the config directory of the package.

If the calibration file has a custom name, it must be specified with the calibration_file_name parameter (without the .ini extension).

Launch

The node has to be launched with the rtimulib_ros.launch in order to load the calibration file.

$ roslaunch rtimulib_ros rtimulib_ros.launch

Parameters

Visualization

The data from the IMU can be seen via the 3D visualization node from the razor_imu_9dof package. But this package subscribe to the /imu topic so the topic_name parameter of the must be set to /imu.

Install it :

$ sudo apt-get install ros-kinetic-razor-imu-9dof

Launch the visualization node :

$ roslaunch razor_imu_9dofs razor-display.launch