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
VerifyingObjectState.h
Go to the documentation of this file.
1
10
11#ifndef VERIFYING_OBJECT_STATE_H
12#define VERIFYING_OBJECT_STATE_H
13
18#include <chrono>
19
20
26namespace statemachine
27{
28
36 {
37 private:
38 bool m_bInitialized;
39 geoops::Waypoint m_stGoalWaypoint;
40 objectdetectutils::Object m_stBestObject;
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;
44
45 // Time-based hit rate tracking
46 std::chrono::system_clock::time_point m_tmLastRunTime;
47 double m_dTotalValidTime;
48
49 protected:
50 void Start() override;
51 void Exit() override;
52
53 public:
55 void Run() override;
56 States TriggerEvent(Event eEvent) override;
57 };
58} // namespace statemachine
59
60#endif // VERIFYINGOBJECTSTATE_H
Defines and implements functions related to operations on location or orientation coordinate systems ...
Defines the ObjectDetectionHandler class.
Implements the ObjectDetector class.
Abstract State Implementation for Autonomy State Machine.
State(States eState)
Construct a new State object.
Definition State.hpp:145
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