Skip to content

Commit eb96dd5

Browse files
kbayescopybara-github
authored andcommitted
Reduce ccd_iterations from 50 to 35.
PiperOrigin-RevId: 808610578 Change-Id: I8755f9ba2902bf0805b7ded07ee6e048e404a31f
1 parent 4b8454b commit eb96dd5

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

include/mujoco/experimental/usd/mjcPhysics/sceneAPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
674674
///
675675
/// | ||
676676
/// | -- | -- |
677-
/// | Declaration | `uniform int mjc:option:ccd_iterations = 50` |
677+
/// | Declaration | `uniform int mjc:option:ccd_iterations = 35` |
678678
/// | C++ Type | int |
679679
/// | \ref Usd_Datatypes "Usd Type" | SdfValueTypeNames->Int |
680680
/// | \ref SdfVariability "Variability" | SdfVariabilityUniform |

mjx/mujoco/mjx/_src/collision_driver_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def test_plane_ellipsoid(self):
229229

230230
_ELLIPSOID_ELLIPSOID = """
231231
<mujoco>
232+
<option ccd_iterations="50"/>
232233
<worldbody>
233234
<body>
234235
<geom size=".15 .03 .05" type="ellipsoid"/>

src/engine/engine_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void mj_defaultOption(mjOption* opt) {
119119
opt->iterations = 100;
120120
opt->ls_iterations = 50;
121121
opt->noslip_iterations = 0;
122-
opt->ccd_iterations = 50;
122+
opt->ccd_iterations = 35;
123123
opt->disableflags = 0;
124124
opt->enableflags = 0;
125125
opt->disableactuator = 0;

src/experimental/usd/mjcPhysics/generatedSchema.usda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class "MjcSceneAPI" (
175175
doc = """Determines the rate (in Hz) at which an external API allows
176176
the update function to be executed."""
177177
)
178-
uniform int mjc:option:ccd_iterations = 50 (
178+
uniform int mjc:option:ccd_iterations = 35 (
179179
displayName = "CCD Iterations"
180180
doc = "Maximum number of iterations of the algorithm used for convex collisions."
181181
)

src/experimental/usd/mjcPhysics/schema.usda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class "MjcSceneAPI"
283283
doc = """Tolerance threshold used for early termination of the Noslip solver."""
284284
)
285285

286-
uniform int mjc:option:ccd_iterations = 50 (
286+
uniform int mjc:option:ccd_iterations = 35 (
287287
customData = {
288288
string apiName = "CCDIterations"
289289
}

0 commit comments

Comments
 (0)