Questions tagged [mujoco]

54 questions
0
votes
0 answers

Failed to create GLFW Window while trying to run Mujoco (UBUNTU)

So, I am trying to install, and run Mujoco-py on my ubuntu. Everything went well but, I cant install the libglew1.5. I searche for it in the Ubuntu Package Archives, but no luck. Then I skipped that part, but when im trying to run the example its…
0
votes
0 answers

Clang error when trying to compile mujoco-py

I am trying to run a program using the mujoco-py library. When I launch the program, a compilation error appears at the line import mujoco_py: distutils.errors.CompileError: command '/usr/local/opt/llvm/bin/clang' failed with exit status 1 Here is…
0
votes
1 answer

MuJoCo build errors on Windows 10

Running Windows 10 Python 3.10, trying to run the OpenAI Gym humanoid example: humanoid.py Suspect something to do with Cython and C compiler. PS C:\mayhem\gym\gym\envs\mujoco> python…
jmcmahon443
  • 202
  • 2
  • 14
0
votes
1 answer

MuJoCo. What is the difference between pos, qpos, and xpos?

Can someone give a simple explanation of the difference between these in MuJoCo? These often come together.
Melanol
  • 43
  • 5
0
votes
1 answer

Invoking "make -j1 -l1" failed mushr mujoco simulation

Error I've been trying to start the MuSHR simulation that uses mujoco to work. I'm having issues with it working as whenever I try to create a catkin workspace, they give the "invoking 'make -j1 -l1' failed" error. What is really confusing is that…
0
votes
1 answer

I've installed a library into my /usr/local directory. I would now like to include this directory into my CMakeLists.txt. How do I do this?

I have installed a library onto my system and I would now like to import this library to build with cmake in my CMakeLists.txt file but I'm not able to import it. I get errors that the library can't be found when I run cmake .. The library was…
Ant
  • 933
  • 2
  • 17
  • 33
0
votes
0 answers

How can I include an external library in my CMakeLists.txt that does NOT contain a Config.cmake file?

I'm using a CMakeLists.txt to build for my C++ file I want to include the external library MuJoCo but the MuJoCo repo has no mujoco-config.cmake, or mujocoConfig.cmake file. Is there another way to include it? There is a cmake folder in the repo,…
Ant
  • 933
  • 2
  • 17
  • 33
0
votes
1 answer

I can't modify xml files from mujoco py

I want to make my custom mujoco gym env, but since it is hard, I deleted the xml script of hopper.xml and replace with the code I write. So if I do ''' env = gym.make("Hopper-v4") env.render() ''' I thought I could see the xml file I write. But…
Hobbit
  • 1
0
votes
1 answer

Why can't I run this xml file on meshlab?

I'm studying xml for mujoco, and I made my own xml file using stl.
Hobbit
  • 1
0
votes
1 answer

What is the best way to make mujoco environment of my own?

I want to make a 3D model of reaction-wheel(https://github.com/simplefoc/Arduino-FOC-reaction-wheel-inverted-pendulum), using mujoco. And then I'll use reinforcement learning in mujoco environment to keep its balance. Is it possible to build a env…
Hobbit
  • 1
0
votes
0 answers

LD_LIBRARY_PATH is concatenated to itself

I am trying to use the library envpool to parallelize OpenAI gym environments. I run the simplest example provide by envpool, which looks as follows: env = envpool.make('HalfCheetah-v3', env_type='gym', num_envs=100) obs = env.reset() act -…
Schach21
  • 412
  • 4
  • 21
0
votes
1 answer

Is there a convenient way to dynamically create constraints between two bodies in MuJoCo?

I am trying to use MuJoCo to create a modular robotics framework to study learning of reconfiguration and locomotion. In order to do this, I need to model connection and disconnection by dynamically creating constraints between two modules during…
aurelien_morel
  • 444
  • 3
  • 14
0
votes
1 answer

Error:ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

I wanted to call the function : emptymatrix=np.zeros((sim.data.nv,sim.data.nv)) mjp.cymj._mj_fullM(model, emptymatrix, sim.data.qM) in mujoco so that I can Convert sparse inertia matrix M into full matrix so that I can calclulate the torque but I…
ayman
  • 1
0
votes
2 answers

MUJOCO_PY:Computed torque control for kuka iiwa14 robot

I'm new with mujoco_py.I already installed it successfully on linux and I have the URDF file of the robot(kukaiiwa14) but I don't know how can I manipulate the joints.For example I want to know the commands of how can I apply a force on a joint . I…
ayman
  • 1
0
votes
1 answer

MuJoCo via mujoco-py interface FetchReach-v1 scenario robotic action delay

Dear MuJoCo community, in last few days I was working with a simple FetchReach-v1 scenario in open-ai gym MuJoCo environment. I was trying to apply the MPC (Model Predictive Control) to this scenario which basically generates new trajectory points…
mazy
  • 652
  • 1
  • 10
  • 18