Skip to content

Commit 7e57a6b

Browse files
havesscopybara-github
authored andcommitted
Add missing actuatorgroupdisable default to mjcPhysics schema.
PiperOrigin-RevId: 781487140 Change-Id: I7b0ff3a015e0c6b229e5409455a648f6d2399617
1 parent e7212d8 commit 7e57a6b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ class MjcPhysicsSceneAPI : public UsdAPISchemaBase {
773773
///
774774
/// | ||
775775
/// | -- | -- |
776-
/// | Declaration | `uniform int[] mjc:option:actuatorgroupdisable` |
776+
/// | Declaration | `uniform int[] mjc:option:actuatorgroupdisable = []` |
777777
/// | C++ Type | VtArray<int> |
778778
/// | \ref Usd_Datatypes "Usd Type" | SdfValueTypeNames->IntArray |
779779
/// | \ref SdfVariability "Variability" | SdfVariabilityUniform |

src/experimental/usd/mjcPhysics/generatedSchema.usda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class "MjcSceneAPI" (
9999
displayName = "Solver Warm-Starting Toggle"
100100
doc = "Enables warm-starting of the constraint solver, using the solution from the previous time step to initialize the iterative optimization."
101101
)
102-
uniform int[] mjc:option:actuatorgroupdisable (
102+
uniform int[] mjc:option:actuatorgroupdisable = [] (
103103
displayName = "Actuator Group Disable"
104104
doc = "List of actuator groups to disable."
105105
)

src/experimental/usd/mjcPhysics/schema.usda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ class "MjcSceneAPI"
318318
Distance Field collisions."""
319319
)
320320

321-
uniform int[] mjc:option:actuatorgroupdisable (
321+
uniform int[] mjc:option:actuatorgroupdisable = [] (
322322
customData = {
323323
string apiName = "ActuatorGroupDisable"
324324
}

0 commit comments

Comments
 (0)