Skip to content

Commit 373cc89

Browse files
saran-tcopybara-github
authored andcommitted
Bump version number to 2.2.1.
PiperOrigin-RevId: 461471944 Change-Id: Ia752d992fabdc57b822bc30b01030c19162917ac
1 parent 1392843 commit 373cc89

File tree

12 files changed

+22
-18
lines changed

12 files changed

+22
-18
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)
2828

2929
project(
3030
mujoco
31-
VERSION 2.2.0
31+
VERSION 2.2.1
3232
DESCRIPTION "MuJoCo Physics Simulator"
3333
HOMEPAGE_URL "https://mujoco.org"
3434
)

doc/changelog.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22
Changelog
33
=========
44

5-
Upcoming version (not yet released)
6-
-----------------------------------
5+
.. Upcoming version (not yet released)
6+
.. -----------------------------------
7+
8+
Version 2.2.1 (July 18, 2022)
9+
-----------------------------
710

811
General
912
^^^^^^^
1013

1114
- Added ``mjd_transitionFD`` to compute efficient finite difference approximations of the state-transition and
1215
control-transition matrices, :ref:`see here<derivatives>` for more details.
16+
- Added derivatives for the ellipsoid fluid model.
1317
- Added ``ctrl`` attribute to :ref:`keyframes<keyframe>`.
1418
- Added ``clock`` sensor which :ref:`measures time<sensor-clock>`.
1519
- Added visualisation groups to skins.
@@ -23,7 +27,7 @@ General
2327
- Add memory poisoning when building with Address Sanitizer (ASAN) and Memory Sanitizer (MSAN). This allows ASAN to
2428
detect reads and writes to regions in ``mjModel.buffer`` and ``mjData.buffer`` that do not lie within an array, and
2529
for MSAN to detect reads from uninitialised fields in ``mjData`` following ``mj_resetData``.
26-
30+
- Add a `slider-crank example <https://github.com/deepmind/mujoco/tree/2.2.1/model/slider_crank>`_ to ``model/``.
2731

2832
Bug fixes
2933
^^^^^^^^^

doc/unity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ _____
2929

3030
The MuJoCo app needs to be run at least once before the native library can be used, in order to register the library as
3131
a trusted binary. Then, copy the dynamic library file from
32-
``/Applications/MuJoCo.app/Contents/Frameworks/mujoco.framework/Versions/Current/libmujoco.2.2.0.dylib`` (it can be
32+
``/Applications/MuJoCo.app/Contents/Frameworks/mujoco.framework/Versions/Current/libmujoco.2.2.1.dylib`` (it can be
3333
found by browsing the contents of ``MuJoCo.app``) and rename it as ``mujoco.dylib``.
3434

3535
Linux
3636
_____
3737

3838
Expand the ``tar.gz`` archive to ``~/.mujoco``. Then copy the dynamic library from
39-
``~/.mujoco/mujoco-2.2.0/lib/libmujoco.so.2.2.0`` and rename it as ``libmujoco.so``.
39+
``~/.mujoco/mujoco-2.2.1/lib/libmujoco.so.2.2.1`` and rename it as ``libmujoco.so``.
4040

4141
Windows
4242
_______

include/mujoco/mujoco.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern "C" {
2424
#endif
2525

2626
// header version; should match the library version as returned by mj_version()
27-
#define mjVERSION_HEADER 220
27+
#define mjVERSION_HEADER 221
2828

2929
// needed to define size_t, fabs and log10
3030
#include "stdlib.h"

python/mujoco/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ if(NOT TARGET mujoco)
7575
find_path(MUJOCO_FRAMEWORK mujoco.Framework HINTS ${MUJOCO_FRAMEWORK_DIR})
7676
if(MUJOCO_FRAMEWORK)
7777
message("MuJoCo framework is at ${MUJOCO_FRAMEWORK}/mujoco.framework")
78-
set(MUJOCO_LIBRARY ${MUJOCO_FRAMEWORK}/mujoco.framework/Versions/A/libmujoco.2.2.0.dylib)
78+
set(MUJOCO_LIBRARY ${MUJOCO_FRAMEWORK}/mujoco.framework/Versions/A/libmujoco.2.2.1.dylib)
7979
target_compile_options(mujoco INTERFACE -F${MUJOCO_FRAMEWORK})
8080
endif()
8181
endif()
8282

8383
if(NOT MUJOCO_FRAMEWORK)
84-
find_library(MUJOCO_LIBRARY mujoco mujoco.2.2.0 HINTS ${MUJOCO_LIBRARY_DIR} REQUIRED)
84+
find_library(MUJOCO_LIBRARY mujoco mujoco.2.2.1 HINTS ${MUJOCO_LIBRARY_DIR} REQUIRED)
8585
find_path(MUJOCO_INCLUDE mujoco/mujoco.h HINTS ${MUJOCO_INCLUDE_DIR} REQUIRED)
8686
message("MuJoCo is at ${MUJOCO_LIBRARY}")
8787
message("MuJoCo headers are at ${MUJOCO_INCLUDE}")

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from setuptools import setup
3131
from setuptools.command import build_ext
3232

33-
__version__ = '2.2.0'
33+
__version__ = '2.2.1'
3434

3535
MUJOCO_CMAKE = 'MUJOCO_CMAKE'
3636
MUJOCO_CMAKE_ARGS = 'MUJOCO_CMAKE_ARGS'

sample/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)
2424

2525
project(
2626
mujoco_samples
27-
VERSION 2.2.0
27+
VERSION 2.2.1
2828
DESCRIPTION "MuJoCo samples binaries"
2929
HOMEPAGE_URL "https://mujoco.org"
3030
)

src/engine/engine_support.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#endif
3636
#endif
3737

38-
#define mjVERSION 220
39-
#define mjVERSIONSTRING "2.2.0"
38+
#define mjVERSION 221
39+
#define mjVERSIONSTRING "2.2.1"
4040

4141
// names of disable flags
4242
const char* mjDISABLESTRING[mjNDISABLE] = {

test/engine/engine_support_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace {
2626

2727
using VersionTest = MujocoTest;
2828

29-
const char *const kExpectedVersionString = "2.2.0";
29+
const char *const kExpectedVersionString = "2.2.1";
3030

3131
TEST_F(VersionTest, MjVersion) {
3232
EXPECT_EQ(mj_version(), mjVERSION_HEADER);

unity/Runtime/Bindings/MujocoBinaryRetriever.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ static void RegisteredPackagesEventHandler(
3535
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/mujoco.dylib") == null) {
3636
File.Copy(
3737
"/Applications/MuJoCo.app/Contents/Frameworks" +
38-
"/mujoco.framework/Versions/Current/libmujoco.2.2.0.dylib",
38+
"/mujoco.framework/Versions/Current/libmujoco.2.2.1.dylib",
3939
mujocoPath + "/mujoco.dylib");
4040
AssetDatabase.Refresh();
4141
}
4242
} else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) {
4343
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/libmujoco.so") == null) {
4444
File.Copy(
4545
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) +
46-
"/.mujoco/mujoco-2.2.0/lib/libmujoco.so.2.2.0",
46+
"/.mujoco/mujoco-2.2.1/lib/libmujoco.so.2.2.1",
4747
mujocoPath + "/libmujoco.so");
4848
AssetDatabase.Refresh();
4949
}

0 commit comments

Comments
 (0)