Skip to content

Commit

Permalink
fixed namings in scope timer
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Mar 6, 2024
1 parent 222c551 commit b5b825d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mpc_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
Expand Down
2 changes: 1 addition & 1 deletion src/se3_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
Expand Down

0 comments on commit b5b825d

Please sign in to comment.