Bump MuJoCo version to 2.3.2.
PiperOrigin-RevId: 507720557 Change-Id: I7a5b577094ac1a7f468a84c484f62f61dc6b409f
This commit is contained in:
committed by
Copybara-Service
parent
36836d8e42
commit
dd632b7ccc
+1
-1
@@ -28,7 +28,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
mujoco
|
mujoco
|
||||||
VERSION 2.3.1
|
VERSION 2.3.2
|
||||||
DESCRIPTION "MuJoCo Physics Simulator"
|
DESCRIPTION "MuJoCo Physics Simulator"
|
||||||
HOMEPAGE_URL "https://mujoco.org"
|
HOMEPAGE_URL "https://mujoco.org"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ function(get_avx_compile_options OUTPUT_VAR)
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
|
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
|
||||||
|
elseif(WIN32)
|
||||||
|
# Abseil LTS 20230125.0 assumes that AVX implies PCLMUL on Windows.
|
||||||
|
set(CMAKE_REQUIRED_FLAGS "-mavx" "-mpclmul")
|
||||||
else()
|
else()
|
||||||
set(CMAKE_REQUIRED_FLAGS "-mavx")
|
set(CMAKE_REQUIRED_FLAGS "-mavx")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ set(MUJOCO_DEP_VERSION_lodepng
|
|||||||
CACHE STRING "Version of `lodepng` to be fetched."
|
CACHE STRING "Version of `lodepng` to be fetched."
|
||||||
)
|
)
|
||||||
set(MUJOCO_DEP_VERSION_tinyxml2
|
set(MUJOCO_DEP_VERSION_tinyxml2
|
||||||
1dee28e51f9175a31955b9791c74c430fe13dc82 # 9.0.0
|
9a89766acc42ddfa9e7133c7d81a5bda108a0ade
|
||||||
CACHE STRING "Version of `tinyxml2` to be fetched."
|
CACHE STRING "Version of `tinyxml2` to be fetched."
|
||||||
)
|
)
|
||||||
set(MUJOCO_DEP_VERSION_tinyobjloader
|
set(MUJOCO_DEP_VERSION_tinyobjloader
|
||||||
@@ -39,17 +39,17 @@ set(MUJOCO_DEP_VERSION_qhull
|
|||||||
CACHE STRING "Version of `qhull` to be fetched."
|
CACHE STRING "Version of `qhull` to be fetched."
|
||||||
)
|
)
|
||||||
set(MUJOCO_DEP_VERSION_Eigen3
|
set(MUJOCO_DEP_VERSION_Eigen3
|
||||||
3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e
|
3460f3558e7b469efb8a225894e21929c8c77629
|
||||||
CACHE STRING "Version of `Eigen3` to be fetched."
|
CACHE STRING "Version of `Eigen3` to be fetched."
|
||||||
)
|
)
|
||||||
|
|
||||||
set(MUJOCO_DEP_VERSION_abseil
|
set(MUJOCO_DEP_VERSION_abseil
|
||||||
8c0b94e793a66495e0b1f34a5eb26bd7dc672db0 # LTS 20220623.1
|
78be63686ba732b25052be15f8d6dee891c05749 # LTS 20230125.0
|
||||||
CACHE STRING "Version of `abseil` to be fetched."
|
CACHE STRING "Version of `abseil` to be fetched."
|
||||||
)
|
)
|
||||||
|
|
||||||
set(MUJOCO_DEP_VERSION_gtest
|
set(MUJOCO_DEP_VERSION_gtest
|
||||||
58d77fa8070e8cec2dc1ed015d66b454c8d78850 # release-1.12.1
|
b796f7d44681514f58a683a3a71ff17c94edb0c1 # release-1.13.0
|
||||||
CACHE STRING "Version of `gtest` to be fetched."
|
CACHE STRING "Version of `gtest` to be fetched."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -95,12 +95,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang
|
|||||||
-Wno-stringop-overflow
|
-Wno-stringop-overflow
|
||||||
-Wno-stringop-truncation
|
-Wno-stringop-truncation
|
||||||
)
|
)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
|
|
||||||
# Needed for https://github.com/abseil/abseil-cpp/issues/1201, until a new
|
|
||||||
# version of abseil is released with the fix.
|
|
||||||
set(EXTRA_COMPILE_OPTIONS "${EXTRA_COMPILE_OPTIONS}"
|
|
||||||
-Wno-deprecated-builtins
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Vendored
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
1 VERSIONINFO
|
1 VERSIONINFO
|
||||||
FILEVERSION 2,3,1,0
|
FILEVERSION 2,3,2,0
|
||||||
PRODUCTVERSION 2,3,1,0
|
PRODUCTVERSION 2,3,2,0
|
||||||
FILEOS 0x4
|
FILEOS 0x4
|
||||||
FILETYPE 0x1
|
FILETYPE 0x1
|
||||||
{
|
{
|
||||||
@@ -9,9 +9,9 @@ FILETYPE 0x1
|
|||||||
BLOCK "040904b0"
|
BLOCK "040904b0"
|
||||||
{
|
{
|
||||||
VALUE "ProductName", "MuJoCo"
|
VALUE "ProductName", "MuJoCo"
|
||||||
VALUE "ProductVersion", "2.3.1"
|
VALUE "ProductVersion", "2.3.2"
|
||||||
VALUE "FileDescription", "MuJoCo"
|
VALUE "FileDescription", "MuJoCo"
|
||||||
VALUE "FileVersion", "2.3.1"
|
VALUE "FileVersion", "2.3.2"
|
||||||
VALUE "InternalName", "mujoco.dll"
|
VALUE "InternalName", "mujoco.dll"
|
||||||
VALUE "OriginalFilename", "mujoco.dll"
|
VALUE "OriginalFilename", "mujoco.dll"
|
||||||
VALUE "CompanyName", "DeepMind"
|
VALUE "CompanyName", "DeepMind"
|
||||||
|
|||||||
Vendored
+4
-4
@@ -1,8 +1,8 @@
|
|||||||
MUJOCO ICON "mujoco.ico"
|
MUJOCO ICON "mujoco.ico"
|
||||||
|
|
||||||
1 VERSIONINFO
|
1 VERSIONINFO
|
||||||
FILEVERSION 2,3,1,0
|
FILEVERSION 2,3,2,0
|
||||||
PRODUCTVERSION 2,3,1,0
|
PRODUCTVERSION 2,3,2,0
|
||||||
FILEOS 0x4
|
FILEOS 0x4
|
||||||
FILETYPE 0x1
|
FILETYPE 0x1
|
||||||
{
|
{
|
||||||
@@ -11,9 +11,9 @@ FILETYPE 0x1
|
|||||||
BLOCK "040904b0"
|
BLOCK "040904b0"
|
||||||
{
|
{
|
||||||
VALUE "ProductName", "MuJoCo"
|
VALUE "ProductName", "MuJoCo"
|
||||||
VALUE "ProductVersion", "2.3.1"
|
VALUE "ProductVersion", "2.3.2"
|
||||||
VALUE "FileDescription", "MuJoCo"
|
VALUE "FileDescription", "MuJoCo"
|
||||||
VALUE "FileVersion", "2.3.1"
|
VALUE "FileVersion", "2.3.2"
|
||||||
VALUE "InternalName", "simulate.exe"
|
VALUE "InternalName", "simulate.exe"
|
||||||
VALUE "OriginalFilename", "simulate.exe"
|
VALUE "OriginalFilename", "simulate.exe"
|
||||||
VALUE "CompanyName", "DeepMind"
|
VALUE "CompanyName", "DeepMind"
|
||||||
|
|||||||
+27
-27
@@ -2,55 +2,55 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
Upcoming version (not yet released)
|
Version 2.3.2 (February 7, 2023)
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
General
|
General
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
||||||
- A more performant mju_transposeSparse has been implemented that doesn't require dense memory allocation.
|
1. A more performant mju_transposeSparse has been implemented that doesn't require dense memory allocation.
|
||||||
For a constraint Jacobian matrix from the
|
For a constraint Jacobian matrix from the
|
||||||
`humanoid100.xml <https://github.com/deepmind/mujoco/blob/main/model/humanoid100/humanoid100.xml>`_ model,
|
`humanoid100.xml <https://github.com/deepmind/mujoco/blob/main/model/humanoid100/humanoid100.xml>`_ model,
|
||||||
this function is 35% faster.
|
this function is 35% faster.
|
||||||
- The function :ref:`mj_name2id` is now implemented using a hash function instead of a linear search for better
|
#. The function :ref:`mj_name2id` is now implemented using a hash function instead of a linear search for better
|
||||||
performance.
|
performance.
|
||||||
- Geom names are now parsed from URDF. Any duplicate names are ignored.
|
#. Geom names are now parsed from URDF. Any duplicate names are ignored.
|
||||||
- ``mj_printData`` output now contains contacting geom names.
|
``mj_printData`` output now contains contacting geom names.
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
- Fixed a bug that for :at:`shellinertia` equal to ``true`` caused the mesh orientation to be overwritten by the
|
4. Fixed a bug that for :at:`shellinertia` equal to ``true`` caused the mesh orientation to be overwritten by the
|
||||||
principal components of the shell inertia, while the vertex coordinates are rotated using the volumetric inertia.
|
principal components of the shell inertia, while the vertex coordinates are rotated using the volumetric inertia.
|
||||||
Now the volumetric inertia orientation is used also in the shell case.
|
Now the volumetric inertia orientation is used also in the shell case.
|
||||||
- Fixed misalignment bug in mesh-to-primitive fitting when using the bounding box fitting option :at:`fitaabb`.
|
#. Fixed misalignment bug in mesh-to-primitive fitting when using the bounding box fitting option :at:`fitaabb`.
|
||||||
|
|
||||||
.. image:: images/changelog/meshfit.png
|
.. image:: images/changelog/meshfit.png
|
||||||
:align: right
|
:align: right
|
||||||
:width: 300px
|
:width: 300px
|
||||||
|
|
||||||
- The ``launch_repl`` functionality in the Python viewer has been fixed.
|
#. The ``launch_repl`` functionality in the Python viewer has been fixed.
|
||||||
- Set ``time`` correctly in ``mjd_transitionFD``, to support time-dependent user code.
|
#. Set ``time`` correctly in ``mjd_transitionFD``, to support time-dependent user code.
|
||||||
- Fixed sensor data dimension validation when ``user`` type sensors are present.
|
#. Fixed sensor data dimension validation when ``user`` type sensors are present.
|
||||||
- Fixed incorrect plugin error message when a null ``nsensordata`` callback is encountered during model compilation.
|
#. Fixed incorrect plugin error message when a null ``nsensordata`` callback is encountered during model compilation.
|
||||||
- Correctly end the timer (``TM_END``) ``mj_fwdConstraint`` returns early.
|
#. Correctly end the timer (``TM_END``) ``mj_fwdConstraint`` returns early.
|
||||||
- Fixed an infinite loop in ``mj_deleteFileVFS``.
|
#. Fixed an infinite loop in ``mj_deleteFileVFS``.
|
||||||
|
|
||||||
Simulate
|
Simulate
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
- Increased precision of simulate sensor plot y-axis by 1 digit
|
12. Increased precision of simulate sensor plot y-axis by 1 digit
|
||||||
(`#719 <https://github.com/deepmind/mujoco/issues/719>`_).
|
(`#719 <https://github.com/deepmind/mujoco/issues/719>`_).
|
||||||
- Body labels are now drawn at the body frame rather than inertial frame, unless inertia is being visualised.
|
#. Body labels are now drawn at the body frame rather than inertial frame, unless inertia is being visualised.
|
||||||
|
|
||||||
Plugins
|
Plugins
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
||||||
- The ``reset`` callback now receives instance-specific ``plugin_state`` and ``plugin_data`` as arguments, rather than
|
14. The ``reset`` callback now receives instance-specific ``plugin_state`` and ``plugin_data`` as arguments, rather than
|
||||||
the entire ``mjData``. Since ``reset`` is called inside ``mj_resetData`` before any physics forwarding call has been
|
the entire ``mjData``. Since ``reset`` is called inside ``mj_resetData`` before any physics forwarding call has been
|
||||||
made, it is an error to read anything from ``mjData`` at this stage.
|
made, it is an error to read anything from ``mjData`` at this stage.
|
||||||
- The ``capabilities`` field in ``mjpPlugin`` is renamed ``capabilityflags`` to more clearly indicate that this is a
|
#. The ``capabilities`` field in ``mjpPlugin`` is renamed ``capabilityflags`` to more clearly indicate that this is a
|
||||||
bit field.
|
bit field.
|
||||||
|
|
||||||
|
|
||||||
Version 2.3.1 (December 6, 2022)
|
Version 2.3.1 (December 6, 2022)
|
||||||
|
|||||||
+2
-2
@@ -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
|
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
|
a trusted binary. Then, copy the dynamic library file from
|
||||||
``/Applications/MuJoCo.app/Contents/Frameworks/mujoco.framework/Versions/Current/libmujoco.2.3.1.dylib`` (it can be
|
``/Applications/MuJoCo.app/Contents/Frameworks/mujoco.framework/Versions/Current/libmujoco.2.3.2.dylib`` (it can be
|
||||||
found by browsing the contents of ``MuJoCo.app``) and rename it as ``mujoco.dylib``.
|
found by browsing the contents of ``MuJoCo.app``) and rename it as ``mujoco.dylib``.
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
_____
|
_____
|
||||||
|
|
||||||
Expand the ``tar.gz`` archive to ``~/.mujoco``. Then copy the dynamic library from
|
Expand the ``tar.gz`` archive to ``~/.mujoco``. Then copy the dynamic library from
|
||||||
``~/.mujoco/mujoco-2.3.1/lib/libmujoco.so.2.3.1`` and rename it as ``libmujoco.so``.
|
``~/.mujoco/mujoco-2.3.2/lib/libmujoco.so.2.3.2`` and rename it as ``libmujoco.so``.
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
_______
|
_______
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// header version; should match the library version as returned by mj_version()
|
// header version; should match the library version as returned by mj_version()
|
||||||
#define mjVERSION_HEADER 231
|
#define mjVERSION_HEADER 232
|
||||||
|
|
||||||
// needed to define size_t, fabs and log10
|
// needed to define size_t, fabs and log10
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@@ -46,12 +46,6 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Cl
|
|||||||
add_compile_options(-fdata-sections -ffunction-sections)
|
add_compile_options(-fdata-sections -ffunction-sections)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
|
|
||||||
# Needed for https://github.com/abseil/abseil-cpp/issues/1201, until a new
|
|
||||||
# version of abseil is released with the fix.
|
|
||||||
add_compile_options(-Wno-deprecated-builtins)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(MujocoLinkOptions)
|
include(MujocoLinkOptions)
|
||||||
get_mujoco_extra_link_options(EXTRA_LINK_OPTIONS)
|
get_mujoco_extra_link_options(EXTRA_LINK_OPTIONS)
|
||||||
add_link_options(${EXTRA_LINK_OPTIONS})
|
add_link_options(${EXTRA_LINK_OPTIONS})
|
||||||
@@ -81,13 +75,13 @@ if(NOT TARGET mujoco)
|
|||||||
find_path(MUJOCO_FRAMEWORK mujoco.Framework HINTS ${MUJOCO_FRAMEWORK_DIR})
|
find_path(MUJOCO_FRAMEWORK mujoco.Framework HINTS ${MUJOCO_FRAMEWORK_DIR})
|
||||||
if(MUJOCO_FRAMEWORK)
|
if(MUJOCO_FRAMEWORK)
|
||||||
message("MuJoCo framework is at ${MUJOCO_FRAMEWORK}/mujoco.framework")
|
message("MuJoCo framework is at ${MUJOCO_FRAMEWORK}/mujoco.framework")
|
||||||
set(MUJOCO_LIBRARY ${MUJOCO_FRAMEWORK}/mujoco.framework/Versions/A/libmujoco.2.3.1.dylib)
|
set(MUJOCO_LIBRARY ${MUJOCO_FRAMEWORK}/mujoco.framework/Versions/A/libmujoco.2.3.2.dylib)
|
||||||
target_compile_options(mujoco INTERFACE -F${MUJOCO_FRAMEWORK})
|
target_compile_options(mujoco INTERFACE -F${MUJOCO_FRAMEWORK})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT MUJOCO_FRAMEWORK)
|
if(NOT MUJOCO_FRAMEWORK)
|
||||||
find_library(MUJOCO_LIBRARY mujoco mujoco.2.3.1 HINTS ${MUJOCO_LIBRARY_DIR} REQUIRED)
|
find_library(MUJOCO_LIBRARY mujoco mujoco.2.3.2 HINTS ${MUJOCO_LIBRARY_DIR} REQUIRED)
|
||||||
find_path(MUJOCO_INCLUDE mujoco/mujoco.h HINTS ${MUJOCO_INCLUDE_DIR} REQUIRED)
|
find_path(MUJOCO_INCLUDE mujoco/mujoco.h HINTS ${MUJOCO_INCLUDE_DIR} REQUIRED)
|
||||||
message("MuJoCo is at ${MUJOCO_LIBRARY}")
|
message("MuJoCo is at ${MUJOCO_LIBRARY}")
|
||||||
message("MuJoCo headers are at ${MUJOCO_INCLUDE}")
|
message("MuJoCo headers are at ${MUJOCO_INCLUDE}")
|
||||||
@@ -134,7 +128,7 @@ findorfetch(
|
|||||||
GIT_REPO
|
GIT_REPO
|
||||||
https://github.com/abseil/abseil-cpp
|
https://github.com/abseil/abseil-cpp
|
||||||
GIT_TAG
|
GIT_TAG
|
||||||
8c0b94e793a66495e0b1f34a5eb26bd7dc672db0 # LTS 20220623.1
|
78be63686ba732b25052be15f8d6dee891c05749 # LTS 20230125
|
||||||
TARGETS
|
TARGETS
|
||||||
${MUJOCO_PYTHON_ABSL_TARGETS}
|
${MUJOCO_PYTHON_ABSL_TARGETS}
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
@@ -167,7 +161,7 @@ findorfetch(
|
|||||||
GIT_REPO
|
GIT_REPO
|
||||||
https://gitlab.com/libeigen/eigen
|
https://gitlab.com/libeigen/eigen
|
||||||
GIT_TAG
|
GIT_TAG
|
||||||
3bb6a48d8c171cf20b5f8e48bfb4e424fbd4f79e
|
3460f3558e7b469efb8a225894e21929c8c77629
|
||||||
TARGETS
|
TARGETS
|
||||||
Eigen3::Eigen
|
Eigen3::Eigen
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
@@ -184,7 +178,7 @@ findorfetch(
|
|||||||
GIT_REPO
|
GIT_REPO
|
||||||
https://github.com/pybind/pybind11
|
https://github.com/pybind/pybind11
|
||||||
GIT_TAG
|
GIT_TAG
|
||||||
33fb7a6bd849653445b6ae37a8c274d3de9519cc
|
8ece7d641ca6ce316e59fec6744b8517073bbe32
|
||||||
TARGETS
|
TARGETS
|
||||||
pybind11::pybind11_headers
|
pybind11::pybind11_headers
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ from setuptools import find_packages
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from setuptools.command import build_ext
|
from setuptools.command import build_ext
|
||||||
|
|
||||||
__version__ = '2.3.1.post1'
|
__version__ = '2.3.2'
|
||||||
|
|
||||||
MUJOCO_CMAKE = 'MUJOCO_CMAKE'
|
MUJOCO_CMAKE = 'MUJOCO_CMAKE'
|
||||||
MUJOCO_CMAKE_ARGS = 'MUJOCO_CMAKE_ARGS'
|
MUJOCO_CMAKE_ARGS = 'MUJOCO_CMAKE_ARGS'
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ set(MSVC_INCREMENTAL_DEFAULT ON)
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
mujoco_samples
|
mujoco_samples
|
||||||
VERSION 2.3.1
|
VERSION 2.3.2
|
||||||
DESCRIPTION "MuJoCo samples binaries"
|
DESCRIPTION "MuJoCo samples binaries"
|
||||||
HOMEPAGE_URL "https://mujoco.org"
|
HOMEPAGE_URL "https://mujoco.org"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ function(get_avx_compile_options OUTPUT_VAR)
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
|
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
|
||||||
|
elseif(WIN32)
|
||||||
|
# Abseil LTS 20230125.0 assumes that AVX implies PCLMUL on Windows.
|
||||||
|
set(CMAKE_REQUIRED_FLAGS "-mavx" "-mpclmul")
|
||||||
else()
|
else()
|
||||||
set(CMAKE_REQUIRED_FLAGS "-mavx")
|
set(CMAKE_REQUIRED_FLAGS "-mavx")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -95,12 +95,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang
|
|||||||
-Wno-stringop-overflow
|
-Wno-stringop-overflow
|
||||||
-Wno-stringop-truncation
|
-Wno-stringop-truncation
|
||||||
)
|
)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
|
|
||||||
# Needed for https://github.com/abseil/abseil-cpp/issues/1201, until a new
|
|
||||||
# version of abseil is released with the fix.
|
|
||||||
set(EXTRA_COMPILE_OPTIONS "${EXTRA_COMPILE_OPTIONS}"
|
|
||||||
-Wno-deprecated-builtins
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ set(MUJOCO_DEP_VERSION_lodepng
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
mujoco_simulate
|
mujoco_simulate
|
||||||
VERSION 2.3.1
|
VERSION 2.3.2
|
||||||
DESCRIPTION "MuJoCo simulate binaries"
|
DESCRIPTION "MuJoCo simulate binaries"
|
||||||
HOMEPAGE_URL "https://mujoco.org"
|
HOMEPAGE_URL "https://mujoco.org"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ function(get_avx_compile_options OUTPUT_VAR)
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
|
set(CMAKE_REQUIRED_FLAGS "/arch:AVX")
|
||||||
|
elseif(WIN32)
|
||||||
|
# Abseil LTS 20230125.0 assumes that AVX implies PCLMUL on Windows.
|
||||||
|
set(CMAKE_REQUIRED_FLAGS "-mavx" "-mpclmul")
|
||||||
else()
|
else()
|
||||||
set(CMAKE_REQUIRED_FLAGS "-mavx")
|
set(CMAKE_REQUIRED_FLAGS "-mavx")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -95,12 +95,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang
|
|||||||
-Wno-stringop-overflow
|
-Wno-stringop-overflow
|
||||||
-Wno-stringop-truncation
|
-Wno-stringop-truncation
|
||||||
)
|
)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
|
|
||||||
# Needed for https://github.com/abseil/abseil-cpp/issues/1201, until a new
|
|
||||||
# version of abseil is released with the fix.
|
|
||||||
set(EXTRA_COMPILE_OPTIONS "${EXTRA_COMPILE_OPTIONS}"
|
|
||||||
-Wno-deprecated-builtins
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -36,8 +36,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define mjVERSION 231
|
#define mjVERSION 232
|
||||||
#define mjVERSIONSTRING "2.3.1"
|
#define mjVERSIONSTRING "2.3.2"
|
||||||
|
|
||||||
// names of disable flags
|
// names of disable flags
|
||||||
const char* mjDISABLESTRING[mjNDISABLE] = {
|
const char* mjDISABLESTRING[mjNDISABLE] = {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class MujocoBinaryRetriever {
|
|||||||
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/mujoco.dylib") == null) {
|
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/mujoco.dylib") == null) {
|
||||||
File.Copy(
|
File.Copy(
|
||||||
"/Applications/MuJoCo.app/Contents/Frameworks" +
|
"/Applications/MuJoCo.app/Contents/Frameworks" +
|
||||||
"/mujoco.framework/Versions/Current/libmujoco.2.3.1.dylib",
|
"/mujoco.framework/Versions/Current/libmujoco.2.3.2.dylib",
|
||||||
mujocoPath + "/mujoco.dylib");
|
mujocoPath + "/mujoco.dylib");
|
||||||
AssetDatabase.Refresh();
|
AssetDatabase.Refresh();
|
||||||
}
|
}
|
||||||
@@ -45,7 +45,7 @@ public class MujocoBinaryRetriever {
|
|||||||
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/libmujoco.so") == null) {
|
if (AssetDatabase.LoadMainAssetAtPath(mujocoPath + "/libmujoco.so") == null) {
|
||||||
File.Copy(
|
File.Copy(
|
||||||
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) +
|
Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) +
|
||||||
"/.mujoco/mujoco-2.3.1/lib/libmujoco.so.2.3.1",
|
"/.mujoco/mujoco-2.3.2/lib/libmujoco.so.2.3.2",
|
||||||
mujocoPath + "/libmujoco.so");
|
mujocoPath + "/libmujoco.so");
|
||||||
AssetDatabase.Refresh();
|
AssetDatabase.Refresh();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ public const int mjMAXLINEPNT = 1000;
|
|||||||
public const int mjMAXPLANEGRID = 200;
|
public const int mjMAXPLANEGRID = 200;
|
||||||
public const bool THIRD_PARTY_MUJOCO_MJXMACRO_H_ = true;
|
public const bool THIRD_PARTY_MUJOCO_MJXMACRO_H_ = true;
|
||||||
public const bool THIRD_PARTY_MUJOCO_MUJOCO_H_ = true;
|
public const bool THIRD_PARTY_MUJOCO_MUJOCO_H_ = true;
|
||||||
public const int mjVERSION_HEADER = 231;
|
public const int mjVERSION_HEADER = 232;
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------Enums------------------------------------
|
// ------------------------------------Enums------------------------------------
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "org.mujoco",
|
"name": "org.mujoco",
|
||||||
"displayName": "MuJoCo",
|
"displayName": "MuJoCo",
|
||||||
"version": "2.3.1",
|
"version": "2.3.2",
|
||||||
"description": "MuJoCo importer and runtime plug-in",
|
"description": "MuJoCo importer and runtime plug-in",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"author": {
|
"author": {
|
||||||
|
|||||||
Reference in New Issue
Block a user