File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,12 @@ class OdometryPlugin : public plugin::Plugin
9999 rclcpp::Publisher<nav_msgs::msg::Odometry>::SharedPtr odom_pub;
100100 rclcpp::Subscription<nav_msgs::msg::Odometry>::SharedPtr odom_sub;
101101
102- std::string fcu_odom_parent_id_des; // !< desired orientation of the fcu odometry message's parent frame
103- std::string fcu_odom_child_id_des; // !< desired orientation of the fcu odometry message's child frame
104- std::string fcu_map_id_des; // !< desired orientation of the fcu map frame
102+ // !< desired orientation of the fcu odometry message's parent frame
103+ std::string fcu_odom_parent_id_des;
104+ // !< desired orientation of the fcu odometry message's child frame
105+ std::string fcu_odom_child_id_des;
106+ // !< desired orientation of the fcu map frame
107+ std::string fcu_map_id_des;
105108
106109 /* *
107110 * @brief Lookup static transform with error handling
Original file line number Diff line number Diff line change @@ -170,15 +170,16 @@ class OpenDroneIDPlugin : public plugin::Plugin
170170 return 0 ;
171171 }
172172
173- // ! A variant of mavlink::set_string_z, but for uint8_t, because of broken convention on ODID messages
173+ /* * A variant of mavlink::set_string_z, but for uint8_t,
174+ * because of broken convention on ODID messages
175+ */
174176 template <size_t _N>
175177 void set_string_z (std::array<uint8_t , _N> & a, const std::string & s)
176178 {
177179 uint8_t * datap = a.data ();
178180 strncpy (static_cast <char *>(static_cast <void *>(datap)), s.c_str (), a.size () - 1 );
179181 a[a.size () - 1 ] = ' \0 ' ;
180182 }
181-
182183};
183184} // namespace extra_plugins
184185} // namespace mavros
You can’t perform that action at this time.
0 commit comments