diff options
Diffstat (limited to 'src/platforms/ros/nodes/demo_offboard_position_setpoints/demo_offboard_position_setpoints.cpp')
-rw-r--r-- | src/platforms/ros/nodes/demo_offboard_position_setpoints/demo_offboard_position_setpoints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/ros/nodes/demo_offboard_position_setpoints/demo_offboard_position_setpoints.cpp b/src/platforms/ros/nodes/demo_offboard_position_setpoints/demo_offboard_position_setpoints.cpp index 125ceaddc..8a626f255 100644 --- a/src/platforms/ros/nodes/demo_offboard_position_setpoints/demo_offboard_position_setpoints.cpp +++ b/src/platforms/ros/nodes/demo_offboard_position_setpoints/demo_offboard_position_setpoints.cpp @@ -46,7 +46,7 @@ DemoOffboardPositionSetpoints::DemoOffboardPositionSetpoints() : _n(), - _local_position_sp_pub(_n.advertise<geometry_msgs::PoseStamped>("mavros/setpoint/local_position", 1)) + _local_position_sp_pub(_n.advertise<geometry_msgs::PoseStamped>("mavros/setpoint_position/local", 1)) { } |