jeskesen / i2c_imu

ROS node for communicating with several models of commercially available IMUs over I2C in linux.
GNU General Public License v3.0
52 stars 44 forks source link

Use MagneticField message instead of just vector3 #4

Closed cyborg-x1 closed 9 years ago

cyborg-x1 commented 9 years ago

I change the magnetics output to MagneticField message from sensor_msgs. I guess it should be more suitable to fit other already existing tools ... if there are any.

jeskesen commented 9 years ago

Thanks. This is something I was going to get to... eventually. I really only use magnetic field for to see if I'm getting magnetic interference (from motors)... and for that, vector3 works just fine. You're right though, since there's a msg specifically for magnetic field, we should use it.