From 4e3dc14f8ed6a0e50fa7b7fb484d991b7e93a28f Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Tue, 10 Sep 2024 15:13:02 -0700 Subject: [PATCH] Remove `model/humanoid100/humanoid100.xml` (used ``), replace with `model/humanoid/humanoid100.xml` (uses ``) PiperOrigin-RevId: 673123895 Change-Id: I0c3c6dac69d9fc12a6ea76d586c34503fc167bad --- doc/changelog.rst | 6 +- .../{humanoid100 => humanoid}/humanoid100.xml | 31 ++-- model/humanoid100/humanoid_body.xml | 158 ------------------ .../engine_util_sparse_benchmark_test.cc | 4 +- test/benchmark/parse_benchmark_test.cc | 2 +- test/benchmark/step_benchmark_test.cc | 2 +- test/engine/engine_support_test.cc | 2 +- test/sample/compile_test.sh | 2 +- 8 files changed, 23 insertions(+), 184 deletions(-) rename model/{humanoid100 => humanoid}/humanoid100.xml (88%) delete mode 100644 model/humanoid100/humanoid_body.xml diff --git a/doc/changelog.rst b/doc/changelog.rst index 34b2cf16..0e7576a2 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1030,7 +1030,7 @@ General become the default integrator in a future version. The table below shows the compute cost of the 627-DoF `humanoid100 - `__ model using different + `__ model using different integrators. "implicit (old)" uses dense RNE derivatives, "implicit (new)" is after the sparsification mentioned above. Timings were measured on a single core of an AMD 3995WX CPU. @@ -1057,7 +1057,7 @@ General duplicated in order to circumvent this limitation as they previously were. #. The non-zeros for the sparse constraint Jacobian matrix are now precounted and used for matrix memory allocation. For instance, the constraint Jacobian matrix from the `humanoid100 - `__ model, which previously + `__ 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. @@ -1105,7 +1105,7 @@ General 1. A more performant mju_transposeSparse has been implemented that doesn't require dense memory allocation. For a constraint Jacobian matrix from the - `humanoid100.xml `__ model, + `humanoid100.xml `__ model, this function is 35% faster. #. The function :ref:`mj_name2id` is now implemented using a hash function instead of a linear search for better performance. diff --git a/model/humanoid100/humanoid100.xml b/model/humanoid/humanoid100.xml similarity index 88% rename from model/humanoid100/humanoid100.xml rename to model/humanoid/humanoid100.xml index 3279e85c..e7fef05b 100644 --- a/model/humanoid100/humanoid100.xml +++ b/model/humanoid/humanoid100.xml @@ -19,8 +19,6 @@ Humanoid and 100 free primitive objects. --> - -