From 7a7e981cc803c75ad9beed3621ea38f910323f6f Mon Sep 17 00:00:00 2001 From: amc-nu Date: Wed, 27 Dec 2023 18:49:57 +0900 Subject: [PATCH] hesai_w. fix spellcheck Signed-off-by: amc-nu --- .../hesai_hw_interface.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 23eb14a1b..9b353132d 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 @@ -3012,11 +3012,11 @@ HesaiStatus HesaiHwInterface::CheckAndSetConfig( PrintInfo("Trying to set Clock source to PTP"); SetClockSource(HESAI_LIDAR_PTP_CLOCK_SOURCE); } - std::ostringstream tmp_ostr; - tmp_ostr << "Trying to set PTP Config: " << sensor_configuration->ptp_profile - << ", Domain: " << std::to_string(sensor_configuration->ptp_domain) - << ", Transport: " << sensor_configuration->ptp_transport_type << " via TCP"; - PrintInfo(tmp_ostr.str()); + std::ostringstream tmp_ostringstream; + tmp_ostringstream << "Trying to set PTP Config: " << sensor_configuration->ptp_profile + << ", Domain: " << std::to_string(sensor_configuration->ptp_domain) + << ", Transport: " << sensor_configuration->ptp_transport_type << " via TCP"; + PrintInfo(tmp_ostringstream.str()); SetPtpConfig(static_cast(sensor_configuration->ptp_profile), sensor_configuration->ptp_domain, static_cast(sensor_configuration->ptp_transport_type), @@ -3032,11 +3032,11 @@ HesaiStatus HesaiHwInterface::CheckAndSetConfig( PrintInfo("Trying to set SyncAngle via HTTP"); SetSyncAngleSyncHttp(1, static_cast(sensor_configuration->scan_phase)); - std::ostringstream tmp_ostr; - tmp_ostr << "Trying to set PTP Config: " << sensor_configuration->ptp_profile + std::ostringstream tmp_ostringstream; + tmp_ostringstream << "Trying to set PTP Config: " << sensor_configuration->ptp_profile << ", Domain: " << sensor_configuration->ptp_domain << ", Transport: " << sensor_configuration->ptp_transport_type << " via HTTP"; - PrintInfo(tmp_ostr.str()); + PrintInfo(tmp_ostringstream.str()); SetPtpConfigSyncHttp(static_cast(sensor_configuration->ptp_profile), sensor_configuration->ptp_domain, static_cast(sensor_configuration->ptp_transport_type),