Skip to content

Potential multiple DiscreteUpdates being called #346

@yangwill

Description

@yangwill

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions