/****************************************************************************
Header file for ReloadSM

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

#ifndef ReloadSM_H
#define ReloadSM_H

// State definitions for use with the query function
typedef enum {AligningWithBeacon, DriveToTape,AlignWithBlackLine, LineFollow, SensingIRReload, MovingToRetry, WaitingForBall } ReloadSM_State_t ;
// Public Function Prototypes
bool InitReloadSM ( uint8_t Priority );
bool PostReloadSM( ES_Event_t ThisEvent );
ES_Event_t RunReloadSM ( ES_Event_t CurrentEvent );
void StartReloadSM ( ES_Event_t CurrentEvent );

ReloadSM_State_t QueryReloadSM (void);

#endif