-
Notifications
You must be signed in to change notification settings - Fork 480
Multi-Vehicle Simulation with jmavsim #585
Comments
@bkueng This is a new technique for me - we need to document it as it is much easier than alternatives like http://dev.px4.io/en/simulation/multi-vehicle-simulation.html FYI, this froze for me in very latest master at
|
Exactly, it's the easiest way to run multiple vehicles. The drawback is that you also have multiple simulators.
Right, Cygwin Windows is broken on master, I think after PX4/PX4-Autopilot#10173.
Gazebo should work too, but as you can see from the ROS setup, the vehicle model files (with the right parameters, such as position and ports) need to be generated. Should be doable with a script as well, but I have not looked into that.
No reason, it's just quite new. |
Thank you. It is excellent. I hope to give it a go either tomorrow or in coming weeks and create a doc. |
Add the new multi-vehicle JMAVSim solution.
Possibly make this one a "parent": Multi-Vehicle Simulation · PX4 Developer Guide.
The info reproduced from here:
Multiple jMAVSim vehicles (with latest master):
Build PX4
Start multiple instances
Then start the first instance:
Start subsequent instances, specifying the UDP port (expected to be 14560+i for i in [0, N-1]
To have two drones connect on the same port, do this change:
The text was updated successfully, but these errors were encountered: