mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551the file mavproxy.py opens up
python mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 127.0.0.1:14550 --out 127.0.0.1:14551
I have a question regarding the landing_target_encode() and the vehicle.connect() function and wasn't sure where else to post it.
I am using vehicle.message_factory.landing_target_encode() to send the message Landing_Target to a Pixhawk cube black running ArduCopter 4.0.3. The message contains x and y coordinants of an ArUco tag, used for conducting precision landing. When the tag and the drone are stationary (meaning x and y should be nonchanging), I have wildly changing x and y values. I'm wondering if this is due to corruption of the mavlink message before it reaches the Flight Controller. If needed, I'd be happy to provide flight logs.
The script is running on a Raspberry Pi 3b+ which is connect to the Flight Controller via UART. I am noticing when I run the Raspberry pi with a virtual flight controller (RPi connected to PC running SITL, Simulator in the Loop) that the Link from the RPi will go down every 10 seconds or so. I'm wondering if this may be an issues with the vehicle.connect() call... I've changed my python scripting to send a message 2x a second, so I'm not sure why I still am having the link drop out on SITL.
If anyone has any advice, I am all ears!
Thanks for your time.