Remove deprecated mju_{error,warning}_{i,s} functions.
PiperOrigin-RevId: 925204136 Change-Id: Ia877d08a135092db8037d04e6a237e81325a1d7c
This commit is contained in:
committed by
Copybara-Service
parent
ad23db5942
commit
062b0f1ea6
+3
-5
@@ -21,16 +21,14 @@ General
|
||||
:class: attention
|
||||
|
||||
- The header file ``mjthread.h`` was removed along with the old engine threading API.
|
||||
|
||||
**Migration:** Use :ref:`mju_threadpool` to set number of worker threads for the engine.
|
||||
|
||||
|br| **Migration:** Use :ref:`mju_threadpool` to set number of worker threads for the engine.
|
||||
- Moved island sparse matrix construction from :ref:`mj_island` (single threaded) into :ref:`mj_fwdConstraint`
|
||||
(multi-threaded). The island-specific matrices ``iM, iLD, iefc_J`` were removed from the arena and are now
|
||||
allocated on the stack.
|
||||
|
||||
- Following the introduction of the :ref:`diagexact<option-flag-diagexact>` flag, the ``mjData`` field
|
||||
``efc_diagApprox`` was renamed to ``efc_diagA``, as it can now be either the exact or approximate diagonal of
|
||||
the :math:`A` ("Delassus") matrix.
|
||||
- The deprecated functions ``mju_{error,warning}_{i,s}`` have been removed.
|
||||
|
||||
Bug fixes
|
||||
^^^^^^^^^
|
||||
@@ -2145,7 +2143,7 @@ General
|
||||
<https://github.com/google-deepmind/mujoco/blob/main/model/humanoid/humanoid100.xml>`__ model, which previously
|
||||
required ~500,000 ``mjtNum``'s, now only requires ~6000. Very large models can now load and run with the CG solver.
|
||||
#. Modified :ref:`mju_error` and :ref:`mju_warning` to be variadic functions (support for printf-like arguments). The
|
||||
functions :ref:`mju_error_i`, :ref:`mju_error_s`, :ref:`mju_warning_i`, and :ref:`mju_warning_s` are now deprecated.
|
||||
functions ``mju_error_i``, ``mju_error_s``, ``mju_warning_i``, and ``mju_warning_s`` are now deprecated.
|
||||
#. Implemented a performant ``mju_sqrMatTDSparse`` function that doesn't require dense memory allocation.
|
||||
#. Added ``mj_stackAllocInt`` to get correct size for allocating ints on mjData stack. Reducing stack memory usage
|
||||
by 10% - 15%.
|
||||
|
||||
Reference in New Issue
Block a user