Skip to content

Commit 8fe08e8

Browse files
committed
fixing prints
1 parent b5b825d commit 8fe08e8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/mpc_controller.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ void MpcController::updateInactive(const mrs_msgs::UavState &uav_state, [[maybe_
548548

549549
MpcController::ControlOutput MpcController::updateActive(const mrs_msgs::UavState &uav_state, const mrs_msgs::TrackerCommand &tracker_command) {
550550

551-
mrs_lib::Routine profiler_routine = profiler_.createRoutine("update");
552-
mrs_lib::ScopeTimer timer = mrs_lib::ScopeTimer("MpcController::update", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
551+
mrs_lib::Routine profiler_routine = profiler_.createRoutine("updateActive");
552+
mrs_lib::ScopeTimer timer = mrs_lib::ScopeTimer("MpcController::updateActive", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
553553

554554
auto drs_params = mrs_lib::get_mutexed(mutex_drs_params_, drs_params_);
555555

@@ -1993,7 +1993,7 @@ void MpcController::timerGains(const ros::TimerEvent &event) {
19931993

19941994
mrs_lib::Routine profiler_routine = profiler_.createRoutine("timerGains", _gain_filtering_rate_, 1.0, event);
19951995
mrs_lib::ScopeTimer timer =
1996-
mrs_lib::ScopeTimer("MpcController::timerHwApiCapabilities", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
1996+
mrs_lib::ScopeTimer("MpcController::timerGains", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
19971997

19981998
auto drs_params = mrs_lib::get_mutexed(mutex_drs_params_, drs_params_);
19991999
auto gains = mrs_lib::get_mutexed(mutex_gains_, gains_);

src/se3_controller.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ void Se3Controller::updateInactive(const mrs_msgs::UavState& uav_state, [[maybe_
487487

488488
Se3Controller::ControlOutput Se3Controller::updateActive(const mrs_msgs::UavState& uav_state, const mrs_msgs::TrackerCommand& tracker_command) {
489489

490-
mrs_lib::Routine profiler_routine = profiler_.createRoutine("update");
491-
mrs_lib::ScopeTimer timer = mrs_lib::ScopeTimer("Se3Controller::update", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
490+
mrs_lib::Routine profiler_routine = profiler_.createRoutine("updateActive");
491+
mrs_lib::ScopeTimer timer = mrs_lib::ScopeTimer("Se3Controller::updateActive", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
492492

493493
auto drs_params = mrs_lib::get_mutexed(mutex_drs_params_, drs_params_);
494494

@@ -1696,7 +1696,7 @@ void Se3Controller::timerGains(const ros::TimerEvent& event) {
16961696

16971697
mrs_lib::Routine profiler_routine = profiler_.createRoutine("timerGains", _gain_filtering_rate_, 1.0, event);
16981698
mrs_lib::ScopeTimer timer =
1699-
mrs_lib::ScopeTimer("Se3Controller::timerHwApiCapabilities", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
1699+
mrs_lib::ScopeTimer("Se3Controller::timerGains", common_handlers_->scope_timer.logger, common_handlers_->scope_timer.enabled);
17001700

17011701
auto drs_params = mrs_lib::get_mutexed(mutex_drs_params_, drs_params_);
17021702
auto gains = mrs_lib::get_mutexed(mutex_gains_, gains_);

0 commit comments

Comments
 (0)