@@ -21,35 +21,41 @@ $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 --> $GameControllerStop
24+ OFF --> $Stop
2525 STOPPED --> @RobotStatePenalty, @CancelGoals, @StopWalking, @PlayAnimationDynup + direction:walkready + r:false, @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
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 --> $GameControllerStop
36+ STOPPED --> @RobotStateFallen, @CancelGoals, @StopWalking, @Wait
37+ FREE --> @RobotStateFallen, @CancelGoals, @StopWalking, @RobotStateGettingUp, @PlayAnimationStandupFront, @SetSquat + squat:true
38+ FALLEN_BACK --> $GameControllerStop
39+ STOPPED --> @RobotStateFallen, @CancelGoals, @StopWalking, @Wait
40+ FREE --> @RobotStateFallen, @CancelGoals, @StopWalking, @RobotStateGettingUp, @SetFootZero, @PlayAnimationFallingBack, @PlayAnimationStandupBack, @SetSquat + squat:true
41+ FALLEN_RIGHT --> $GameControllerStop
42+ STOPPED --> @RobotStateFallen, @CancelGoals, @StopWalking, @Wait
43+ FREE --> @RobotStateFallen, @CancelGoals, @StopWalking, @PlayAnimationTurningFrontRight
44+ FALLEN_LEFT --> $GameControllerStop
45+ STOPPED --> @RobotStateFallen, @CancelGoals, @StopWalking, @Wait
46+ FREE --> @RobotStateFallen, @CancelGoals, @StopWalking, @PlayAnimationTurningFrontLeft
47+ NOT_FALLEN --> $Falling
48+ FALLING_LEFT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingLeft, @Wait
49+ FALLING_RIGHT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingRight, @Wait
50+ FALLING_FRONT --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingFront, @Wait
51+ FALLING_BACK --> @RobotStateFalling, @CancelGoals, @StopWalking, @PlayAnimationFallingBack, @Wait
52+ NOT_FALLING --> $InSquat
53+ YES --> @RobotStateGettingUp, @Complain, @PlayAnimationDynup + direction:rise, @SetSquat + squat:false
54+ NO --> $PlayingExternalAnimation
55+ ANIMATION_RUNNING --> @StopWalking, @RobotStateAnimationRunning, @Wait
56+ ANIMATION_SERVER_TIMEOUT --> @CancelAnimation
57+ FREE --> $RecentWalkingGoals
58+ STAY_WALKING --> @RobotStateWalking, @Wait
59+ NOT_WALKING --> $RecentKickGoals
60+ KICKING --> @RobotStateKicking, @Wait
61+ NOT_KICKING --> @RobotStateControllable, @Wait
0 commit comments