Skip to content

Commit

Permalink
chore: fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: vividf <[email protected]>
  • Loading branch information
vividf committed Oct 18, 2024
1 parent b6c3c69 commit db3ab9a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,7 @@ void ExtrinsicReflectorBasedCalibrator::lidarCallback(
latest_radar_tracks_msgs_->tracks.clear();
} else if (msg_type_ == MsgType::radar_scan) {
if (!latest_radar_scan_msgs_ || latest_radar_scan_msgs_->returns.size() == 0) {
if (latest_radar_scan_msgs_->returns.size() == 0)
RCLCPP_INFO(this->get_logger(), "There were no radar scans");
RCLCPP_INFO(this->get_logger(), "There were no radar scans");
return;
}
pcl::PointCloud<common_types::PointType>::Ptr radar_pointcloud_ptr =
Expand Down

0 comments on commit db3ab9a

Please sign in to comment.