Hi here, i was searching for a way to use my GCS like so: execute a python program with some cool futures and send the commands via a mavlink to the drone to execute them.
For example : i wrote a prog to control the drone with keyboard keys; to connect to the drone and connect my script i use these commands :
screen -dm mavproxy.py --master /dev/ttyUSB0 --out=127.0.0.1:14550 --out=127.0.0.1:5762
(ttyUSB0 is the telemetry module on GCS)
/usr/bin/python pythonscript.py --connect 127.0.0.1:5762
On SITL everything works like i want but on the steel it’s another story
IRL the connection works, drone initialisation and some prints works = the drone broadcast with my terminal on GCS.
But the program stuck on the arm_and_takeoff() ; he can not arm lol
So like a see everybody launch their scripts from a SSH session or on booth, I wonder if it is even possible
thanks for reading guys xD