Robotics StackExchange | Archived questions

Don't have Publisher 'mavros/setpoint_position/local'

PX4 example show

ros::Publisher local_pos_pub = nh.advertise<geometry_msgs::PoseStamped> "mavros/setpoint_position/local", 10);

However, there is no corresponding Publisher Topics on ROS wiki. only Subscribed Topics.

Is it written for Pixhawk?

Asked by Oriens on 2019-09-24 09:27:06 UTC

Comments

Answers

This just means that the node subscribes to that topic waiting for messages (i.e., poses). You publish the messages (poses) on that topic.

Asked by jayess on 2019-09-24 13:48:40 UTC

Comments