Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I connect multiple drones? #219

Open
fanfans1 opened this issue Nov 3, 2022 · 4 comments
Open

How do I connect multiple drones? #219

fanfans1 opened this issue Nov 3, 2022 · 4 comments

Comments

@fanfans1
Copy link

fanfans1 commented Nov 3, 2022

How do you get information about nearby drones before you connect them? Is it obtained through UDP broadcast? The data obtained by UDP cannot be parsed. mavlink is required to parse the data. Procedure How do multiple drones connect? Do I instantiate multiple mavsdk.startServer(systemAddress: "udp://:14550 ") methods?

@JonasVautherin
Copy link
Collaborator

You need to run one MAVSDK instance per drone. So you cannot have them all broadcast on udp://:14550 (instead they should broadcast on different ports).

Does that make sense?

@fanfans1
Copy link
Author

fanfans1 commented Nov 3, 2022 via email

@fanfans1
Copy link
Author

fanfans1 commented Nov 3, 2022 via email

@JonasVautherin
Copy link
Collaborator

No, not in Swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants