Hi,
I have a pixhawk 4 with its companion computer (Raspberry 3 +). I need to get the drone location and put in a code to do some stuff so:
-
I would like to know if it is possible to connect my drone to a python script (the script will get the drone location only) and using rc command to guide my drone at the same time??
-
My second question is if there is a way to get the drone location without starting a python script like: pi@raspberry: $ python simple_goto.py β connect /dev/ttyAM0 ?
Because as I am connected to my pixhawk via Raspberry, the dev/ttyAM0 port is occupied by the command mavproxy.py --master=/dev/ttyAMA0 --baudrate 921600 --aircraft MyCopter
So I donβt know what option is better to get the drone location
Thank you for your help guys