@@ -21,33 +21,35 @@ $StartHCM
2121 TEACH --> @RobotStateRecord, @SetTorque + stiff:false, @Wait
2222 HOLD --> @SetTorque + stiff:true, @Wait
2323 FINISHED --> @SetTorque + stiff:true + r:false, @RobotStateControllable, @PlayAnimationDynup + direction:walkready + r:false
24- OFF --> $Stop
25- STOPPED --> @RobotStatePenalty, @CancelGoals, @StopWalking, @PlayAnimationDynup + direction:walkready + r:false, @Wait
26- FREE -->$CheckIMU
27- IMU_NOT_STARTED --> @RobotStateStartup, @WaitForIMUStartup
28- PROBLEM --> @RobotStateHardwareProblem, @WaitForIMU
29- OKAY --> $CheckPressureSensor
30- PRESSURE_NOT_STARTED --> @RobotStateStartup, @WaitForPressureStartup
31- PROBLEM --> @RobotStateHardwareProblem, @WaitForPressure
32- OKAY --> $PickedUp
33- PICKED_UP --> @RobotStatePickedUp, @PlayAnimationDynup + direction:walkready + r:false, @Wait
34- ON_GROUND --> $Fallen
35- FALLEN_FRONT --> @RobotStateFallen, @CancelGoals, @StopWalking, @RobotStateGettingUp, @PlayAnimationStandupFront, @SetSquat + squat:true
36- FALLEN_BACK --> @RobotStateFallen, @CancelGoals, @StopWalking, @RobotStateGettingUp, @SetFootZero, @PlayAnimationFallingBack, @PlayAnimationStandupBack, @SetSquat + squat:true
37- FALLEN_RIGHT --> @RobotStateFallen, @CancelGoals, @StopWalking, @PlayAnimationTurningFrontRight
38- FALLEN_LEFT --> @RobotStateFallen, @CancelGoals, @StopWalking, @PlayAnimationTurningFrontLeft
39- NOT_FALLEN --> $Falling
40- FALLING_LEFT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingLeft, @Wait
41- FALLING_RIGHT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingRight, @Wait
42- FALLING_FRONT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingFront, @Wait
43- FALLING_BACK --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingBack, @Wait
44- NOT_FALLING --> $InSquat
45- YES --> @RobotStateGettingUp, @Complain, @PlayAnimationDynup + direction:rise, @SetSquat + squat:false
46- NO --> $PlayingExternalAnimation
47- ANIMATION_RUNNING --> @StopWalking, @RobotStateAnimationRunning, @Wait
48- ANIMATION_SERVER_TIMEOUT --> @CancelAnimation
49- FREE --> $RecentWalkingGoals
50- STAY_WALKING --> @RobotStateWalking, @Wait
51- NOT_WALKING --> $RecentKickGoals
52- KICKING --> @RobotStateKicking, @Wait
53- NOT_KICKING --> @RobotStateControllable, @Wait
24+ OFF --> $GameControllerStop
25+ STOPPED --> @RobotStatePenalty, @CancelGoals, @StopWalking, @Wait
26+ FREE -> $Stop
27+ STOPPED --> @RobotStatePenalty, @CancelGoals, @StopWalking, @PlayAnimationDynup + direction:walkready + r:false, @Wait
28+ FREE -->$CheckIMU
29+ IMU_NOT_STARTED --> @RobotStateStartup, @WaitForIMUStartup
30+ PROBLEM --> @RobotStateHardwareProblem, @WaitForIMU
31+ OKAY --> $CheckPressureSensor
32+ PRESSURE_NOT_STARTED --> @RobotStateStartup, @WaitForPressureStartup
33+ PROBLEM --> @RobotStateHardwareProblem, @WaitForPressure
34+ OKAY --> $PickedUp
35+ PICKED_UP --> @RobotStatePickedUp, @PlayAnimationDynup + direction:walkready + r:false, @Wait
36+ ON_GROUND --> $Fallen
37+ FALLEN_FRONT --> @RobotStateFallen, @CancelGoals, @StopWalking, @RobotStateGettingUp, @PlayAnimationStandupFront, @SetSquat + squat:true
38+ FALLEN_BACK --> @RobotStateFallen, @CancelGoals, @StopWalking, @RobotStateGettingUp, @SetFootZero, @PlayAnimationFallingBack, @PlayAnimationStandupBack, @SetSquat + squat:true
39+ FALLEN_RIGHT --> @RobotStateFallen, @CancelGoals, @StopWalking, @PlayAnimationTurningFrontRight
40+ FALLEN_LEFT --> @RobotStateFallen, @CancelGoals, @StopWalking, @PlayAnimationTurningFrontLeft
41+ NOT_FALLEN --> $Falling
42+ FALLING_LEFT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingLeft, @Wait
43+ FALLING_RIGHT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingRight, @Wait
44+ FALLING_FRONT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingFront, @Wait
45+ FALLING_BACK --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingBack, @Wait
46+ NOT_FALLING --> $InSquat
47+ YES --> @RobotStateGettingUp, @Complain, @PlayAnimationDynup + direction:rise, @SetSquat + squat:false
48+ NO --> $PlayingExternalAnimation
49+ ANIMATION_RUNNING --> @StopWalking, @RobotStateAnimationRunning, @Wait
50+ ANIMATION_SERVER_TIMEOUT --> @CancelAnimation
51+ FREE --> $RecentWalkingGoals
52+ STAY_WALKING --> @RobotStateWalking, @Wait
53+ NOT_WALKING --> $RecentKickGoals
54+ KICKING --> @RobotStateKicking, @Wait
55+ NOT_KICKING --> @RobotStateControllable, @Wait
0 commit comments