0% found this document useful (0 votes)
63 views1 page

Unloadrecycling

This header file defines types and function prototypes for a hierarchical state machine for unloading. It defines an enum for the different states of unloading including going to a beacon, getting tape, and recycling. It also prototypes functions for running and starting the unload state machine, querying the current state, and checking if something is near or far.

Uploaded by

api-438120791
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
63 views1 page

Unloadrecycling

This header file defines types and function prototypes for a hierarchical state machine for unloading. It defines an enum for the different states of unloading including going to a beacon, getting tape, and recycling. It also prototypes functions for running and starting the unload state machine, querying the current state, and checking if something is near or far.

Uploaded by

api-438120791
Copyright
© © All Rights Reserved
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
You are on page 1/ 1

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

Unload 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 Unloading_H
#define Unloading_H

// typedefs for the states


// State definitions for use with the query function
typedef enum { GoToBeacon, GetTape, GoToRecycling, ActivateRecycling,
OppositeRecycling, OpenGate, CloseGate } UnloadState_t;

// Public Function Prototypes

ES_Event_t RunUnloadingSM(ES_Event_t CurrentEvent);


void StartUnloadSM(ES_Event_t CurrentEvent);
UnloadState_t QueryUnloadSM(void);
uint8_t QueryNearFar(void);
#endif /*SHMUnload_H */

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy