11#ifndef VERIFYING_OBJECT_STATE_H
12#define VERIFYING_OBJECT_STATE_H
14#include "../handlers/ObjectDetectionHandler.h"
15#include "../interfaces/State.hpp"
16#include "../util/GeospatialOperations.hpp"
17#include "../vision/objects/ObjectDetector.h"
41 std::vector<std::shared_ptr<ObjectDetector>> m_vObjectDetectors;
42 std::chrono::system_clock::time_point m_tmObjectVerificationStartTime;
43 std::chrono::system_clock::time_point m_tmObjectLastSeenTime;
46 std::chrono::system_clock::time_point m_tmLastRunTime;
47 double m_dTotalValidTime;
50 void Start()
override;
The abstract state class. All states inherit from this class.
Definition State.hpp:110
The VerifyingObjectState class implements the Verifying Object state for the Autonomy State Machine.
Definition VerifyingObjectState.h:36
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:164
VerifyingObjectState()
Accessor for the State private member. Returns the state as a string.
Definition VerifyingObjectState.cpp:74
void Exit() override
This method is called when the state is exited. It is used to clean up the state.
Definition VerifyingObjectState.cpp:60
void Run() override
Run the state machine. Returns the next state.
Definition VerifyingObjectState.cpp:93
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:52
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:423
Represents a single detected object.
Definition ObjectDetectionUtility.hpp:73