diff --git a/nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp b/nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp index fe2ba6eac..0a08dd93e 100644 --- a/nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp +++ b/nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp @@ -13,8 +13,6 @@ #include -#include - #include #include #include @@ -1432,10 +1430,9 @@ T HesaiHwInterface::CheckSizeAndParse(const std::vector & data) } if (data.size() > sizeof(T)) { - RCLCPP_WARN_STREAM_ONCE( - *parent_node_logger, "Sensor returned longer payload than expected for " - << abi::__cxa_demangle(typeid(T).name(), nullptr, nullptr, nullptr) - << ". Truncating and parsing anyway."); + RCLCPP_WARN_ONCE( + *parent_node_logger, + "Sensor returned longer payload than expected. Truncating and parsing anyway."); } T parsed;