![]() |
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 ObjectDetectionHandler class is responsible for managing all of the different detectors that Autonomy_Software uses for object and obstacle detection. (excluding AR tags) Whether it be for simple detection using a depth measure and blobs or detection using a custom tensorflow model, the detectors are created and stored here. More...
#include <ObjectDetectionHandler.h>
Public Types | |
enum class | ObjectDetectors { OBJECTDETECTOR_START , eHeadMainCam , OBJECTDETECTOR_END } |
Public Member Functions | |
ObjectDetectionHandler () | |
Construct a new ObjectDetectionHandler::ObjectDetectionHandler object. | |
~ObjectDetectionHandler () | |
Destroy the ObjectDetectionHandler::ObjectDetectionHandler object. | |
void | StartAllDetectors () |
Signals all detectors to start their threads. | |
void | StartRecording () |
Signal the RecordingHandler to start recording feeds from the detectors. | |
void | StopAllDetectors () |
Signals all detectors to stop their threads. | |
void | StopRecording () |
Signal the RecordingHandler to stop recording feeds from the detectors. | |
std::shared_ptr< ObjectDetector > | GetObjectDetector (ObjectDetectors eDetectorName) |
Accessor for ObjectDetector detectors. | |
Private Attributes | |
std::shared_ptr< ObjectDetector > | m_pObjectDetectorMainCam |
std::unique_ptr< RecordingHandler > | m_pRecordingHandler |
The ObjectDetectionHandler class is responsible for managing all of the different detectors that Autonomy_Software uses for object and obstacle detection. (excluding AR tags) Whether it be for simple detection using a depth measure and blobs or detection using a custom tensorflow model, the detectors are created and stored here.
|
strong |
ObjectDetectionHandler::ObjectDetectionHandler | ( | ) |
Construct a new ObjectDetectionHandler::ObjectDetectionHandler object.
ObjectDetectionHandler::~ObjectDetectionHandler | ( | ) |
Destroy the ObjectDetectionHandler::ObjectDetectionHandler object.
void ObjectDetectionHandler::StartAllDetectors | ( | ) |
Signals all detectors to start their threads.
void ObjectDetectionHandler::StartRecording | ( | ) |
Signal the RecordingHandler to start recording feeds from the detectors.
void ObjectDetectionHandler::StopAllDetectors | ( | ) |
Signals all detectors to stop their threads.
void ObjectDetectionHandler::StopRecording | ( | ) |
Signal the RecordingHandler to stop recording feeds from the detectors.
std::shared_ptr< ObjectDetector > ObjectDetectionHandler::GetObjectDetector | ( | ObjectDetectors | eDetectorName | ) |
Accessor for ObjectDetector detectors.
eDetectorName | - The name of the detector to retrieve. An enum defined in and specific to this class. |