Changelog

Versioning

This project uses semantic versioning. This means that any incompatible changes increase the major version (Y.x.x). This also includes breaking changes that MuJoCo itself introduced, thus even an update of MuJoCo alone can increase the major version.

1.5.0 (MuJoCo 3.3.5)

1.4.2 (MuJoCo 3.3.5)

Bug fixes:

  • Fixed segmentation fault when the model specification is invalid. (#65).

1.4.1 (MuJoCo 3.3.5)

Bug fixes:

1.4.0 (MuJoCo 3.3.5)

  • MjModel:

  • Added extra renames of enum types from the C API.

  • Model editing support, which can be used to procedurally generate MjModel. It can be used for terrain generation, parameter randomization, etc.

  • MjRenderer:

    • Added additional getters and setters.

    • Added MjRendererBuilder for purposes of better configuration.

  • MjViewer:

    • Added events for keys:

      • Backspace: resets the simulation,

      • F5: toggles full screen mode,

      • [ and ]: cycles cameras,

      • Visualization toggles:

        • C: camera,

        • U: actuator,

        • J: joint,

        • M: center of mass,

        • H: convex hull,

        • Z: light,

        • T: transparent,

        • I: inertia.

      • Increased the headroom for visual-only geoms, which aren’t drawn by the user, from 100 to 2000.

  • MjvCamera:

    • Added methods:

      • fix: changes the camera struct parameters to display a fixed camera.

1.3.0 (MuJoCo 3.3.5)

1.2.0 (MuJoCo 3.3.5)

1.1.0 (MuJoCo 3.3.5)

Potentially breaking changes:

  • Fixed bug #18 where data races could occur under incorrect usage. The major version of MuJoCo-rs is not increased as this safety bugs should not be something to rely on.

Other bug fixes:

  • Fixed bug #17 where the MjGeomView and MjGeomViewMut pointed to the wrong address, which belonged to the body and not the geom.

  • Fixed bug #19 where a warning about the scene buffer would be printed when loading some of MuJoCo’s example scenes.

Other changes:

1.0.1 (MuJoCo 3.3.5)

Bug fixes:

  • Smaller changes inside Drop implementations to make sure there is no undefined behaviors.

1.0.0 (MuJoCo 3.3.5)

Breaking changes:

  • Made all ffi_mut() methods require unsafe blocks.

Viewer:

0.4.3 (MuJoCo 3.3.5)

Build system:

  • Removed unnecessary header files, reducing crate’s file size.

0.4.2 (MuJoCo 3.3.5)

Build system:

  • Improved clarity of environmental variables:

    • MUJOCO_DYNAMIC_LINK_LIB -> MUJOCO_DYNAMIC_LINK_DIR

    • MUJOCO_STATIC_LINK_LIB -> MUJOCO_STATIC_LINK_DIR

  • Added some internal cargo features .

0.4.1 (MuJoCo 3.3.5)

  • Fix event handling.

0.4.0 (MuJoCo 3.3.5)

  • Change the package name to mujoco-rs.

0.3.0 (MuJoCo 3.3.5)

  • Initial public release (previously private under a different project).