11#ifndef APPROACHING_OBJECT_STATE_H
12#define APPROACHING_OBJECT_STATE_H
14#include "../interfaces/State.hpp"
34 int m_nNumDetectionAttempts;
38 void Start()
override;
The ApproachingObjectState class implements the Approaching Object state for the Autonomy State Machi...
Definition ApproachingObjectState.h:32
void Exit() override
This method is called when the state is exited. It is used to clean up the state.
Definition ApproachingObjectState.cpp:46
void Start() override
This method is called when the state is first started. It is used to initialize the state.
Definition ApproachingObjectState.cpp:30
States TriggerEvent(Event eEvent) override
Trigger an event in the state machine. Returns the next state.
Definition ApproachingObjectState.cpp:93
ApproachingObjectState()
Construct a new State object.
Definition ApproachingObjectState.cpp:59
void Run() override
Run the state machine. Returns the next state.
Definition ApproachingObjectState.cpp:78
The abstract state class. All states inherit from this class.
Definition State.hpp:115
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