Mavros fake_gps not publishing to hil/gps

I am planning to use a vision positioning system in place of GPS. I edited the px4_config.yaml file to disable use_mocap and set use_vision to true. I published to mavros/fake_gps/vision using
rostopic pub -r 10 mavros/fake_gps/vision geometry_msgs/PoseStamped ā€˜{header: {stamp: now, frame_id: }, pose: {position: {x: 1.0, y: 2.0, z: 10.0}, orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0}}}ā€™
which gives the following output:

However, when I run rostopic echo mavros/hil/gps, nothing is published. May I know what else I have to do? Thank you!

1 Like

Did you findout how to use fake_gps with hil/gps?
Iā€™d appreciate any help in this