Configures an ObjectDetectionProvider: where detections go, and their class names.
More...
#include <auterion_sdk/object_detection/object_detection_provider.hpp>
|
| bool | ros {true} |
| |
|
bool | mavlink {true} |
| | Send detections to the ground station. A batch without image dimensions is not sent.
|
| |
|
ClassCatalog | class_catalog {} |
| | names for the class ids reported; empty is valid
|
| |
Configures an ObjectDetectionProvider: where detections go, and their class names.
Both channels are on by default, and at most one provider per vehicle may send to the ground station. The launch-time parameter overrides object_detection_ros_output and object_detection_mavlink_output switch either channel without rebuilding the app.
◆ withClassCatalog()
Set the class catalog the ground station shows.
- Parameters
-
| catalog | Names for the class ids the detector reports. An empty catalog is valid; the ground station then renders the raw ids. |
- Returns
- Reference to this object for method chaining.
◆ withMavlink()
Enable or disable the MAVLink detection output.
At most one provider per vehicle may enable this.
- Parameters
-
| enable | True to emit TRACKER_DETECTION_2D / TRACKER_STATUS. |
- Returns
- Reference to this object for method chaining.
◆ withRos()
Enable or disable the ROS detections topic.
- Parameters
-
| enable | True to publish detections on the ROS topic. |
- Returns
- Reference to this object for method chaining.
◆ ros
| bool auterion::DetectionProviderOptions::ros {true} |
publish the on-board ROS detections topic, in source pixels
The documentation for this struct was generated from the following file: