Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 627f6bb

Browse files
committedFeb 6, 2024·
hotfix(multi_object_tracker): throttle EKF update warning message
1 parent bd4b5ca commit 627f6bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎perception/multi_object_tracker/src/tracker/model/bicycle_tracker.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ bool BicycleTracker::measureWithPose(
378378

379379
// ekf update
380380
if (!ekf_.update(Y, C, R)) {
381-
RCLCPP_WARN(logger_, "Cannot update");
381+
rclcpp::Clock clock{RCL_ROS_TIME};
382+
RCLCPP_WARN_THROTTLE(logger_, clock, 1000, "Cannot update");
382383
}
383384

384385
// normalize yaw and limit vel, slip

0 commit comments

Comments
 (0)
Please sign in to comment.