Skip to content

Commit

Permalink
fixed tracker command remap
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Jul 9, 2024
1 parent 9e0fe3d commit 58df23d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hw_api_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ void HwApiManager::onInit() {

sh_position_cmd_ = mrs_lib::SubscribeHandler<mrs_msgs::HwApiPositionCmd>(shopts, "position_cmd", &HwApiManager::callbackPositionCmd, this);

sh_tracker_cmd_ = mrs_lib::SubscribeHandler<mrs_msgs::TrackerCommand>(shopts, "control_manager/tracker_cmd", &HwApiManager::callbackTrackerCmd, this);
sh_tracker_cmd_ =
mrs_lib::SubscribeHandler<mrs_msgs::TrackerCommand>(shopts, "/" + _uav_name_ + "/control_manager/tracker_cmd", &HwApiManager::callbackTrackerCmd, this);

// | ----------------------- publishers ----------------------- |

Expand Down

0 comments on commit 58df23d

Please sign in to comment.