robotlearn / pyrobolearn

PyRoboLearn: a Python framework for Robot Learning
Apache License 2.0
399 stars 62 forks source link

Issues with Mujoco installation script #13

Open lrozo opened 4 years ago

lrozo commented 4 years ago
  1. When running/using Mujoco, we need to first install patchelf: sudo apt install patchelf

  2. We also need to add these dependencies: pip install pymesh pyassimp

  3. When running examples where Mujoco is the simulator (from Pycharm), I got this error: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

bdelhaisse commented 4 years ago

Thanks.

lrozo commented 4 years ago

Some updates regarding point 3. above:

I still get the same error when using the Mujoco simulator (even if I try to run the code from the console). For example, for the example script gravity_compensation.py in the dynamics/control/ folder , I got:

Mass: 0.0 Lateral friction coefficient: 1.0 Local inertia diagonal: [0. 0. 0.] Local inertial position: [0. 0. 0.] Local inertial orientation (quat=[x,y,z,w]): [0. 0. 0. 1.] Restitution coefficient (bounciness): 0 Rolling friction coefficient: 0.0 Spinning friction coefficient: 0.0 Contact damping coefficient (-1 if not available): -1 Contact stiffness coefficient (-1 if not available): -1 Segmentation fault (core dumped)

Note that if I run the examples provided in mujoco-py, I do get them run successfully.