eanswer / TactileSimulation

[CoRL 2022] Efficient Tactile Simulation with Differentiability for Robotic Manipulation
https://people.csail.mit.edu/jiex/papers/TactileSim/index.html
63 stars 4 forks source link

Render only current step #1

Closed carlosferrazza closed 1 year ago

carlosferrazza commented 1 year ago

Is there a way to only render the current step of the environment, say after env.step(u) is called? Most of the examples in the repo seem to use the replay method, which is only called at the end of an episode. Thanks!

eanswer commented 1 year ago

Unfortunately it only supports replay mode for now. But it should be possible to add the step-wise rendering feature in the C++ visualizer. This is mainly because currently the renderer and the simulation share the same thread, so the simulation will get blocked if rendering window is open.