Disable GPS in Olympe/Sphinx

I am looking to disable the GPS in Olympe so that the drone operates based its other sensors. How would I go about doing this?

Hello,

With Parrot-Sphinx, you should be able to disable the GPS through the web interface of the simulator.

  1. When the simulator is running, open its web interface at http://localhost:9002/ in your browser.

  2. Drag and drop an “Inspector” widget in the content area : https://developer.parrot.com/docs/sphinx/_static/videos/web_inspector.mp4

  3. In the newly created “Inspector” widget browse to the “root/anafi4k/gps/gps/out_of_order” parameter and set it to “true”.

This should disable the simulated drone GPS entirely (from now on, no new NMEA GPS frames will be sent to the simulated drone).

You might want to do that before the drone get a chance to acquire a GPS fix. In order to do that, you must first start the simulator with a “paused” drone firmware, set the GPS out_of_order parameter to “true” and then start the drone firmware.
See the how-to-modify-runtime-parameters-before-firmware-startup section in the Parrot-Sphinx documentation.

Regards

Nicolas

1 Like

I did not know that this existed! This web interface is very useful, thanks!

1 Like