Skip to content

Output unit of magnetic field #13

@versatran01

Description

@versatran01

ROS MagneticField message defines its output in Tesla.
http://docs.ros.org/jade/api/sensor_msgs/html/msg/MagneticField.html
3dm-gx4 measures magnetic filed in Gauss and the driver outputs is thus in Gauss
http://www.microstrain.com/inertial/3dm-gx4-25

The conversion between tesla and gauss is 1 Tesla = 10000 Gauss
This inconsistency is not very well documented and thus may cause confusion.

We could

  1. fix the output to Tesla, thus the output will typically range from 0 to 0.00005 Tesla, which is numerically unfavorable.
  2. keep using gauss, which contradicts with the ros definition, but we could document it in readme. Output will range from 0 to 0.5 Gauss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions