asv-soft / asv-drones

Open source implementation of ground control station application for ArduPilot and PX4 autopilot
MIT License
91 stars 14 forks source link

Can we connect multiple vehicles using different datagram ports? #354

Closed Ghazanfar373 closed 3 weeks ago

Ghazanfar373 commented 1 month ago

Hi, I really impressed by your ongoing progress on this repo . I just want to know can we connect multiple vehicles using different UDP ports?

asvol commented 1 month ago

Hi, thanks for your feedback! Yes, you can indeed add multiple ports of various types, including serial ports, TCP, and UDP. The key is to ensure that each vehicle has a unique SYS/COM_ID and to avoid creating circular references, as there’s currently no protection against that. I only had access to Arducopter’s SITL, so the screenshot shows TCP ports. However, you can add UDP ports in the same way.

image

image

Ghazanfar373 commented 3 weeks ago

Thank you for your precise and helpful response 👍