Should an event which modifies state call sim.forward()?
#289
-
|
Let's say I have two events (both on Currently, this doesn't work, and it fails in a really sneaky way: Writing the root state modifies What's the right way to handle this? Should Event A manually call This is likely to be a gotcha for other users coming from IsaacLab, as IsaacLab uses a "timestamp" field on its cached data to ensure that this kind of mismatch doesn't happen. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
cc @bd-aadubredu since you might run into this as well |
Beta Was this translation helpful? Give feedback.
-
|
For future readers, this was resolved in PR #297. The decided solution was:
|
Beta Was this translation helpful? Give feedback.
For future readers, this was resolved in PR #297.
The decided solution was: