You are on page 1of 1

/****************************************************************************

Template header file for Hierarchical Sate Machines AKA StateCharts


02/08/12 adjsutments for use with the Events and Services Framework Gen2
3/17/09 Fixed prototpyes to use Event_t
****************************************************************************/

#ifndef OffenseSM_H
#define OffenseSM_H

// typedefs for the states


// State definitions for use with the query function
typedef enum { OffDrive4Offset, Look4Goal, Drive2Goal, Fire, Rest} OffenseState_t
;

// Public Function Prototypes


ES_Event_t RunOffenseSM ( ES_Event_t CurrentEvent );
void StartOffenseSM ( ES_Event_t CurrentEvent );
OffenseState_t QueryOffenseSM ( void );

#endif /*OffenseSM_H */

You might also like