From 775d3e61d01214c9546ed759330de25c3c7b6ec0 Mon Sep 17 00:00:00 2001 From: Toshiki Nakamura Date: Tue, 24 Dec 2024 11:34:00 +0900 Subject: [PATCH] Add warning --- src/motion_decision.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/motion_decision.cpp b/src/motion_decision.cpp index 42f4510..d73862f 100644 --- a/src/motion_decision.cpp +++ b/src/motion_decision.cpp @@ -127,6 +127,7 @@ void MotionDecision::joy_callback(const sensor_msgs::JoyConstPtr &msg) params_.allowable_num_of_not_received_local_path < counters_.not_received_local_path) { cmd_vel_ = geometry_msgs::Twist(); + ROS_WARN_THROTTLE(1.0, "Local path cmd vel has not been updated"); } if (msg->buttons[11] && msg->buttons[12])