You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/experimental/usd/mjcPhysics/generatedSchema.usda
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
)
5
5
6
6
class "MjcSceneAPI" (
7
-
doc = "API providing global simulation options for Mujoco."
7
+
doc = "API providing global simulation options for MuJoCo."
8
8
)
9
9
{
10
10
uniform bool mjc:flag:actuation = 1 (
@@ -221,23 +221,31 @@ class "MjcSceneAPI" (
221
221
}
222
222
223
223
class "MjcSiteAPI" (
224
-
doc = "API describing a Mujoco site."
224
+
doc = "API describing a MuJoCo site."
225
225
)
226
226
{
227
+
uniform int mjc:group = 0 (
228
+
displayName = "Group"
229
+
doc = "Integer MuJoCo group to which the collider belongs."
230
+
)
227
231
}
228
232
229
233
class "MjcCollisionAPI" (
230
-
doc = "API describing a Mujoco collider."
234
+
doc = "API describing a MuJoCo collider."
231
235
)
232
236
{
237
+
uniform int mjc:group = 0 (
238
+
displayName = "Group"
239
+
doc = "Integer MuJoCo group to which the collider belongs."
240
+
)
233
241
uniform bool mjc:shellinertia = 0 (
234
242
displayName = "Shell Inertia"
235
243
doc = "Enables handling of the inertia assuming mass is concentrated on the surface."
236
244
)
237
245
}
238
246
239
247
class "MjcMeshCollisionAPI" (
240
-
doc = "API describing a Mujoco mesh collider."
248
+
doc = "API describing a MuJoCo mesh collider."
241
249
)
242
250
{
243
251
uniform token mjc:inertia = "legacy" (
@@ -318,6 +326,10 @@ class MjcTransmission "MjcTransmission" (
318
326
uniform double[] mjc:gear = [1, 0, 0, 0, 0, 0] (
319
327
doc = "This attribute scales the length (and consequently moment arms, velocity and force) of the actuator, for all transmission types. It is different from the gain in the force generation mechanism, because the gain only scales the force output and does not affect the length, moment arms and velocity. For actuators with scalar transmission, only the first element of this vector is used. The remaining elements are needed for joint, jointinparent and site transmissions where this attribute is used to specify 3D force and torque axes."
320
328
)
329
+
uniform int mjc:group = 0 (
330
+
displayName = "Group"
331
+
doc = "Integer MuJoCo group to which the transmission belongs."
332
+
)
321
333
uniform bool mjc:jointInParent = 0 (
322
334
doc = "If true and applied to ball and free joints, the 3d rotation axis given by gear is defined in the parent frame (which is the world frame for free joints) rather than the child frame."
323
335
)
@@ -363,7 +375,7 @@ class MjcKeyframe "MjcKeyframe" (
363
375
}
364
376
365
377
class "MjcJointAPI" (
366
-
doc = "API describing a Mujoco joint."
378
+
doc = "API describing a MuJoCo joint."
367
379
)
368
380
{
369
381
uniform token mjc:actuatorfrclimited = "auto" (
@@ -388,6 +400,10 @@ class "MjcJointAPI" (
388
400
uniform double mjc:frictionloss = 0 (
389
401
doc = "Friction loss due to dry friction. This value is the same for all degrees of freedom created by this joint. Semantically friction loss does not make sense for free joints, but the compiler allows it. To enable friction loss, set this attribute to a positive value."
390
402
)
403
+
uniform int mjc:group = 0 (
404
+
displayName = "Group"
405
+
doc = "Integer MuJoCo group to which the joint belongs."
406
+
)
391
407
uniform double mjc:margin = 0 (
392
408
doc = "The distance threshold below which limits become active. Recall that the Constraint solver normally generates forces as soon as a constraint becomes active, even if the margin parameter makes that happen at a distance. This attribute together with solreflimit and solimplimit can be used to model a soft joint limit."
Copy file name to clipboardExpand all lines: src/experimental/usd/mjcPhysics/schema.usda
+37-6Lines changed: 37 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ class "MjcSceneAPI"
98
98
customData = {
99
99
string className = "SceneAPI"
100
100
}
101
-
doc = """API providing global simulation options for Mujoco."""
101
+
doc = """API providing global simulation options for MuJoCo."""
102
102
103
103
inherits = </APISchemaBase>
104
104
)
@@ -516,22 +516,37 @@ class "MjcSiteAPI"
516
516
customData = {
517
517
string className = "SiteAPI"
518
518
}
519
-
doc = """API describing a Mujoco site."""
519
+
doc = """API describing a MuJoCo site."""
520
520
521
521
inherits = </APISchemaBase>
522
522
)
523
-
{}
523
+
{
524
+
uniform int mjc:group = 0 (
525
+
customData = {
526
+
string apiName = "Group"
527
+
}
528
+
displayName = "Group"
529
+
doc = """Integer MuJoCo group to which the collider belongs."""
530
+
)
531
+
}
524
532
525
533
class "MjcCollisionAPI"
526
534
(
527
535
customData = {
528
536
string className = "CollisionAPI"
529
537
}
530
-
doc = """API describing a Mujoco collider."""
538
+
doc = """API describing a MuJoCo collider."""
531
539
532
540
inherits = </APISchemaBase>
533
541
)
534
542
{
543
+
uniform int mjc:group = 0 (
544
+
customData = {
545
+
string apiName = "Group"
546
+
}
547
+
displayName = "Group"
548
+
doc = """Integer MuJoCo group to which the collider belongs."""
549
+
)
535
550
uniform bool mjc:shellinertia = False (
536
551
customData = {
537
552
string apiName = "ShellInertia"
@@ -546,7 +561,7 @@ class "MjcMeshCollisionAPI"
546
561
customData = {
547
562
string className = "MeshCollisionAPI"
548
563
}
549
-
doc = """API describing a Mujoco mesh collider."""
564
+
doc = """API describing a MuJoCo mesh collider."""
550
565
551
566
inherits = </APISchemaBase>
552
567
)
@@ -579,6 +594,14 @@ class MjcTransmission "MjcTransmission"
579
594
inherits = </Typed>
580
595
)
581
596
{
597
+
uniform int mjc:group = 0 (
598
+
customData = {
599
+
string apiName = "Group"
600
+
}
601
+
displayName = "Group"
602
+
doc = """Integer MuJoCo group to which the transmission belongs."""
603
+
)
604
+
582
605
rel mjc:target (
583
606
doc = "Actuator transmission target."
584
607
)
@@ -728,11 +751,19 @@ class "MjcJointAPI"
728
751
customData = {
729
752
string className = "JointAPI"
730
753
}
731
-
doc = """API describing a Mujoco joint."""
754
+
doc = """API describing a MuJoCo joint."""
732
755
733
756
inherits = </APISchemaBase>
734
757
)
735
758
{
759
+
uniform int mjc:group = 0 (
760
+
customData = {
761
+
string apiName = "Group"
762
+
}
763
+
displayName = "Group"
764
+
doc = """Integer MuJoCo group to which the joint belongs."""
765
+
)
766
+
736
767
uniform double[] mjc:springdamper = [0, 0] (
737
768
doc = "When both numbers are positive, the compiler will override any stiffness and damping values specified with the attributes below, and will instead set them automatically so that the resulting mass-spring-damper for this joint has the desired time constant (first value) and damping ratio (second value). This is done by taking into account the joint inertia in the model reference configuration. Note that the format is the same as the solref parameter of the constraint solver."
0 commit comments