thormang3_imu_3dm_gx4 package from thormang3_mpc_sensors repo

thormang3_imu_3dm_gx4 thormang3_mpc_sensors

Package Summary

Tags No category tags.
Version 0.2.0
License Apache 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ROBOTIS-GIT/ROBOTIS-THORMANG-MPC-SENSORs.git
VCS Type git
VCS Version kinetic-devel
Last Updated 2018-03-28
Dev Status DEVELOPED
Released RELEASED

Package Description

Driver for Microstrain 3DM-GX4-25 IMU This package is modified by robotis. The original version is Kumar Robotics's imu_3dm_gx4 package.

Additional Links

Maintainers

  • Pyo

Authors

  • Gareth Cross
  • SCH

Notice

The thormang3_imu_3dm_gx4 package is a modified version of the imu_3dm_gx4 package (Apache License 2.0) for ROBOTIS Thormang3. The following document is the original README file for the existing imu_3dm_gx4 package. Please refer to the link below for details.

https://github.com/KumarRobotics/imu_3dm_gx4


imu_3dm_gx4

Picture of IMU

The imu_3dm_gx4 package provides support for the Lord Corporation Microstrain 3DM-GX4-25 series IMU. The package employs the MIP packet format, so it could conceivably be adapted to support other versions of Microstrain products with relatively little effort. At present, the 15 and 45 series AHRS systems are not supported.

This package works on Ubuntu 12.04 and 14.04.

Version History

  • 0.0.4:
    • Fixed issue where packets would be dropped if the header checksum was broken up into multiple packets.
    • Added verbose option.
  • 0.0.3:
    • Replaced decimation options with rate options. Decimation is automatically calculated.
    • Added a file for use with Kalibr.
    • Added a udev rule to configure permissions.
  • 0.0.2:
    • Units of acceleration are now m/s^2, in agreement with ROS convention.
    • Cleaned up code base, replaced error codes with exceptions.
    • Status can now be viewed from rqt_runtime_monitor.
    • Filter output is now in a single, custom message with covariances and important status flags.
    • Added option to enable/disable accelerometer update in the estimator.
    • Removed TF broadcast option.
    • Reformatted code base to clang-llvm convention.
  • 0.0.1:
    • First release.

Options

The imu_3dm_gx4 node supports the following base options: * device: Path to the device in /dev. Defaults to /dev/ttyACM0. * baudrate: Baudrate to employ with serial communication. Defaults to 115200. * frame_id: Frame to use in headers. * imu_rate: IMU rate to use, in Hz. Default is 100. * verbose: If true, packet reads and mismatched checksums will be logged.

The following additional options are present for leveraging the 3DM's onboard estimation filter: * enable_filter: If true, the IMU estimation filter is enabled. Default is false. * filter_rate: Filter rate to use, in Hz. Default is 100. * enable_mag_update: If true, the IMU will use the magnetometer to correct the heading angle estimate. Default is false. * enable_accel_update: If true, the IMU will use the accelerometer to correct the roll/pitch angle estimates. Default is true.

In order to launch the node (streaming IMU data at 100Hz), execute:

$ roslaunch imu_3dm_gx4 imu.launch

Note on rate parameters:

The _rate options command the requested frequency by calculating a 'decimation value', which is defined by the relation:

  frequency = base_frequency / decimation

Where the base frequency is 1kHz for the GX4. Since decimation values are integers, certain frequencies cannot be expressed by the above relation. 800Hz, for example, cannot be specified by an integer decimation rate. In these cases, you will receive whichever frequency is obtained by rounding decimation down to the nearest integer. Hence, requesting 800Hz will produce 1kHz.

Output

On launch, the node will configure the IMU according to the parameters and then enable streaming node. At least three topics are published:

  • /imu_3dm_gx4/imu: An instance of sensor_msgs/Imu. Orientation quaternion not provided in this message since is already part of the filter message.
  • /imu_3dm_gx4/magnetic_field: An instance of sensor_msgs/MagneticField.
  • /imu_3dm_gx4/pressure: An instance of sensor_msgs/FluidPressure.

All of the above topics are published with synchronized timestamps.

Additional topics will be published if enable_filter is true:

  • /imu_3dm_gx4/filter: An instance of imu_3dm_gx4/FilterOuput. Custom message indicating all the onboard filter outputs.

Known Issues

  • Even when the enable_mag_update option is set to false (and the device acknowledges the setting with a positive ACK), the quat_status field is received as 3. This has not been fully debugged yet.

Specifications

We provide YAML file to work with Kalibr, which can be found in the calib folder.

FAQs

  1. What data rates can I use? The driver supports up to 1000Hz for IMU data, and up to 500Hz for filter data. For high data rates, it is recommended that you use a baudrate of 921600.

  2. The driver can't open my device, even though the path is specified correctly - what gives?? Make sure you have ownership of the device in /dev, or are part of the dialout group.

CHANGELOG

Changelog for package thormang3_imu_3dm_gx4

0.2.0 (2018-03-28)

  • added meta package for thormang3_mpc_sensors
  • added imu package for thormang3
  • moved header file
  • refactoring to release
  • Contributors: SCH, Pyo

0.1.3 (2017-05-23)

  • updated cmake file for ros install
  • Contributors: SCH

0.1.2 (2017-04-24)

  • none

0.1.1 (2016-08-19)

  • fixed minor bug
  • package name changed: imu_3dm_gx4 -> thormang3_imu_3dm_gx4
  • Contributors: Jay Song

0.1.0 (2016-08-18)

  • modified package information for release
  • modified the original sources (imu_3dm_gx4)
  • Contributors: Jay Song, Zerom, Pyo

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

  • launch/imu.launch
      • output [default: screen]
      • imu [default: imu]
      • device [default: /dev/ttyACM0]
      • verbose [default: false]
      • frame_id [default: imu_link]
      • baudrate [default: 921600]
      • imu_rate [default: 250]
      • filter_rate [default: 250]
      • enable_filter [default: true]
      • enable_accel_update [default: true]
      • enable_mag_update [default: false]

Services

No service files found

Plugins

No plugins found.

Recent questions tagged thormang3_imu_3dm_gx4 at answers.ros.org