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

autotest: make WaitAndMaintainEKFFlags progress nicer #27410

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

peterbarker
Copy link
Contributor

Adds a more detailed error string on failure:

AT-0004.8: want=831 got=167 errors=128
AT-0004.8: want=831 got=167 errors=128
AT-0004.9: want=831 got=167 errors=128
AT-0004.9: want=ATTITUDE|VELOCITY_HORIZ|VELOCITY_VERT|POS_HORIZ_REL|POS_HORIZ_ABS|POS_VERT_ABS|PRED_POS_HORIZ_REL|PRED_POS_HORIZ_ABS missing=POS_HORIZ_REL|POS_HORIZ_ABS|PRED_POS_HORIZ_REL|PRED_POS_HORIZ_ABS errors=CONST_POS_MODE

@peterbarker peterbarker merged commit 9d7c827 into ArduPilot:master Jun 28, 2024
61 checks passed
ret.append(str(bit))
return "|".join(ret)

def failure_text(self, now, current_value):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now ?

Yeah, just in case :-) It mirrors what we pass through to "progress_text", and can be compared against initial values IIRC.

@peterbarker peterbarker deleted the pr/ekf-error-bits branch June 28, 2024 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants