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

mavlink: change mavlink output destination #6

Closed

Conversation

chobitsfan
Copy link

@chobitsfan chobitsfan commented Aug 17, 2018

maybe related to #3

It allows user to add MAVLINK_DST_IP and MAVLINK_DST_PORT in WIFI.TXT to change mavlink output destination

In a swarm setup, drones are config to WiFi station mode, drones and GCS are connected to the same WiFi AP. If all drones broadcast mavlink to the same port 14550. It will create lots of traffic and each drone will spend unnecessary time to parse every packet (drone listen on 14550, so each drone will listen all broadcast packets from other drone). It may cause drone miss packets from GCS.

User can add MAVLINK_DST_IP and MAVLINK_DST_PORT in WIFI.TXT to specific output destination. Default value (broadcast to 14550) will be used if not specified.

For example, PC running GCS is act as WiFi AP (192.168.1.1). drones can be config to send mavlink to 192.168.1.1 on different port. It makes swarm setup easier.

Test flight video is here
2 skyviper v2450, one output to GCS_IP:14550, another output to GCS_IP:14551. Two mavproxy is acted as GCS on the same PC

@chobitsfan chobitsfan changed the title mavlink: custom mavlink output destination mavlink: change mavlink output destination Aug 17, 2018
@chobitsfan chobitsfan closed this May 8, 2019
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

Successfully merging this pull request may close these issues.

1 participant