How to Get the Gps Messages by RTPS
Modify the file
PX4-Autopilot\msg\tool\surtps_bridge_topics.yaml
Insert.
1 | - msg: vehicle_global_position |
Then rebuild the Autopilot.
Modify the file
1 | px4_ros_com/templates/urtps_bridge_topics.yaml |
Insert.
1 | - msg: VehicleGlobalPosition |
Then rebuild the px4_ros_com.
Finally, run the micrortps_agent.
The topic named ‘/fmu/vehicle_global_position/out’ was created.