From 48970e29ed84b299ac42b4e43cbf51b40b3a5216 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sun, 29 Oct 2023 21:45:36 +0100 Subject: [PATCH] muted errors --- src/se3_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/se3_controller.cpp b/src/se3_controller.cpp index 7a56fd3..85d6857 100644 --- a/src/se3_controller.cpp +++ b/src/se3_controller.cpp @@ -1221,7 +1221,7 @@ void Se3Controller::SE3Controller(const mrs_msgs::UavState& uav_state, const mrs Rd = mrs_lib::AttitudeConverter(Rd).setHeading(tracker_command.heading); } catch (...) { - ROS_ERROR("[Se3Controller]: could not set the desired heading"); + ROS_ERROR_THROTTLE(1.0, "[Se3Controller]: could not set the desired heading"); } } @@ -1232,7 +1232,7 @@ void Se3Controller::SE3Controller(const mrs_msgs::UavState& uav_state, const mrs if (tracker_command.use_heading) { bxd << cos(tracker_command.heading), sin(tracker_command.heading), 0; } else { - ROS_ERROR_THROTTLE(1.0, "[Se3Controller]: desired heading was not specified, using current heading instead!"); + ROS_WARN_THROTTLE(10.0, "[Se3Controller]: desired heading was not specified, using current heading instead!"); bxd << cos(uav_heading), sin(uav_heading), 0; }