Disable GPS in HITL

Hi All,

Is there a way to disable and enable GPS in HITL? Perhaps in gazebo or a PX4 parameter to ignore inputs?

Thanks,
Luke

Hi

Yes there is a parameter: MAV_USEHILGPS

Hi bkueng,

Thanks for your reply. I did try setting MAV_USEHILGPS to disabled. However it looks like that parameter is used to parse HIL GPS messages when not in HIL mode.

Thanks,
Luke