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
TagDetectionHandler.h
Go to the documentation of this file.
1
11#ifndef TAG_DETECTION_HANDLER_H
12#define TAG_DETECTION_HANDLER_H
13
14#include "../vision/aruco/TagDetector.h"
15#include "RecordingHandler.h"
16
17
28{
29 private:
31 // Declare private class member variables.
33
34 std::shared_ptr<TagDetector> m_pTagDetectorMainCam;
35 std::unique_ptr<RecordingHandler> m_pRecordingHandler;
36
37 public:
39 // Define public enumerators specific to this class.
41
42 enum class TagDetectors // Enum for different cameras that detectors are being ran on.
43 {
44 TAGDETECTOR_START,
45 eHeadMainCam,
46 TAGDETECTOR_END
47 };
48
50 // Declare public class methods and variables.
52
55 void StartAllDetectors();
56 void StartRecording();
57 void StopAllDetectors();
58 void StopRecording();
59
61 // Accessors.
63
64 std::shared_ptr<TagDetector> GetTagDetector(TagDetectors eDetectorName);
65};
66
67#endif
Defines the RecordingHandler class.
The TagDetectionHandler class is responsible for managing all of the different detectors that Autonom...
Definition TagDetectionHandler.h:28
void StopAllDetectors()
Signals all detectors to stop their threads.
Definition TagDetectionHandler.cpp:98
void StopRecording()
Signal the RecordingHandler to stop recording video feeds from the TagDetectionHandler.
Definition TagDetectionHandler.cpp:116
void StartAllDetectors()
Signals all detectors to start their threads.
Definition TagDetectionHandler.cpp:72
void StartRecording()
Signal the RecordingHandler to start recording video feeds from the TagDetectionHandler.
Definition TagDetectionHandler.cpp:85
std::shared_ptr< TagDetector > GetTagDetector(TagDetectors eDetectorName)
Accessor for TagDetector detectors.
Definition TagDetectionHandler.cpp:132
TagDetectionHandler()
Construct a new TagDetectionHandler::TagDetectionHandler object.
Definition TagDetectionHandler.cpp:22
~TagDetectionHandler()
Destroy the TagDetectionHandler::TagDetectionHandler object.
Definition TagDetectionHandler.cpp:59