Ardupilot’s SITL: Simulation of ADS-B enabled aircraft

How can I show live ADS-B Traffic in QGroundControl by using:

sim_vehicle.py -v ArduCopter -A “–uartC uart:$SERIAL_DEVICE:57600”

Is it working with vagrant ?
Does QGroundControl show ADB-B traffic ?

there is a parameter to turn on virtual ADSB aircraft,

SIM_ADSB_COUNT

Thank you very much! @iampete

I set the parameter to 0.

Unfortunately the traffic will not be shown yet. Is there another possibility?

you need to set it to the number of ADSB aircraft you want, sorry I should have explained that originally

Thank you so much! @iampete

The problem is that as soon as i change the parameter i get the following error message:

Connect tcp:127.0.0.1:5760 source_system=255
Loaded module console
Loaded module map
Running script (C:\Users\spfir\AppData\Local\MAVProxy\mavinit.scr)
Loaded module help
Unknown command ‘graph timespan 30’
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from tcp:127.0.0.1:5760
MAV> Traceback (most recent call last):
File “MAVProxy\mavproxy.py”, line 50, in
File “site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py”, line 43, in _freeze_support
File “multiprocessing\spawn.py”, line 100, in spawn_main
File “multiprocessing\reduction.py”, line 86, in steal_handle
PermissionError: [WinError 5] Zugriff verweigert
[23416] Failed to execute script mavproxy

Did you have similar problems?

is your mavproxy up to date?

you can launch with --no-mavproxy and connect using mission planner