diff --git a/src/radio_ctrl/src/radio_ctrl.cpp b/src/radio_ctrl/src/radio_ctrl.cpp index 88d0419..7b1f012 100644 --- a/src/radio_ctrl/src/radio_ctrl.cpp +++ b/src/radio_ctrl/src/radio_ctrl.cpp @@ -157,20 +157,23 @@ private: pub_->publish(msg); RCLCPP_INFO_STREAM(this->get_logger(), "Publishing ControlMsg:" - << "\n brake: " << static_cast(msg.brake) - << "\n gear: " << static_cast(msg.gear) - << "\n rpm: " << msg.rpm - << "\n angle: " << msg.angle - << "\n angle_speed: " << msg.angle_speed - << "\n edge_brush_lift: " << msg.edge_brush_lift - << "\n vacuum: " << msg.sweep_ctrl - << "\n spray: " << msg.spray - << "\n mud_flap: " << msg.mud_flap - << "\n dust_shake: " << msg.dust_shake - << "\n left_light: " << msg.left_light - << "\n right_light: " << msg.right_light - << "\n brake_light: " << msg.brake_light - << "\n headlight: " << msg.headlight); + << "\n brake: " << static_cast(msg.brake) // uint8 + << "\n gear: " << static_cast(msg.gear) // uint8 + << "\n rpm: " << static_cast(msg.rpm) // uint8 + << "\n ehb_enable: " << static_cast(msg.ehb_anable) // bool + << "\n ehb_brake_pressure: " << static_cast(msg.ehb_brake_pressure) // uint8 + << "\n angle: " << msg.angle // float32 + << "\n angle_speed: " << msg.angle_speed // uint16 + << "\n edge_brush_lift: " << static_cast(msg.edge_brush_lift) // bool + << "\n sweep_ctrl: " << static_cast(msg.sweep_ctrl) // bool + << "\n spray: " << static_cast(msg.spray) // bool + << "\n mud_flap: " << static_cast(msg.mud_flap) // bool + << "\n dust_shake: " << static_cast(msg.dust_shake) // bool + << "\n left_light: " << static_cast(msg.left_light) // bool + << "\n right_light: " << static_cast(msg.right_light) // bool + << "\n brake_light: " << static_cast(msg.brake_light) // bool + << "\n headlight: " << static_cast(msg.headlight) // bool + ); } else {