Detection 2d node for CoRE-1 2024
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/StrayedCats/detector2d.git -b humble
cd ..
colcon build
source install/setup.bash
ros2 run detector2d_node detector2d_node_exec --ros-args -p load_target_plugin:=detector2d_plugins::PublishCenter
Topic Name | Type | Description |
---|---|---|
image_raw | sensor_msgs/msg/Image | Raw image from camera |
Topic Name | Type | Description |
---|---|---|
positions | geometry_msgs/msg/Detection2DArray | Detected 2d poses |
---
title: Detector2d Plugin hierarchy
---
classDiagram
Detector2dNode <-- DetectorPluginA : load as dll
Detector2dNode <-- DetectorPluginB : load as dll
DetectorPluginA <|-- DetectorBase : include
DetectorPluginB <|-- DetectorBase : include
Detector2dNode <|-- DetectorBase : include
Detector2dNode: params
Detector2dNode: image_callback(Image)
class DetectorPluginA{
filter_kernel_param_a
init(params)
processing(cv::Mat)
}
class DetectorPluginB{
filter_kernel_param_b
init(params)
processing(cv::Mat)
}