File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class MagCalStatusPlugin : public plugin::Plugin
106106 auto mcr = mavros_msgs::msg::MagnetometerReporter ();
107107 mcr.header .stamp = node->now ();
108108 mcr.header .frame_id = std::to_string (mr.compass_id );
109-
109+
110110 mcr.report = mr.cal_status ;
111111 mcr.confidence = mr.orientation_confidence ;
112112 mcr.compass_id = mr.compass_id ;
@@ -127,9 +127,9 @@ class MagCalStatusPlugin : public plugin::Plugin
127127 mcr.old_orientation = mr.old_orientation ;
128128 mcr.new_orientation = mr.new_orientation ;
129129 mcr.scale_factor = mr.scale_factor ;
130-
131- mcr_pub->publish (mcr);
132- calibration_show[mr.compass_id ] = false ;
130+
131+ mcr_pub->publish (mcr);
132+ calibration_show[mr.compass_id ] = false ;
133133 }
134134 }
135135};
You can’t perform that action at this time.
0 commit comments