Skip to content

Commit

Permalink
fix: spell fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
  • Loading branch information
knzo25 committed Mar 6, 2024
1 parent 3df4fb5 commit eca4ccd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -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 =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>(object.position_reference, 8);
const double & yaw = object.orientation;
track_msg.position.x = object.position.x +
Expand Down

0 comments on commit eca4ccd

Please sign in to comment.