joint-has-joint-state-api#

Code

DJ.002

Validator

CheckPrim

Compatibility

Tags

Summary#

Driven joints must implement proper joint state API for simulation state management.

Description#

Joint state APIs provide the necessary interface for tracking and controlling joint position, velocity, and other simulation properties. This ensures that driven joints can be properly monitored and controlled during simulation.

Why is it required?#

  • To enable real-time monitoring of joint states during simulation

  • To provide interface for joint control and feedback systems

  • To ensure compatibility with robotics and control frameworks

Examples#

# Valid: Joint with state API
def PhysicsRevoluteJoint "RevoluteJoint" ( 
    prepend apiSchemas = ["PhysxJointStateAPI:angular"] # Valid Joint State API
)
{
    rel physics:body0 = </link_0>
    rel physics:body1 = </link_1>
    uniform token physics:axis = "Y"
}

How to comply#

  • Apply PhysxJointStateAPI (axis-specific) to driven joints

  • Ensure joint state properties are properly exposed

  • Configure state tracking for simulation requirements

For More Information#