Skip to content

Commit

Permalink
Update the MuJoCo version for the 3.2.4 release.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 686261295
Change-Id: Ib59e44a6829a79fd480f2822a68cb05f94c38732
  • Loading branch information
Gabe Oppenheimer authored and copybara-github committed Oct 15, 2024
1 parent d1e004a commit c2024ef
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)

project(
mujoco
VERSION 3.2.3
VERSION 3.2.4
DESCRIPTION "MuJoCo Physics Simulator"
HOMEPAGE_URL "https://mujoco.org"
)
Expand Down
8 changes: 4 additions & 4 deletions dist/mujoco.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 VERSIONINFO
FILEVERSION 3,2,3,0
PRODUCTVERSION 3,2,3,0
FILEVERSION 3,2,4,0
PRODUCTVERSION 3,2,4,0
FILEOS 0x4
FILETYPE 0x1
{
Expand All @@ -9,9 +9,9 @@ FILETYPE 0x1
BLOCK "040904b0"
{
VALUE "ProductName", "MuJoCo"
VALUE "ProductVersion", "3.2.3"
VALUE "ProductVersion", "3.2.4"
VALUE "FileDescription", "MuJoCo"
VALUE "FileVersion", "3.2.3"
VALUE "FileVersion", "3.2.4"
VALUE "InternalName", "mujoco.dll"
VALUE "OriginalFilename", "mujoco.dll"
VALUE "CompanyName", "Google DeepMind"
Expand Down
8 changes: 4 additions & 4 deletions dist/simulate.rc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
MUJOCO ICON "mujoco.ico"

1 VERSIONINFO
FILEVERSION 3,2,3,0
PRODUCTVERSION 3,2,3,0
FILEVERSION 3,2,4,0
PRODUCTVERSION 3,2,4,0
FILEOS 0x4
FILETYPE 0x1
{
Expand All @@ -11,9 +11,9 @@ FILETYPE 0x1
BLOCK "040904b0"
{
VALUE "ProductName", "MuJoCo"
VALUE "ProductVersion", "3.2.3"
VALUE "ProductVersion", "3.2.4"
VALUE "FileDescription", "MuJoCo"
VALUE "FileVersion", "3.2.3"
VALUE "FileVersion", "3.2.4"
VALUE "InternalName", "simulate.exe"
VALUE "OriginalFilename", "simulate.exe"
VALUE "CompanyName", "Google DeepMind"
Expand Down
2 changes: 1 addition & 1 deletion doc/APIreference/APIglobals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ shown in the table below. Their names are in the format ``mjKEY_XXX``. They corr
- Maximum number of UI rectangles.
Defined in `mjui.h <https://github.com/google-deepmind/mujoco/blob/main/include/mujoco/mjui.h>`_.
* - ``mjVERSION_HEADER``
- 323
- 324
- The version of the MuJoCo headers; changes with every release. This is an integer equal to 100x the software
version, so 210 corresponds to version 2.1. Defined in mujoco.h. The API function :ref:`mj_version` returns a
number with the same meaning but for the compiled library.
Expand Down
4 changes: 2 additions & 2 deletions doc/unity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ _____

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

Linux
_____

Expand the ``tar.gz`` archive to ``~/.mujoco``. Then copy the dynamic library from
``~/.mujoco/mujoco-3.2.3/lib/libmujoco.so.3.2.3`` and rename it as ``libmujoco.so``.
``~/.mujoco/mujoco-3.2.4/lib/libmujoco.so.3.2.4`` and rename it as ``libmujoco.so``.

Windows
_______
Expand Down
2 changes: 1 addition & 1 deletion include/mujoco/mujoco.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define MUJOCO_MUJOCO_H_

// header version; should match the library version as returned by mj_version()
#define mjVERSION_HEADER 323
#define mjVERSION_HEADER 324

// needed to define size_t, fabs and log10
#include <stdlib.h>
Expand Down
8 changes: 4 additions & 4 deletions mjx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name="mujoco-mjx"
version = "3.2.3"
version = "3.2.4"
authors = [
{name = "Google DeepMind", email = "[email protected]"},
]
Expand All @@ -30,7 +30,7 @@ dependencies = [
"etils[epath]",
"jax",
"jaxlib",
"mujoco>=3.2.3.dev0",
"mujoco>=3.2.4.dev0",
"scipy",
"trimesh",
]
Expand All @@ -41,6 +41,6 @@ mjx-viewer = "mujoco.mjx.viewer:main"

[project.urls]
Homepage = "https://github.com/google-deepmind/mujoco/tree/main/mjx"
Documentation = "https://mujoco.readthedocs.io/en/3.2.3"
Documentation = "https://mujoco.readthedocs.io/en/3.2.4"
Repository = "https://github.com/google-deepmind/mujoco/tree/main/mjx"
Changelog = "https://mujoco.readthedocs.io/en/3.2.3/changelog.html"
Changelog = "https://mujoco.readthedocs.io/en/3.2.4/changelog.html"
4 changes: 2 additions & 2 deletions python/mujoco/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ if(NOT TARGET mujoco)
if(MUJOCO_FRAMEWORK)
message("MuJoCo framework is at ${MUJOCO_FRAMEWORK}/mujoco.framework")
set(MUJOCO_LIBRARY
${MUJOCO_FRAMEWORK}/mujoco.framework/Versions/A/libmujoco.3.2.3.dylib
${MUJOCO_FRAMEWORK}/mujoco.framework/Versions/A/libmujoco.3.2.4.dylib
)
target_compile_options(mujoco INTERFACE -F${MUJOCO_FRAMEWORK})
endif()
endif()

if(NOT MUJOCO_FRAMEWORK)
find_library(
MUJOCO_LIBRARY mujoco mujoco.3.2.3 HINTS ${MUJOCO_LIBRARY_DIR} REQUIRED
MUJOCO_LIBRARY mujoco mujoco.3.2.4 HINTS ${MUJOCO_LIBRARY_DIR} REQUIRED
)
find_path(MUJOCO_INCLUDE mujoco/mujoco.h HINTS ${MUJOCO_INCLUDE_DIR} REQUIRED)
message("MuJoCo is at ${MUJOCO_LIBRARY}")
Expand Down
8 changes: 4 additions & 4 deletions python/mujoco/mjpython/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<key>CFBundleIdentifier</key>
<string>org.mujoco.mjpython</string>
<key>CFBundleVersion</key>
<string>3.2.3</string>
<string>3.2.4</string>
<key>CFBundleGetInfoString</key>
<string>3.2.3</string>
<string>3.2.4</string>
<key>CFBundleLongVersionString</key>
<string>3.2.3</string>
<string>3.2.4</string>
<key>CFBundleShortVersionString</key>
<string>3.2.3</string>
<string>3.2.4</string>
<key>CFBundleExecutable</key>
<string>mjpython</string>
<key>CFBundleIconFile</key>
Expand Down
6 changes: 3 additions & 3 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mujoco"
version = "3.2.3"
version = "3.2.4"
authors = [
{name = "Google DeepMind", email = "[email protected]"},
]
Expand Down Expand Up @@ -35,9 +35,9 @@ dynamic = ["readme", "scripts"]

[project.urls]
Homepage = "https://github.com/google-deepmind/mujoco"
Documentation = "https://mujoco.readthedocs.io/en/3.2.3"
Documentation = "https://mujoco.readthedocs.io/en/3.2.4"
Repository = "https://github.com/google-deepmind/mujoco"
Changelog = "https://mujoco.readthedocs.io/en/3.2.3/changelog.html"
Changelog = "https://mujoco.readthedocs.io/en/3.2.4/changelog.html"

[tool.setuptools]
include-package-data = false
Expand Down
2 changes: 1 addition & 1 deletion sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)

project(
mujoco_samples
VERSION 3.2.3
VERSION 3.2.4
DESCRIPTION "MuJoCo samples binaries"
HOMEPAGE_URL "https://mujoco.org"
)
Expand Down
2 changes: 1 addition & 1 deletion simulate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set(MUJOCO_DEP_VERSION_lodepng

project(
mujoco_simulate
VERSION 3.2.3
VERSION 3.2.4
DESCRIPTION "MuJoCo simulate binaries"
HOMEPAGE_URL "https://mujoco.org"
)
Expand Down
4 changes: 2 additions & 2 deletions src/engine/engine_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@

//-------------------------- Constants -------------------------------------------------------------

#define mjVERSION 323
#define mjVERSIONSTRING "3.2.3"
#define mjVERSION 324
#define mjVERSIONSTRING "3.2.4"

// names of disable flags
const char* mjDISABLESTRING[mjNDISABLE] = {
Expand Down
4 changes: 2 additions & 2 deletions unity/Editor/Bindings/MujocoBinaryRetriever.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ static void RegisteredPackagesEventHandler(
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/mujoco.dylib") == null) {
File.Copy(
"/Applications/MuJoCo.app/Contents/Frameworks" +
"/mujoco.framework/Versions/Current/libmujoco.3.2.3.dylib",
"/mujoco.framework/Versions/Current/libmujoco.3.2.4.dylib",
mujocoPath + "/mujoco.dylib");
AssetDatabase.Refresh();
}
} else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) {
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/libmujoco.so") == null) {
File.Copy(
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) +
"/.mujoco/mujoco-3.2.3/lib/libmujoco.so.3.2.3",
"/.mujoco/mujoco-3.2.4/lib/libmujoco.so.3.2.4",
mujocoPath + "/libmujoco.so");
AssetDatabase.Refresh();
}
Expand Down
2 changes: 1 addition & 1 deletion unity/Runtime/Bindings/MjBindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static class MujocoLib {
public const int mjMAXPLANEGRID = 200;
public const bool THIRD_PARTY_MUJOCO_MJXMACRO_H_ = true;
public const bool THIRD_PARTY_MUJOCO_MUJOCO_H_ = true;
public const int mjVERSION_HEADER = 323;
public const int mjVERSION_HEADER = 324;


// ------------------------------------Enums------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion unity/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "org.mujoco",
"displayName": "MuJoCo",
"version": "3.2.3",
"version": "3.2.4",
"description": "MuJoCo importer and runtime plug-in",
"dependencies": {},
"author": {
Expand Down

0 comments on commit c2024ef

Please sign in to comment.