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

Potential multiple DiscreteUpdates being called #346

Open
yangwill opened this issue Apr 6, 2023 · 0 comments
Open

Potential multiple DiscreteUpdates being called #346

yangwill opened this issue Apr 6, 2023 · 0 comments
Assignees

Comments

@yangwill
Copy link
Contributor

yangwill commented Apr 6, 2023

As noted in #345, using DeclarePerStepDiscreteUpdateEvent can potentially cause the discrete update events to be called multiple times per AdvanceTo, which can cause unintended behavior.

Making this issue to inform/remind you to consider switching to DeclareForcedDiscreteUpdateEvent in your leaf systems to ensure it's only being called once per lcmdrivenloop.

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

No branches or pull requests

3 participants