Skip to content
Snippets Groups Projects
Commit 26e22509 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

iri_safe_cmd: restored ROS_FATAL_THROTLE(1,...)

parent e64865c6
No related branches found
No related tags found
No related merge requests found
......@@ -48,12 +48,12 @@ void SafeCmdAlgNode::mainNodeThread(void)
this->update_rear_laser_watchdog();
if(this->front_laser_watchdog_active())
{
ROS_FATAL("SafeCmdAlgNode::mainNodeThread: Front laser watchdog timeout!");
ROS_FATAL_THROTTLE(1,"SafeCmdAlgNode::mainNodeThread: Front laser watchdog timeout!");
Twist_msg_.linear.x = 0.0;
}
else if(this->rear_laser_watchdog_active())
{
ROS_FATAL("SafeCmdAlgNode::mainNodeThread: Rear laser watchdog timeout!");
ROS_FATAL_THROTTLE(1,"SafeCmdAlgNode::mainNodeThread: Rear laser watchdog timeout!");
Twist_msg_.linear.x = 0.0;
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment