imu-sensor-rigid-body#
Code |
PS.001 |
|---|---|
Tags |
🔑 |
Summary#
An IsaacImuSensor prim must be a descendant of a prim that has PhysicsRigidBodyAPI applied.
Examples#
# Invalid: IsaacImuSensor is not under a RigidBodyAPI prim
def Xform "Robot"
{
def IsaacImuSensor "IMU" {}
}
# Valid: IsaacImuSensor is parented under a prim with PhysicsRigidBodyAPI
def Xform "Robot"
{
def Xform "Base" (
prepend apiSchemas = ["PhysicsRigidBodyAPI"]
)
{
def IsaacImuSensor "IMU" {}
}
}
How to comply#
Place the
IsaacImuSensorprim as a child (or descendant) of a prim that hasPhysicsRigidBodyAPIapplied.The rigid body prim must be an ancestor in the prim hierarchy, not a sibling.