Open lrozo opened 4 years ago
Thanks.
patchelf
in the script.pymesh
is not used anymore in PRL. Only pyassimp
and trimesh
are used, they are specified in the requirements.txt
(and were added in the following commit: 4eaa1135970b23d3b9439d0309c1d5f0e16412a1).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.
When running/using Mujoco, we need to first install patchelf:
sudo apt install patchelf
We also need to add these dependencies:
pip install pymesh pyassimp
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)