diff --git a/nebula_common/include/nebula_common/hesai/hesai_common.hpp b/nebula_common/include/nebula_common/hesai/hesai_common.hpp index a81e1768..4c30d551 100644 --- a/nebula_common/include/nebula_common/hesai/hesai_common.hpp +++ b/nebula_common/include/nebula_common/hesai/hesai_common.hpp @@ -73,7 +73,7 @@ inline std::ostream & operator<<(std::ostream & os, HesaiSensorConfiguration con os << "PTP Domain: " << std::to_string(arg.ptp_domain) << '\n'; os << "PTP Transport Type: " << arg.ptp_transport_type << '\n'; os << "PTP Switch Type: " << arg.ptp_switch_type << '\n'; - os << "PTP Lock Threshold: " << arg.ptp_lock_threshold; + os << "PTP Lock Threshold: " << std::to_string(arg.ptp_lock_threshold); return os; }