-
Notifications
You must be signed in to change notification settings - Fork 247
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
Drone instance doesn't ignore messages from other destination sys_id #447
Comments
fixed in version_3.0.2 (but still needs #443 fixed) |
Won't this fix also filter out broadcast messages now? |
@seanmcleod Which messages are those? I assume you mean sys_id of 0. It's easy to add a condition for that but if there is no responsder in the drone object for a broadcast messages nothing changes. |
@billbonney Yes I'm referring to broadcast messages which use a sys_id of 0. When we first came across issue #443 I looked into the MavLink spec/docs to understand the valid ranges of sys_ids etc. and noticed the broadcast option. There may be no responders at the moment for broadcast messages but if someone decides to add code for a broadcast message in future they'll be confused when it doesn't make it through. |
@seanmcleod I have create an issue (enhancement) to add the broadcast responding feature to MAVLink drone object in Tower. With the changes above, Tower is closer to supporting multiple drones and ones with a sys_id > 127. Hope that helps 👍 |
This is related to #443 since when this is fixed you get the connection bar/mode control toggling between mavlink heartbeat message from system_id the than the drone instance related one. If you connect a second system, e.g sys_id 254 that could be a connected GCS the system becomes unusable.
These images show two frames as the control bar changes (probably has a different name but I am just getting familiar with the code)
The text was updated successfully, but these errors were encountered: