Skip to content

2.2.0

Compare
Choose a tag to compare
@saran-t saran-t released this 23 May 12:25
· 2501 commits to main since this release

Open Sourcing

  1. MuJoCo is now fully open-source software. Newly available top level directories are:

    1. src/: All source files. Subdirectories correspond to the modules described in the Programming chapter introduction:
      • src/engine/: Core engine.
      • src/xml/: XML parser.
      • src/user/: Model compiler.
      • src/visualize/: Abstract visualizer.
      • src/ui/: UI framework.
    2. test/: Tests and corresponding asset files.
    3. dist/: Files related to packaging and binary distribution.
  2. Added contributor's guide and style guide.

General

  1. Added analytic derivatives of smooth (unconstrained) dynamics forces, with respect to velocities:

    • Centripetal and Coriolis forces computed by the Recursive Newton-Euler algorithm.
    • Damping and fluid-drag passive forces.
    • Actuation forces.
  2. Added implicit integrator. Using the analytic derivatives above, a new implicit-in-velocity integrator was added. This integrator lies between the Euler and Runge Kutta integrators in terms of both stability and computational cost. It is most useful for models which use fluid drag (e.g. for flying or swimming) and for models which use velocity actuators. For more details, see the Numerical Integration section.

  3. Added actlimited and actrange attributes to general actuators, for clamping actuator internal states (activations). This clamping is useful for integrated-velocity actuators, see the Activation clamping section for details.

  4. mjData fields qfrc_unc (unconstrained forces) and qacc_unc (unconstrained accelerations) were renamed qfrc_smooth and qacc_smooth, respectively. While "unconstrained" is precise, "smooth" is more intelligible than "unc".

  5. Public headers have been moved from /include to /include/mujoco/, in line with the directory layout common in other open source projects. Developers are encouraged to include MuJoCo public headers in their own codebase via #include <mujoco/filename.h>.

  6. The default shadow resolution specified by the shadowsize attribute was increased from 1024 to 4096.

  7. Saved XMLs now use 2-space indents.

Bug fixes

  1. Antialiasing was disabled for segmentation rendering. Before this change, if the offsamples attribute was greater than 0 (the default value is 4), pixels that overlapped with multiple geoms would receive averaged segmentation IDs, leading to incorrect or non-existent IDs. After this change offsamples is ignored during segmentation rendering.

  2. The value of the enable flag for the experimental multiCCD feature was made sequential with other enable flags. Sequentiality is assumed in the simulate UI and elsewhere.

  3. Fix issue of duplicated meshes when saving models with OBJ meshes using mj_saveLastXML.


Update 1 (27 May 2022): Replaced Linux tarball to fix RPATH on the sample binaries. No change in functionality.