"1. On VSM config.
Add two lines to vsm-ardupilot.conf:
vehicle.ardupilot.tcp.2.address = 127.0.0.1
vehicle.ardupilot.tcp.2.tcp_port = 5762
If you are running the simulator on other host or virtual machine then substitute the 127.0.0.1 with the ip of…"
"I have actually given them different system ids. I will still have a look.
Is there a way to simulate the drones only in jmavsim?
All I want to do is, test a follow functionality. So one drone is the target and the next one follows…"
I've seen this before: When you command 2 drones of the same MAVLink SID to fly to different directions the GCS cannot distinguish their packets, so they are mixed and perceived as a single drone, of which flight path looks like…"
I could simulate two drones using distinct MAV ids, but the problem I'm facing is that the drones are not responding to missions well. They seem to be flying everywhere and then crashing. This happens only when I simulate two drones.
"Thanks a lot for the answer. I still have 2 problems
1. I found the VSM config interface in main menu, add localhost:14550, and reboot my computer, but the SITL vehicle on localhost:14550 still won't show up. (see my screenshot)