Skip to content

Commit

Permalink
GainManger: fixed prints
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Feb 10, 2024
1 parent 5abdf8e commit dd7c2da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gain_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,12 +547,12 @@ void GainManager::timerDiagnostics(const ros::TimerEvent& event) {
mrs_lib::ScopeTimer timer = mrs_lib::ScopeTimer("GainManager::timerDiagnostics", scope_timer_logger_, scope_timer_enabled_);

if (!sh_estimation_diag_.hasMsg()) {
ROS_WARN_THROTTLE(10.0, "[GainManager]: can not do constraint management, missing estimator diagnostics!");
ROS_WARN_THROTTLE(10.0, "[GainManager]: can not do gain management, missing estimator diagnostics!");
return;
}

if (!sh_control_manager_diag_.hasMsg()) {
ROS_WARN_THROTTLE(10.0, "[GainManager]: can not do constraint management, missing control manager diagnostics!");
ROS_WARN_THROTTLE(10.0, "[GainManager]: can not do gain management, missing control manager diagnostics!");
return;
}

Expand Down

0 comments on commit dd7c2da

Please sign in to comment.