Version 2.1.1 #92
Replies: 3 comments 6 replies
-
It's not clear how to compile and execute the new releases. I am looking at 2.1.1 here: https://github.com/deepmind/mujoco/releases I checked the "getting started" in the documentation here: https://mujoco.readthedocs.io/en/latest/programming.html?highlight=getting%20started#getting-started I am familiar with mujoco200 downloaded from roboti.us using the linux as well as the mac libraries, but can't seem to make the switch to 2.1.1 |
Beta Was this translation helpful? Give feedback.
-
Are there any updates on the python binaries that were announced to be released? |
Beta Was this translation helpful? Give feedback.
-
Probably not worth mentioning but the Parallel axis theorem link is broken. Just thought I'd let you know |
Beta Was this translation helpful? Give feedback.
-
API changes
Added
mj_printFormattedModel
, which accepts a format string for floating point numbers, for example to increase precision.Added
mj_versionString
, which returns human-readable string that represents the version of the MuJoCo binary.Converted leading underscores to trailing underscores in private instances of API struct definitions, to conform to reserved identifier directive, see C standard: Section 7.1.3.
This is a minor breaking change. Code which references private instances will break. To fix, replace leading underscores with trailing underscores, e.g.
struct _mjModel
becomesstruct mjModel_
.General
strcat
,strcpy
, andsprintf
withstrncat
,strncpy
, andsnprintf
respectively.Bug Fixes
Fixed reading from uninitialized memory in PGS solver.
Computed capsule inertias are now exact. Until this change, capsule masses and inertias computed by the
compiler
'sinertiafromgeom
mechanism were approximated by a cylinder, formed by the capsule's cylindrical middle section, extended on both ends by half the capsule radius. Capsule inertias are now computed with the Parallel Axis theorem, applied to the two hemispherical end-caps.This is a minor breaking change. Simulation of a model with automatically-computed capsule inertias will be numerically different, leading to, for example, breakage of golden-value tests.
Fixed bug related to
force
andtorque
sensors. Until this change, forces torques reported by F/T sensors ignored out-of-tree constraint wrenches except those produced by contacts. Force and and torque sensors now correctly take into account the effects ofconnect
andweld
constraints.Forces generated by spatial tendons which are outside the kinematic tree (i.e. between bodies which have no ancestral relationship) are still not taken into account by force and torque sensors. This remains a future work item.
Code samples
testspeed
: Added injection of pseudo-random control noise, turned on by default. This is to avoid settling into some fixed contact configuration and providing an unrealistic timing measure.simulate
:Updated dependencies
TinyXML
was replaced withTinyXML2
6.2.0.qhull
was upgraded to version 8.0.2.libCCD
was upgraded to version 1.4.libstdc++
was replaced withlibc++
.Binary build
MacOS packaging. We now ship Universal binaries that natively support both Apple Silicon and Intel CPUs.
-framework mujoco
flag, however all header files and the ``libmujoco.2.1.1.dylib` library can still be directly accessed inside the framework.MuJoCo.app
. When launched via GUI, the bundle launches thesimulate
executable. Other precompiled sample programs are shipped inside that bundle (inMuJoCo.app/Contents/MacOS
) and can be launched via command line.Windows binaries and libraries are now signed.
Link-time optimization is enabled on Linux and macOS, leading to an average of ~20% speedup when benchmarked on
three test models (
cloth.xml
,humanoid.xml
, andhumanoid100.xml
).Linux binaries are now built with LLVM/Clang instead of GCC.
An AArch64 (aka ARM64) Linux build is also provided.
Private symbols are no longer stripped from shared libraries on Linux and MacOS.
Sample models
Clean-up of the
model/
directory.grid1
,grid1pin
,grid2
,softcylinder
,softellipsoid
.Added descriptive animations in
docs/images/models/
This discussion was created from the release 2.1.1.
Beta Was this translation helpful? Give feedback.
All reactions