ihmcrobotics / simulation-construction-set-2

Graphical user interface for visualizing control variables from either a server, a log file, or a simulation.
Apache License 2.0
13 stars 0 forks source link

Simulation odd behavior wrt rewinding after using simulateNow #159

Open SylvainBertrand opened 8 months ago

SylvainBertrand commented 8 months ago

Here's the original report of the issue:

Here's another quick bug I realized. Hopefully simple fix. If you use simulateNow(10.0) in the simulation and pause the simulation before it finishes the 10 seconds, then rewind the sim and click the simulate button again, it'll jump to the endpoint instead of starting the simulation from where you rewound to. It does this until you get to the 10 seconds. Then it'll let you rewind and simulate from a previous time. This is also true for simulateNow(), which means it'll never get to the end time, so you can never rewind.