Skip to content

romainreignier/rtimulib_ros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • calibration_file_path: (Mandatory) used to dynamically find the package config directory. Does not need to be modified.
  • calibration_file_path: (Optional) used to use a different calibration file name than RTIMULib.ini. Do not include the .ini extension.
  • frame_id: (Optional) used to change the default imu_link frame.

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