Wednesday, June 27, 2018

Starting Mavproxy

The Command

mavproxy.py --master=udp:127.0.0.1:14550 --out=udpout:192.168.0.100:14550 --out=udpout:127.0.0.1:14552 --out=udpout:127.0.0.1:14553


Notes

*I am pretty sure that this represents the default UDP ports that SITL uses if there is one quad in the simulation.  These numbers will change if you try to use more than one.

*For each quadcopter you want to control, you will need another Mavproxy with slightly different UDP ports.

*"--master" is the udp port that Mavproxy is listening to, and the "--out" port are where it sends that information to.  The first "--out" statement is reserved for a special purpose (I think it has something to do with the ip address being starting with 192 rather than the local machine's 127), so we use the second two "--out" statements when starting Dronekit-Python

No comments:

Post a Comment