Hi all,
I want to setup a full SITL environment remote controller by a RPI running DroneAPI.
I have
1/ Raspberry PI running Dronekit over Mavproxy.py. This is loaded and working. Though I did not use any argument for launching Mavproxy for time being... The Raspberry is LAN Connected at 192.168.1.18 as mean of example
2/ a WIndows PC running SITL over/with Mavproxy using the sim_vehicle.sh script. This is loaded and working. PC is LAN connected at 192.168.1.4. I can command the drone with mavproxy command such as arm, ..etc... this is working but locally. On the PC, command "output" shows me 2 ports opened locally
127.0.0.1:14550 and
127.0.0.1:14551
Objective : I want to connect the RPI to the SITL so that
a) I can retrieve all the simulated drone info (GPS, Altitude...)
b) I can use the droneapi to run python scripts that will drive the simulator
At this stage I tried a bit everything I could following docs... but all failed. I tried as well running the SITL directly without Mavproxy on the PC and trying to establish cnx to RPI.. failed. I know the RPI Mavproxy can use --out command ? but directing to the PC I got cnx refused... Any guidance appreciated... I'm so close ... ;)
Thanks !