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

ecl-ekf log analysis tool: fix missing filter_fault_status and one-off index bug #9552

Conversation

JohannesBrand
Copy link
Contributor

@JohannesBrand JohannesBrand commented May 28, 2018

This pull-request fixes two bugs of the analyse_logdata_ekf.py script:

  • add filter_fault_status to the test_results dictionary in order to prevent a missing entry exception when the filter_fault check fails (very rare)
  • fix a couple of one-off index errors related to python's behavior of non-inclusive end indices

The index fix should only have minimal influence on the results, but is suggested for correctness.

@bkueng bkueng requested a review from priseborough May 29, 2018 06:16
@LorenzMeier
Copy link
Member

@JohannesBrand CI fails - please check.

Copy link
Member

@LorenzMeier LorenzMeier left a comment

Choose a reason for hiding this comment

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

CI build fails.

- analysed_logdata: add filter_fault_status check to test_results
dictionary to prevent a missing entry exception
- analyse_logdata: fix one-off errors of list indices due to python
non-inclusive end indices
@JohannesBrand JohannesBrand force-pushed the pr-tools-ecl-ekf-one-off-filter-fault-fix branch from c3f7fc4 to 4be8805 Compare May 29, 2018 08:00
@JohannesBrand
Copy link
Contributor Author

JohannesBrand commented May 29, 2018

@LorenzMeier thank you for reviewing. the CI fail war unrelated and the check passed after re-runnning it (thank you @bkueng).

@LorenzMeier LorenzMeier merged commit 1ee08da into PX4:master May 29, 2018
@JohannesBrand JohannesBrand deleted the pr-tools-ecl-ekf-one-off-filter-fault-fix branch May 30, 2018 07:26
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.

3 participants