11#ifndef APPROACHING_MARKER_STATE_H
12#define APPROACHING_MARKER_STATE_H
17#include "../util/vision/TagDetectionUtilty.hpp"
44 std::vector<std::shared_ptr<TagDetector>> m_vTagDetectors;
53 double m_dHeadingSetPoint;
54 double m_dDistanceFromTag;
55 bool m_bDriveBackwards;
59 bool m_bHasLastGeolocatedPosition;
60 bool m_bHasSeenTarget;
63 std::chrono::system_clock::time_point m_tmLastSeenTime;
64 std::chrono::system_clock::time_point m_tmLastLogTime;
65 bool m_bAlreadyPrintedLost;
66 bool m_bAlreadyPrintedVisualLostFallback;
69 void Start()
override;
Defines and implements functions related to operations on location or orientation coordinate systems ...
Abstract State Implementation for Autonomy State Machine.
Defines and implements different structs and functions used to detect if the rover is stuck.
Provides aruco detection and pose estimation capabilities in a multithreaded fashion using both OpenC...
void Start() override
This method is called when the state is first started. It is used to initialize the state.
Definition ApproachingMarkerState.cpp:33
void Exit() override
This method is called when the state is exited. It is used to clean up the state.
Definition ApproachingMarkerState.cpp:77
ApproachingMarkerState()
Accessor for the State private member. Returns the state as a string.
Definition ApproachingMarkerState.cpp:89
States TriggerEvent(Event eEvent) override
Trigger an event in the state machine. Returns the next state.
Definition ApproachingMarkerState.cpp:412
void Run() override
Run the state machine. Returns the next state.
Definition ApproachingMarkerState.cpp:110
State(States eState)
Construct a new State object.
Definition State.hpp:145
This class should be instantiated within another state to be used for detection of if the rover is st...
Definition StuckDetection.hpp:43
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