diff --git a/src/hw_api_manager.cpp b/src/hw_api_manager.cpp index e2ebe86..68bedaf 100644 --- a/src/hw_api_manager.cpp +++ b/src/hw_api_manager.cpp @@ -236,7 +236,8 @@ void HwApiManager::onInit() { sh_position_cmd_ = mrs_lib::SubscribeHandler(shopts, "position_cmd", &HwApiManager::callbackPositionCmd, this); - sh_tracker_cmd_ = mrs_lib::SubscribeHandler(shopts, "control_manager/tracker_cmd", &HwApiManager::callbackTrackerCmd, this); + sh_tracker_cmd_ = + mrs_lib::SubscribeHandler(shopts, "/" + _uav_name_ + "/control_manager/tracker_cmd", &HwApiManager::callbackTrackerCmd, this); // | ----------------------- publishers ----------------------- |