Class PipelineGenerator
Defined in File pipeline_generator.hpp
Class Documentation
-
class PipelineGenerator
Public Functions
-
PipelineGenerator()
-
~PipelineGenerator()
Validates the pipeline type. If the pipeline type is not valid for the number of sensors, it will be changed to the default type.
- Parameters:
node – The node used for logging
type – [in] The type
sensorNum – [in] The sensor number
- Returns:
The validated pipeline type.
Creates the pipeline by using a plugin. Plugin types need to be of type depthai_ros_driver::pipeline_gen::BasePipeline.
- Parameters:
node – The node
device – The device
pipeline – The pipeline
pipelineType – [in] The pipeline type name (plugin name or one of the default types)
nnType – [in] The neural network type (none, rgb, spatial)
enableImu – [in] Indicates if IMU is enabled
- Returns:
Vector BaseNodes created.
Protected Attributes
-
std::unordered_map<std::string, std::string> pluginTypeMap
-
std::unordered_map<std::string, PipelineType> pipelineTypeMap
-
PipelineGenerator()