From ec55afd283d8d2a7848b6c13148e100a622d6e72 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 7 Jan 2025 19:50:22 +0100 Subject: [PATCH] Setting up sitl on linux: Fix FlightGear example In order for `sim_vehicle.py` to send data to FlightGear, one has to set the `enable-fgview` flag. --- dev/source/docs/setting-up-sitl-on-linux.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev/source/docs/setting-up-sitl-on-linux.rst b/dev/source/docs/setting-up-sitl-on-linux.rst index dcabcdd022..2fbdafd595 100644 --- a/dev/source/docs/setting-up-sitl-on-linux.rst +++ b/dev/source/docs/setting-up-sitl-on-linux.rst @@ -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 " .. note::