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

Enable slower-than-realtime drift setups to achieve full accuracy in SITL #7716

Merged
merged 8 commits into from
Aug 1, 2017

Conversation

LorenzMeier
Copy link
Member

@dagar @priseborough @bresch @Stifael @MaEtUgR @Tumbili I wanted to do this forever but only now got around to it: We had already a lockstep interface that would pause the simulation if the simulator paused, however, we did not have the ability to deal with constant drift (simulator running constantly at a slower rate). This fixes the simulation engine to properly deal with this and makes the whole simulation environment a lot easier to use.

@LorenzMeier LorenzMeier merged commit 587f4d8 into master Aug 1, 2017
@LorenzMeier LorenzMeier deleted the pr-sitl-fixes branch August 1, 2017 17:50
@priseborough
Copy link
Contributor

I've tested this on gazebo and jmavsim and the ekf2 performance has improved. I did notice when running on gazebo that the GPS data appears to have a 200msec arrival jitter which is not reflected in the time stamp which is evidenced as speed dependant noise on the position innovations and the timestamp field in vehicle_gps_position being regular. Here's a plot of the EKF's GPS position innovation and vehicle velocity*0.2

screen shot 2017-08-02 at 7 56 25 am

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