From eca4ccd1c7f0b14da3f3780626daf827d51c02dc Mon Sep 17 00:00:00 2001 From: Kenzo Lobos-Tsunekawa Date: Wed, 6 Mar 2024 19:44:12 +0900 Subject: [PATCH] fix: spell fixes Signed-off-by: Kenzo Lobos-Tsunekawa --- .../decoders/continental_ars548_decoder.cpp | 4 ++-- .../continental/continental_ars548_decoder_ros_wrapper.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nebula_decoders/src/nebula_decoders_continental/decoders/continental_ars548_decoder.cpp b/nebula_decoders/src/nebula_decoders_continental/decoders/continental_ars548_decoder.cpp index 73f01d247..d1a8cff34 100644 --- a/nebula_decoders/src/nebula_decoders_continental/decoders/continental_ars548_decoder.cpp +++ b/nebula_decoders/src/nebula_decoders_continental/decoders/continental_ars548_decoder.cpp @@ -145,7 +145,7 @@ bool ContinentalARS548Decoder::ParseDetectionsListPacket( const uint32_t number_of_detections = detection_list.number_of_detections.value(); msg.detections.resize(number_of_detections); - // Estimate dropped detections only when the radar is synchronzied + // Estimate dropped detections only when the radar is synchronized if (radar_status_.timestamp_sync_status == "SYNC_OK") { if (radar_status_.detection_first_stamp == 0) { radar_status_.detection_first_stamp = @@ -254,7 +254,7 @@ bool ContinentalARS548Decoder::ParseObjectsListPacket( msg.objects.resize(number_of_objects); - // Estimate dropped objects only when the radar is synchronzied + // Estimate dropped objects only when the radar is synchronized if (radar_status_.timestamp_sync_status == "SYNC_OK") { if (radar_status_.object_first_stamp == 0) { radar_status_.object_first_stamp = diff --git a/nebula_ros/src/continental/continental_ars548_decoder_ros_wrapper.cpp b/nebula_ros/src/continental/continental_ars548_decoder_ros_wrapper.cpp index 6218896f7..7bafde451 100644 --- a/nebula_ros/src/continental/continental_ars548_decoder_ros_wrapper.cpp +++ b/nebula_ros/src/continental/continental_ars548_decoder_ros_wrapper.cpp @@ -604,8 +604,8 @@ radar_msgs::msg::RadarTracks ContinentalARS548DriverRosWrapper::ConvertToRadarTr const double half_length = 0.5 * object.shape_length_edge_mean; const double half_width = 0.5 * object.shape_width_edge_mean; - // There are 9 possible reference points. In the case of an invalid refence point, we fall back - // to the center + // There are 9 possible reference points. In the case of an invalid reference point, we fall + // back to the center const int reference_index = std::min(object.position_reference, 8); const double & yaw = object.orientation; track_msg.position.x = object.position.x +