11#ifndef VERIFYING_OBJECT_STATE_H
12#define VERIFYING_OBJECT_STATE_H
14#include "../interfaces/State.hpp"
15#include "../util/GeospatialOperations.hpp"
16#include "../vision/objects/ObjectDetector.h"
38 std::vector<std::shared_ptr<ObjectDetector>> m_vObjectDetectors;
39 std::chrono::system_clock::time_point m_tmObjectVerificationStartTime;
40 std::chrono::system_clock::time_point m_tmObjectLastSeenTime;
43 void Start()
override;
The abstract state class. All states inherit from this class.
Definition State.hpp:115
The VerifyingObjectState class implements the Verifying Object state for the Autonomy State Machine.
Definition VerifyingObjectState.h:34
void Start() override
This method is called when the state is first started. It is used to initialize the state.
Definition VerifyingObjectState.cpp:34
States TriggerEvent(Event eEvent) override
Trigger an event in the state machine. Returns the next state.
Definition VerifyingObjectState.cpp:153
VerifyingObjectState()
Accessor for the State private member. Returns the state as a string.
Definition VerifyingObjectState.cpp:70
void Exit() override
This method is called when the state is exited. It is used to clean up the state.
Definition VerifyingObjectState.cpp:56
void Run() override
Run the state machine. Returns the next state.
Definition VerifyingObjectState.cpp:89
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
This struct is used by the WaypointHandler class to store location, size, and type information about ...
Definition GeospatialOperations.hpp:392