From 5cfc0d1cf913eeebf45cf3f8197693339ecf16a7 Mon Sep 17 00:00:00 2001 From: Stevedan Ogochukwu Omodolor <stevedan.o.omodolor@gmail.com> Date: Sun, 29 May 2022 20:23:59 +0200 Subject: [PATCH] changed topi --- .../coordination_formation_control_pkg/src/drone_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 68bc48d..c6f64f9 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; -- GitLab