diff --git a/real_robot/coordination_formation_control_pkg/src/drone_node.cpp b/real_robot/coordination_formation_control_pkg/src/drone_node.cpp index 68bc48d6c3ca0bc45d07caa634faecd96e700151..c6f64f9e8549c769261777120edec6963afef995 100644 --- a/real_robot/coordination_formation_control_pkg/src/drone_node.cpp +++ b/real_robot/coordination_formation_control_pkg/src/drone_node.cpp @@ -181,7 +181,7 @@ int main(int argc, char **argv) { /* publisher*/ std::stringstream ss; - ss << "/cf" << std::to_string(robotid) << "/cmd_hover"; + ss << "/cf" << std::to_string(robotid) << "/cmd_zdistance"; ros::Publisher vel_cmd_publisher = nh.advertise<crazyswarm::ZDistance>(ss.str(),1); std::stringstream ss_stop;