Closed AgarwalSaurav closed 1 year ago
We have a UM7 sensor. The um7.launch file has a parameter that sets use_magnetic_field_msg to be true. Perhaps this is relevant.
<param name="use_magnetic_field_msg" type="bool" value="true"/>
https://github.com/husky/husky_robot/blob/noetic-devel/husky_bringup/launch/um7_config/um7.launch
Running
compute_calibration
results in the following error:MagneticField has the following structure as given by:
rosmsg show sensor_msgs/MagneticField
The issue is fixed by changing
msg.vector
tomsg.magnetic_field