I’m working on a project where I have to read data from the autopilot in real time in raspberry pi using a python code. How can I send the RPi specific coordinates of current location in real time to store in a separate variable for later use (some calculations needed)? (serial connection between autopilot and RPi)
Even just sending a 1/0 to make it store these coordinates would be ok.
I am able to read data from autopilot using Dronekit-Python library, and I can look through this library too. But how do I “trigger” the RPi in real time to save a specific data, while only being interfaced with Mission Planner?