Questions tagged [mujoco]
54 questions
0
votes
0 answers
import mujoco_py is giving me compiling errors
I have run all the steps from https://gist.github.com/saratrajput/60b1310fe9d9df664f9983b38b50d5da to install mujoco (I had an error saying libglew1.5 is not available or does not exist so I installed other versions of libglew (such as libglew-dev,…
0
votes
0 answers
Running a robosuite python script gives error 'cl.exe failed with exit code 1'
I have installed robosuite for mujoco on Windows through the PyCharm package manager. Whenever I try to run a test script, I get the error:
"distutils.errors.CompileError: command 'C:\Program Files (x86)\Microsoft Visual…

AmigoMango
- 1
- 1
0
votes
0 answers
mujoco: Could not find GCC executable
I want to run pip3 install -U 'mujoco-py<1.50.2,>=1.50.1' on macOS but it returns
File "/private/var/folders/1t/t0dzx5fn3jn1r9lqx_2j3m9m0000gn/T/pip-install-i8wi8lki/mujoco-py_48d744c3b7c64c6abb74252cb291ab88/mujoco_py/builder.py", line 320, in…

sandboxj
- 1,234
- 3
- 21
- 47
0
votes
1 answer
How should I solve QH6154 qhull precision error?
I am trying to use mujoco compile on 3D object with obj files. When I run the script I get following error. Please let me know if you have any insights.
QH6154 qhull precision error: initial facet 1 is coplanar with the interior point
ERRONEOUS…

Anmol Gupta
- 103
- 3
0
votes
0 answers
How can i update Mujoco visualization in a GLFWWindow with callbacks?
I want to use mujoco with the visualization with GLFW.
On mujoco i found the visualization example.
In this example you build a mujoco model and show it in glfw. To move around with the camera in the simulations you need callback functions like here…

K.Haag
- 1
- 1
0
votes
0 answers
Robosuite - Building Your Own Environment
robosuite: A Modular Simulation Framework and Benchmark for Robot Learning. I am trying to build my own environment in the robosuite/docs/quickstart.md #BYOE. I have followed the steps in order and when I print the model, I get the message:…

xJU4Nx
- 1
- 1
0
votes
0 answers
`joblib` doesn't save object properties?
I have an object (more specifically, a Mujoco environment) that I'm trying to dump with joblib. However, it seems like whenever I try and reload this object, the object is missing certain property values. For…

Victor M
- 603
- 4
- 22
0
votes
2 answers
OpenAI-Gym Mojoco Walker2d-v4 model global cordinates error
I get the error
ValueError: XML Error: global coordinates no longer supported. To convert existing models, load and save them in MuJoCo 2.3.3 or older
When i try to load the walker2d-v4 model even with **kwargs.
env = gym.make(
'Walker2d-v4',
…

SKrish
- 43
- 6
0
votes
0 answers
Weld mocap body to point of other body mujoco
I am trying to weld a mocap body to the tip of a finger in mujoco. I am using the following code:

Tob
- 985
- 1
- 10
- 26
0
votes
0 answers
Hide and Seek Environment for MARL
I am trying/want to train a Hide and seek environment in MARL. But all the existing MARL-Model-Codes (for example MARLlib, VACL, mujoco-worlgen-environment,...) don't have the environment yet, don't really run yet (pretty new), don't really run for…

Char
- 1
- 1
0
votes
0 answers
Why URDF-related error raises when loading XML mujoco file in pybullet?
I'm trying to import xml file in pybullet which has no problem on loading in mujoco.
Error message is that
b3Printf: b3Warning[examples/SharedMemory/PhysicsServerCommandProcessor.cpp,3584]:
b3Printf: URDF file with multiple root links found
Even…

peterkim
- 1
0
votes
1 answer
Mujoco sim.step() function is not showing new observations
I have this code in python which works.
sim.reset()
sim.step()
print(sim.data.qpos)
print(sim.data.get_body_xpos("EE"))
print()
sim.data.ctrl[:] =…

Patrick Adjei
- 115
- 3
- 12
0
votes
0 answers
Mujoco-py Error: cannot find -lGL: No such file or directory
I am new to linux (I am running Ubuntu 22.04.2 LTS) and I am trying to get mujoco-py to work. I have installed mujoco200 and I am attempting to install mujoco-py-2.0.2. I am following this guide:…

Daniel Rodriguez
- 43
- 1
- 7
0
votes
1 answer
Contact Force Calculation for Simulation Engine
In the simulation physics engine, it is necessary to calculate the reaction of two objects after they collide. As far as I know, there are two methods of calculating contact force: impulse method and penalty force.
Most mainstream engines use pulse…

ZYC
- 23
- 5
0
votes
1 answer
Resetting Mujoco Environments to a given state
Aim :
For a mujoco environment (I'm using Metaworld) for example - "Sweep-into", I want to do this :
Reset Environment :
Take some actions ...
sim_state = Save the current state
Take some actions ...
env.seed(0)
env.reset()
env.step()…

Mudit Verma
- 374
- 2
- 6