![]() |
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.
|
The TagDetectionHandler class is responsible for managing all of the different detectors that Autonomy_Software uses for AR tag detection. Whether it be for detection using OpenCV's ArUco or detection using a custom tensorflow model, the detectors are created and stored here. More...
#include <TagDetectionHandler.h>
Public Types | |
enum class | TagDetectors { TAGDETECTOR_START , eHeadMainCam , eFrameLeftCam , eFrameRightCam , TAGDETECTOR_END } |
Public Member Functions | |
TagDetectionHandler () | |
Construct a new TagDetectionHandler::TagDetectionHandler object. | |
~TagDetectionHandler () | |
Destroy the TagDetectionHandler::TagDetectionHandler object. | |
void | StartAllDetectors () |
Signals all detectors to start their threads. | |
void | StartRecording () |
Signal the RecordingHandler to start recording video feeds from the TagDetectionHandler. | |
void | StopAllDetectors () |
Signals all detectors to stop their threads. | |
void | StopRecording () |
Signal the RecordingHandler to stop recording video feeds from the TagDetectionHandler. | |
TagDetector * | GetTagDetector (TagDetectors eDetectorName) |
Accessor for TagDetector detectors. | |
Private Attributes | |
TagDetector * | m_pTagDetectorMainCam |
TagDetector * | m_pTagDetectorLeftCam |
TagDetector * | m_pTagDetectorRightCam |
RecordingHandler * | m_pRecordingHandler |
The TagDetectionHandler class is responsible for managing all of the different detectors that Autonomy_Software uses for AR tag detection. Whether it be for detection using OpenCV's ArUco or detection using a custom tensorflow model, the detectors are created and stored here.
|
strong |
TagDetectionHandler::TagDetectionHandler | ( | ) |
Construct a new TagDetectionHandler::TagDetectionHandler object.
TagDetectionHandler::~TagDetectionHandler | ( | ) |
Destroy the TagDetectionHandler::TagDetectionHandler object.
void TagDetectionHandler::StartAllDetectors | ( | ) |
Signals all detectors to start their threads.
void TagDetectionHandler::StartRecording | ( | ) |
Signal the RecordingHandler to start recording video feeds from the TagDetectionHandler.
void TagDetectionHandler::StopAllDetectors | ( | ) |
Signals all detectors to stop their threads.
void TagDetectionHandler::StopRecording | ( | ) |
Signal the RecordingHandler to stop recording video feeds from the TagDetectionHandler.
TagDetector * TagDetectionHandler::GetTagDetector | ( | TagDetectors | eDetectorName | ) |
Accessor for TagDetector detectors.
eDetectorName | - The name of the detector to retrieve. An enum defined in and specific to this class. |