-
Notifications
You must be signed in to change notification settings - Fork 16.8k
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
Drop attempts to set MIS_TOTAL parameter #11482
Drop attempts to set MIS_TOTAL parameter #11482
Conversation
We discussed this at a devcall. There are more elaborate solutions which would fix the problem more nicely, but this works in the short term. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not thrilled about the solution, as this is messy from a GCS side as there isn't an ACK and it just looks like packet loss from the protocol.
On Mon, 3 Jun 2019, WickedShell wrote:
I'm not thrilled about the solution, as this is messy from a GCS side as there isn't an ACK and it just looks like packet loss from the protocol.
Yep, I realised this when writing it.
OTOH, if we drop a parameter in ArduPilot you'd get the same effect, so
GCSs must already cope with this in a not-too-bad fashion.
|
92ae0c1
to
bc269a9
Compare
This has been modified to notify the GCS that we accepted their set - but instantly send the current value. This is so we don't break the expected parameter state machine.
|
better to use a flag bit in param table |
bc269a9
to
bfe6568
Compare
Reworked to use a new parameter bit indicting a parameter is for internal use only. |
bfe6568
to
96068d2
Compare
.... so am I going back to the string-matching thing on this one? |
96068d2
to
5173197
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One improvement we should have in the future is allowing the top parameters to have flags too.
5173197
to
4755eef
Compare
Closes ArduPilot#11413 GCS_MAVLink: conform to parameter protocol requirements while ignoring sets GCS_MAVLink: use internal-use-only param bit
4755eef
to
fc17a6e
Compare
Points have been addressed - thanks!
@tridge @WickedShell As discussed/requested on the DevCall, I've fixed this up based on @OXINARF 's review - should be good to go now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #11413