I want to send a serial data to the arducopter telem2 port through mavproxy which is connected to copter through usb. I configured the telem2 port by mavproxy commands module load serial, serial set port telem2 and serial send "my string", everything goes fine and i am able to see data in the telem2 port also.
But i want to send the data to the copter from a python script instead of sending from the mavproxy console.I written a python script for udp communication with same port in which mavproxy out port specified. Can someone assist me?
Replies
The best way would be to create a MAVProxy module, based on the serial module (https://github.com/ArduPilot/MAVProxy/blob/master/MAVProxy/modules/...).