This header file defines types and functions for a state machine called FaceOffSM. It defines an enum with 8 states for the state machine including Drive4Offset, Turn2Reload, and Reload. It also prototypes 3 public functions - RunFaceOffSM to run the state machine, StartFaceOffSM to initialize it, and QueryFaceOffSM to query the current state.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
46 views1 page
Faceoffsm
This header file defines types and functions for a state machine called FaceOffSM. It defines an enum with 8 states for the state machine including Drive4Offset, Turn2Reload, and Reload. It also prototypes 3 public functions - RunFaceOffSM to run the state machine, StartFaceOffSM to initialize it, and QueryFaceOffSM to query the current state.
// State definitions for use with the query function typedef enum { Drive4Offset, Turn2Reload, Drive4Offset2, Look4Reload, Drive2Reload, Look4Emitter, Drive2Emitter, Reload } FaceOffState_t ;