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
ObjectDetectionHandler.h
Go to the documentation of this file.
1
11#ifndef OBJECT_DETECTION_HANDLER_H
12#define OBJECT_DETECTION_HANDLER_H
13
14#include "../vision/objects/ObjectDetector.h"
15
16
27{
28 private:
30 // Declare private class member variables.
32
33 ObjectDetector* m_pObjectDetectorMainCam;
34 ObjectDetector* m_pObjectDetectorLeftCam;
35 ObjectDetector* m_pObjectDetectorRightCam;
36
37 public:
39 // Define public enumerators specific to this class.
41
42 enum class ObjectDetectors // Enum for different cameras that detectors are being ran on.
43 {
44 eHeadMainCam,
45 eFrameLeftCam,
46 eFrameRightCam
47 };
48
50 // Declare public class methods and variables.
52
55 void StartAllDetectors();
56 void StopAllDetectors();
57
59 // Accessors.
61
62 ObjectDetector* GetObjectDetector(ObjectDetectors eDetectorName);
63};
64
65#endif
The ObjectDetectionHandler class is responsible for managing all of the different detectors that Auto...
Definition ObjectDetectionHandler.h:27
void StartAllDetectors()
Signals all detectors to start their threads.
Definition ObjectDetectionHandler.cpp:70
ObjectDetectionHandler()
Construct a new ObjectDetectionHandler::ObjectDetectionHandler object.
Definition ObjectDetectionHandler.cpp:22
ObjectDetector * GetObjectDetector(ObjectDetectors eDetectorName)
Accessor for ObjectDetector detectors.
Definition ObjectDetectionHandler.cpp:109
~ObjectDetectionHandler()
Destroy the ObjectDetectionHandler::ObjectDetectionHandler object.
Definition ObjectDetectionHandler.cpp:47
void StopAllDetectors()
Signals all detectors to stop their threads.
Definition ObjectDetectionHandler.cpp:87
This class implements a modular and easy to use object detector for a single camera....
Definition ObjectDetector.h:37