ros-drivers / microstrain_3dmgx2_imu

A driver for IMUs compatible the microstrain 3DM-GX2 and 3DM-GX3 protoco
GNU Lesser General Public License v2.1
16 stars 29 forks source link

How to extract Magnetic data independently? #9

Open WilliamWoo45 opened 5 years ago

WilliamWoo45 commented 5 years ago

Hi All!

Recently I'm using 3DM-GX3-25 IMU on the Husky robot and got the rostopic /imu/data. However, what I need is only the Magnetic data measured by the IMU.

I checked on my Husky robot and found that it used the driver microstrain_3dmgx2_imu. Then I checked the ros-drivers and it seems that gyroscope data, accelerometer data and magnetic data are fused and output together as /imu/data.

So I'm wondering is there any way to modify the driver to only extract the Magnetic data (output as a rostopic like /imu/magnetic)? Any advice or hint is appreciated.

Thanks! @chadrockey @mmwise @kwc @gerkey

Sumyer commented 4 years ago

@NTUwilliam hi, I also use 3DM-GX3-25 on the Husky for cartographer. This is my email: sumyerr@gmail.com I hope to communicate with you. Thanks!