This header file defines functions and enumerations for a hierarchical state machine to control an offensive robot. It defines enumerations for the different offense states like reloading, rotating to shoot, and shooting. It also prototypes public functions for running and starting the offense state machine, querying the current state, and resetting states like set faceoff false and reset retro edges.
This header file defines functions and enumerations for a hierarchical state machine to control an offensive robot. It defines enumerations for the different offense states like reloading, rotating to shoot, and shooting. It also prototypes public functions for running and starting the offense state machine, querying the current state, and resetting states like set faceoff false and reset retro edges.
This header file defines functions and enumerations for a hierarchical state machine to control an offensive robot. It defines enumerations for the different offense states like reloading, rotating to shoot, and shooting. It also prototypes public functions for running and starting the offense state machine, querying the current state, and resetting states like set faceoff false and reset retro edges.
This header file defines functions and enumerations for a hierarchical state machine to control an offensive robot. It defines enumerations for the different offense states like reloading, rotating to shoot, and shooting. It also prototypes public functions for running and starting the offense state machine, querying the current state, and resetting states like set faceoff false and reset retro edges.
// State definitions for use with the query function typedef enum { RELOADING, /*LINE_FOLLOWING_OFFENSE,*/ ROTATING_TO_SHOOT, MOVING_BACKWARD, FINDING_SHOT, SHOOTING, ROTATING_TO_DEFINITELY_SHOOT } OffenseState_t ;