I have two instances of MAVProxy SITL set by calling sim_vehicle.sh -I0 --out 127.0.0.1:14552 and sim_vehicle.sh -I1 --out 127.0.0.1:14553. I'm trying to connect to each of these instances with two python scripts, calling python formation.py --connect 127.0.0.1:14552 and formation-left.py --connect 127.0.0.1:14553. They have their respective waypoint mission files, but when I call vehicle.command.upload(), both vehicles are given the mission waypoint command. How can I get around this? Please help!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity