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

Don't allow the adaptive step integrator to use steps that are too long #3785

Merged
merged 7 commits into from
Oct 28, 2023

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Oct 27, 2023

If the step would go over period / 3 we reduce drastically the tolerance-to-error ratio to force the integrator to generate denser points. This ensures that the unwinding algorithm never sees a jump bigger than period / 2, and that M is always increasing.

Fix #3569.

@pleroy pleroy added the verified The fix has been verified in game. label Oct 27, 2023
@eggrobin eggrobin added the LGTM label Oct 28, 2023
@pleroy pleroy merged commit 2c97e7e into mockingbirdnest:master Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM verified The fix has been verified in game.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weird negative offset in flight plan
2 participants