Version 2.1.2 (incl. Python bindings) #185
Replies: 3 comments 6 replies
-
Thanks a lot for releasing the python bindings 🎉 I’ve been using mujoco-py but now want to migrate to mujoco. However, I’ve been unable to render the scene, even after following the instructions here. |
Beta Was this translation helpful? Give feedback.
-
Is there a plan to write more detailed documentations for the python bindings? |
Beta Was this translation helpful? Give feedback.
-
I tried (unsuccessfully) running the aarch64 v 2.1.2 on raspberry pi. I have libglfw3-dev installed. On running make in the sample folder, I get /usr/bin/ld:../lib/libmujoco_nogl.so: file format not recognized; treating as a linker script; and /usr/bin/ld:../lib/libmujoco_nogl.s0:2:syntax error. I tried to search for similar errors on the web with no luck. Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
New modules
pip install mujoco
, and imported asimport mujoco
.introspect
module, which provides reflection-like capability for MuJoCo's public API, currently describing functions and enums. While implemented in Python, this module is expected to be generally useful for automatic code generation targeting multiple languages. (This is not shipped as part of themujoco
Python bindings package.)API changes
mjtNum
floating point type into a new header mjtnum.h.mujoco_export.h
to mjexport.h.mj_printFormattedData
, which accepts a format string for floating point numbers, for example to increase precision.General
framepos
,framequat
,framexaxis
,frameyaxis
,framezaxis
,framelinvel
, andframeangvel
sensors. The frame-of-reference is specified by newreftype
andrefname
attributes.nuser_body
,nuser_jnt
, etc.) now accept a value of -1, which is the default. This will automatically set the value to the length of the maximum associateduser
attribute defined in the model.user
attribute defined in the model will lead to an error (previously additional values were ignored).mjvScene
from 8 to 100.mjVIS_STATIC
visualisation flag . After this change, both the geom group and the visualisation flag need to be enabled for the geom to be rendered.mjtNum quat[4]
rather thanmjtNum* quat
. From the perspective of C and C++, this is a non-change since array types in function signatures decay to pointer types. However, it allows autogenerated code to be aware of expected input shapes.<geom fluidshape="ellipsoid"/>
. The parameters are described succinctly here, but we leave a full description or the model and its parameters to when this feature leaves experimental status.Bug Fixes
mj_loadXML
andmj_saveLastXML
are now locale-independent. The Unity plugin should now work correctly for users whose system locales use commas as decimal separators.mjrContext
when skins are used.Binary build
This discussion was created from the release 2.1.2.
Beta Was this translation helpful? Give feedback.
All reactions