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
handlers Directory Reference
Directory dependency graph for handlers:
src/handlers

Files

 
CameraHandler.cpp
 Implements the CameraHandler class.
 
CameraHandler.h
 Defines the CameraHandler class.
 
LiDARHandler.cpp
 Implementation of the LiDAR runtime query interface using DuckDB.
 
LiDARHandler.h
 Runtime LiDAR database query interface for autonomy systems.
 
ObjectDetectionHandler.cpp
 Implements the ObjectDetectionHandler class.
 
ObjectDetectionHandler.h
 Defines the ObjectDetectionHandler class.
 
RecordingHandler.cpp
 Implements the RecordingHandler class.
 
RecordingHandler.h
 Defines the RecordingHandler class.
 
StateMachineHandler.cpp
 Implements the StateMachineHandler class.
 
StateMachineHandler.h
 Defines the StateMachineHandler class.
 
TagDetectionHandler.cpp
 Implements the TagDetectionHandler class.
 
TagDetectionHandler.h
 Defines the TagDetectionHandler class.
 
VisualizationHandler.cpp
 Implements the VisualizationHandler class.
 
VisualizationHandler.h
 Defines the VisualizationHandler class.
 
WaypointHandler.cpp
 Implements the WaypointHandler class.
 
WaypointHandler.h
 Defines the WaypointHandler class.

Detailed Description

Handlers Directory

The Handlers directory is dedicated to storing C++ files that handle the high-level management of other, globally shared objects. #include these handlers to access things like cameras, tag detection, object detection, and drivers.

Directory Structure

The Handlers directory stores files representing the main classes of different modules, each of which will handle one or many objects created from classes within this codebase. For example, the TagDetectionHandler may store multiple objects of the TagDetector and ObjectDetector classes. Each of these classes achieve the same thing, but are initialized with different parameters (like different images to run detection on). The handler exists to provide a way for other class to access the results of the tag detections for the different object (each which runs detection on a different image).

General Usage

Here's a general guideline for organizing files within the Handlers directory:

  • Create a separate file for each handler that stores or contains instances of globally accessible classes that relate to each other.
  • Use descriptive names for the files that reflect the purpose or functionality of each class.
  • Ensure that the files are properly documented with comments explaining the class's role, its interaction with other modules, and any relevant details.
  • Implement the necessary thread management mechanisms within each class so that other classes/threads can access pointers to these objects.