rohanpsingh / mujoco-python-viewer

Simple renderer for use with MuJoCo (>=2.1.2) Python Bindings.
BSD 2-Clause "Simplified" License
163 stars 24 forks source link

Feature: Extra Examples (outside a simple the viewer)? #4

Closed rohit-kumar-j closed 1 year ago

rohit-kumar-j commented 2 years ago

I'm currently working with masse, torques, etc, seeing this series. And was hoping to take the examples directory a bit further (Although I'm not sure how much of this is practical). By creating sort of a tutorial/example with a simple pendulum to obtain units of torque, tuning values of kp, kd, ki etc... A graphing of PID error like the profiler/sensor section of the simulate viewer which generates live graphs.

Perhaps a wiki with these:

Existing graphing: profiler_mujoco

rohanpsingh commented 2 years ago

Add Sensor Graphs

I understand that you want to add more features in the current viewer, but please note that there is an ongoing effort in the official mujoco github to create python bindings for simulate.cc: https://github.com/deepmind/mujoco/pull/201 Once that is merged, there would most probably be no need for mujoco-python-viewer :)

rohit-kumar-j commented 2 years ago

I did not see that. It would be nice to have the simulate viewer in python that is officially supported. Nevertheless, I intended to create a slightly different viewer than simulate(similar to gazebo's pid tuning) and mujoco-python-viewer gave a good starting point.

rohit-kumar-j commented 1 year ago

Added graph rendering for viewing, although UI elements for python are not supported in the mujoco yet #23