Skip to content

Commit

Permalink
Setting up sitl on linux: Fix FlightGear example
Browse files Browse the repository at this point in the history
In order for `sim_vehicle.py` to send data to FlightGear, one has to set the `enable-fgview` flag.
  • Loading branch information
phuesler authored and peterbarker committed Jan 8, 2025
1 parent fac41df commit ec55afd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dev/source/docs/setting-up-sitl-on-linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,13 @@ The main steps (tested on Ubuntu Linux 14.04 LTS) are:

::

sim_vehicle.py -L KSFO
sim_vehicle.py -v ArduCopter -L KSFO --enable-fgview

If *FlightGear* is running on a different host, for instance if you are running Windows WSL, you can pass in the IP of the machine running *FlightGear*:

::

sim_vehicle.py -v ArduCopter -L KSFO --enable-fgview -A "--fg <ip address>"

.. note::

Expand Down

0 comments on commit ec55afd

Please sign in to comment.