You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Mujoco_viewer for my onscreen and offline rendering. I need to add custom overlays to the rendering. So I disabled default overlays by setting "hide_menus='True'" as
Doubt-1) Whether the locations of the functions "create_overlay(model, data)" and "_overlay.clear()" in the above simulation and rendering code are correct ?
Doubt-2) In add overlay items as given in step-2, what is 'viewport' and 'context' ?
Doubt-3) Is there any better method than the one mentioned here ?
Can you please help me with the same ?
Thanks
Karthik R
The text was updated successfully, but these errors were encountered:
Hi,
I am using Mujoco_viewer for my onscreen and offline rendering. I need to add custom overlays to the rendering. So I disabled default overlays by setting "hide_menus='True'" as
viewer = mujoco_viewer.MujocoViewer(model, data, hide_menus='True')
Then custom overlays were created in my main file as given below
From the MuJoCo literature, the steps are mentioned as
The simulation code is given as
Doubt-1) Whether the locations of the functions "create_overlay(model, data)" and "_overlay.clear()" in the above simulation and rendering code are correct ?
Doubt-2) In add overlay items as given in step-2, what is 'viewport' and 'context' ?
Doubt-3) Is there any better method than the one mentioned here ?
Can you please help me with the same ?
Thanks
Karthik R
The text was updated successfully, but these errors were encountered: