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

New equation crashes SessionVisualizer #133

Open
jerryepratt opened this issue Jan 16, 2024 · 2 comments
Open

New equation crashes SessionVisualizer #133

jerryepratt opened this issue Jan 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jerryepratt
Copy link

If you create an equation and plot the variable. Then close the SessionVisualizer. Then reload the data, it crashes.

@jerryepratt
Copy link
Author

Here is a YoEquation.scs2.yoEquation that give a problem:

`



a

false

0.0
1.0



a = b + c

`Here's the exception that gets thrown:

java.lang.RuntimeException: Failed to build the equation: a = b + c, missing inputs: [b, c]
at us.ihmc.scs2.symbolic.Equation.checkBuildStatus(Equation.java:184)
at us.ihmc.scs2.symbolic.Equation.reset(Equation.java:169)
at us.ihmc.scs2.symbolic.YoEquationManager.reset(YoEquationManager.java:167)
at us.ihmc.scs2.session.Session.initializeRunTick(Session.java:1696)
at us.ihmc.scs2.session.Session.runTick(Session.java:1645)
at us.ihmc.scs2.session.Session$PeriodicTaskWrapper.singleExecuteAndSleep(Session.java:2669)
at us.ihmc.scs2.session.Session$PeriodicTaskWrapper.run(Session.java:2653)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

If I delete the yoEquation file, then things work again.

@jerryepratt
Copy link
Author

image

@SylvainBertrand SylvainBertrand self-assigned this Jan 18, 2024
@SylvainBertrand SylvainBertrand added the bug Something isn't working label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants