Closed vittorione94 closed 2 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it!
and we'll verify it.
ℹ️ Googlers: Go here for more info.
@googlebot I signed it!
Thanks for the contribution. What do the changes to C++, get_sim_state and pause/reset sim etc do? If they just store state, can it be done in Python? Did we expose keyboard events in Python?
Thanks for the reply :) you're totally right get_sim_state is just storing a state. I think it would be much neater done in Python, like checking if the key has been pressed instead of querying the window for the current state. However, I don't think keyboard events have been exposed in Python and I'm not sure what would be the best way of exposing them.
closing for now, will consider exposing better UI capabilities in a different way.
Python example that uses OpenGL visualizer. The example loads the Laikago model, simulate physics with gravity and collides with the floor.