From b5b825d6b4eb993775566b5707c52fe26d135e8c Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Wed, 6 Mar 2024 12:49:39 +0100 Subject: [PATCH] fixed namings in scope timer --- src/mpc_controller.cpp | 2 +- src/se3_controller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpc_controller.cpp b/src/mpc_controller.cpp index 1d6b5a1..50a1899 100644 --- a/src/mpc_controller.cpp +++ b/src/mpc_controller.cpp @@ -1993,7 +1993,7 @@ void MpcController::timerGains(const ros::TimerEvent &event) { mrs_lib::Routine profiler_routine = profiler_.createRoutine("timerGains", _gain_filtering_rate_, 1.0, event); mrs_lib::ScopeTimer timer = - mrs_lib::ScopeTimer("ControlManager::timerHwApiCapabilities", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled); + mrs_lib::ScopeTimer("MpcController::timerHwApiCapabilities", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled); auto drs_params = mrs_lib::get_mutexed(mutex_drs_params_, drs_params_); auto gains = mrs_lib::get_mutexed(mutex_gains_, gains_); diff --git a/src/se3_controller.cpp b/src/se3_controller.cpp index f65903e..5d79594 100644 --- a/src/se3_controller.cpp +++ b/src/se3_controller.cpp @@ -1696,7 +1696,7 @@ void Se3Controller::timerGains(const ros::TimerEvent& event) { mrs_lib::Routine profiler_routine = profiler_.createRoutine("timerGains", _gain_filtering_rate_, 1.0, event); mrs_lib::ScopeTimer timer = - mrs_lib::ScopeTimer("ControlManager::timerHwApiCapabilities", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled); + mrs_lib::ScopeTimer("Se3Controller::timerHwApiCapabilities", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled); auto drs_params = mrs_lib::get_mutexed(mutex_drs_params_, drs_params_); auto gains = mrs_lib::get_mutexed(mutex_gains_, gains_);