From 431f96572e82c3c2ef950ffc0483b112a972d506 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Mon, 6 Oct 2025 02:50:09 -0700 Subject: [PATCH] Remove unused `mjOption.apirate`. PiperOrigin-RevId: 815633571 Change-Id: Ib98f3eb2df47f96fa1fe6e987a3a0cd23a9479f6 --- doc/XMLreference.rst | 7 ------ doc/XMLschema.rst | 14 +++++------ doc/changelog.rst | 8 +++--- doc/includes/references.h | 1 - .../experimental/usd/mjcPhysics/sceneAPI.h | 25 ------------------- .../experimental/usd/mjcPhysics/tokens.h | 4 --- include/mujoco/mjmodel.h | 1 - include/mujoco/mjxmacro.h | 1 - mjx/mujoco/mjx/_src/io_test.py | 2 +- mjx/mujoco/mjx/_src/types.py | 1 - python/mujoco/introspect/structs.py | 5 ---- simulate/simulate.cc | 1 - src/engine/engine_init.c | 1 - src/experimental/studio/app.cc | 1 - .../usd/mjcPhysics/generatedSchema.usda | 5 ---- src/experimental/usd/mjcPhysics/sceneAPI.cpp | 12 --------- src/experimental/usd/mjcPhysics/schema.usda | 9 ------- src/experimental/usd/mjcPhysics/tokens.cpp | 2 -- .../usd/plugins/mjcf/mujoco_to_usd.cc | 1 - src/experimental/usd/usd_to_mjspec.cc | 4 --- src/xml/xml_native_reader.cc | 5 ++-- src/xml/xml_native_writer.cc | 1 - .../usd/mjcPhysics/mjc_physics_scene_test.cc | 1 - .../usd/plugins/mjcf/mjcf_file_format_test.cc | 13 ---------- unity/Runtime/Bindings/MjBindings.cs | 1 - unity/Runtime/Components/MjGlobalSettings.cs | 1 - 26 files changed, 15 insertions(+), 112 deletions(-) diff --git a/doc/XMLreference.rst b/doc/XMLreference.rst index 9005f2f5..c49eee0a 100644 --- a/doc/XMLreference.rst +++ b/doc/XMLreference.rst @@ -308,13 +308,6 @@ adjust it properly through the XML. optimization-related applications, real-time is no longer good enough and instead it is desirable to run the simulation as fast as possible. In that case the time step should be made as large as possible. -.. _option-apirate: - -:at:`apirate`: :at-val:`real, "100"` - This parameter determines the rate (in Hz) at which an external API allows the update function to be executed. This - mechanism is used to simulate devices with limited communication bandwidth. It only affects the socket API and not - the physics simulation. - .. _option-impratio: :at:`impratio`: :at-val:`real, "1"` diff --git a/doc/XMLschema.rst b/doc/XMLschema.rst index 538e1b62..9651628d 100644 --- a/doc/XMLschema.rst +++ b/doc/XMLschema.rst @@ -10,19 +10,19 @@ | :ref:`option | \* | :class: mjcf-attributes | |