Duck state sample
duck_monitorCheck the robot's current state: driving policy, commanded vs actual velocity, joint positions, fall detection, and safety flags. Use it to verify movement or assess posture before and after actions.
Instructions
One robot.state frame: which policy is driving, the velocity requested vs applied (and what limited it), joints, gravity in the body frame (≈[0,0,-1] when upright — a large X or Y component means it has fallen), odometry, and the safety flags (fallen, limp, busy). Read-only and always safe to call. Use it to confirm a walk actually moved the robot, or to check posture before/after a behavior. For battery and temps use duck_health.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||