![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
The VerifyingMarkerState class implements the Verifying Marker state for the Autonomy State Machine. More...
#include <VerifyingMarkerState.h>
Public Member Functions | |
VerifyingMarkerState () | |
Construct a new State object. | |
void | Run () override |
Run the state machine. Returns the next state. | |
States | TriggerEvent (Event eEvent) override |
Trigger an event in the state machine. Returns the next state. | |
![]() | |
State (States eState) | |
Construct a new State object. | |
virtual | ~State ()=default |
Destroy the State object. | |
States | GetState () const |
Accessor for the State private member. | |
virtual std::string | ToString () const |
Accessor for the State private member. Returns the state as a string. | |
virtual bool | operator== (const State &other) const |
Checks to see if the current state is equal to the passed state. | |
virtual bool | operator!= (const State &other) const |
Checks to see if the current state is not equal to the passed state. | |
Protected Member Functions | |
void | Start () override |
This method is called when the state is first started. It is used to initialize the state. | |
void | Exit () override |
This method is called when the state is exited. It is used to clean up the state. | |
Private Attributes | |
std::vector< int > | m_vMarkerIDs |
int | m_nMaxMarkerIDs |
bool | m_bInitialized |
The VerifyingMarkerState class implements the Verifying Marker state for the Autonomy State Machine.
statemachine::VerifyingMarkerState::VerifyingMarkerState | ( | ) |
Construct a new State object.
|
overrideprotectedvirtual |
This method is called when the state is first started. It is used to initialize the state.
Reimplemented from statemachine::State.
|
overrideprotectedvirtual |
This method is called when the state is exited. It is used to clean up the state.
Reimplemented from statemachine::State.
|
overridevirtual |
Run the state machine. Returns the next state.
Implements statemachine::State.
Trigger an event in the state machine. Returns the next state.
eEvent | - The event to trigger. |
Implements statemachine::State.