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.
Loading...
Searching...
No Matches
VerifyingMarkerState.h
Go to the documentation of this file.
1
11#ifndef VERIFYING_MARKER_STATE_H
12#define VERIFYING_MARKER_STATE_H
13
14#include "../interfaces/State.hpp"
15
16
22namespace statemachine
23{
24
32 {
33 private:
34 std::vector<int> m_vMarkerIDs;
35 int m_nMaxMarkerIDs;
36 bool m_bInitialized;
37
38 protected:
39 void Start() override;
40 void Exit() override;
41
42 public:
44 void Run() override;
45 States TriggerEvent(Event eEvent) override;
46 };
47} // namespace statemachine
48
49#endif // VERIFYINGMARKERSTATE_H
The abstract state class. All states inherit from this class.
Definition State.hpp:115
The VerifyingMarkerState class implements the Verifying Marker state for the Autonomy State Machine.
Definition VerifyingMarkerState.h:32
void Start() override
This method is called when the state is first started. It is used to initialize the state.
Definition VerifyingMarkerState.cpp:31
void Run() override
Run the state machine. Returns the next state.
Definition VerifyingMarkerState.cpp:83
States TriggerEvent(Event eEvent) override
Trigger an event in the state machine. Returns the next state.
Definition VerifyingMarkerState.cpp:98
VerifyingMarkerState()
Construct a new State object.
Definition VerifyingMarkerState.cpp:64
void Exit() override
This method is called when the state is exited. It is used to clean up the state.
Definition VerifyingMarkerState.cpp:49
Namespace containing all state machine related classes.
Definition State.hpp:23
Event
The events that can be triggered in the state machine.
Definition State.hpp:54
States
The states that the state machine can be in.
Definition State.hpp:31