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-tools: fix a bug related to time index calculation #9489

Merged
merged 1 commit into from
May 19, 2018

Conversation

JohannesBrand
Copy link
Contributor

@JohannesBrand JohannesBrand commented May 19, 2018

This pull request fixes a bug related to start and end time calculation.

the start and end index calculations are currently incorrect:

  • start_index is always at 0
  • end_index is shifted incorrectly by the ground time at the end
  • the same reasoning applies to late_start_index, early_end_index, and the innov_ indices

- fix start and end time indices calculation
@dagar
Copy link
Member

dagar commented May 19, 2018

FYI we're running this script on the SITL mission tests. Output is saved to artifacts. http://ci.px4.io:8080/blue/organizations/jenkins/Firmware/detail/PR-9489/1/artifacts

@dagar dagar merged commit eb6086c into PX4:master May 19, 2018
@JohannesBrand
Copy link
Contributor Author

ok, interesting. While the plots should stay the same the test results in mdat.csv will be quite affected by the fix.

@dagar
Copy link
Member

dagar commented May 20, 2018

I was planning to eventually have the tests actually validate the contents of mdat.csv.

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.

2 participants