Monitor robot posture demo¶
- async test.demo_robot_posture.test_ObserveRobotPosture()[source]¶
Monitor robot posture demo
Monitor robot posture change events, and the machine reports the current posture RobotPosture (when the posture changes)
When the robot is lying on its side (LYING) or lying down (LYINGDOWN), stop monitoring and announce “I fell”
# ObserveFallClimbResponse.status
# STAND = 1; //Stand
# SPLITS_LEFT = 2; //Left lunge
# SPLITS_RIGHT = 3; //Right lunge
# SITDOWN = 4; //Sit down
# SQUATDOWN = 5; //Squat down
# KNEELING = 6; //Kneel down
# LYING = 7; //Lying on your side
# LYINGDOWN = 8; //Lying down
# SPLITS_LEFT_1 = 9; //Left split
# SPLITS_RIGHT_2 = 10;//Right split
# BEND = 11;//Bent over