The title pretty much describes the problem: the option, statistic, or visual attributes of MjSpec are inaccessible because of the following error:
python -c "import mujoco; mujoco.MjSpec().visual"
TypeError: Unregistered type : mjVisual_
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: Unable to convert function return value to a Python type! The signature was
(arg0: mujoco._specs.MjSpec) -> mjVisual_
Steps for reproduction
Add the following to specs_test.py and run the test:
Intro
Hi!
I use MuJoCo for robotic manipulation.
My setup
MuJoCo:
API: Python
OS:
What's happening? What did you expect?
The title pretty much describes the problem: the
option
,statistic
, orvisual
attributes ofMjSpec
are inaccessible because of the following error:Steps for reproduction
Add the following to specs_test.py and run the test:
Minimal model for reproduction
See above.
Code required for reproduction
See above.
Confirmations