forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(image_projection_based_fusion): add roi based clustering for sma…
…ll unknown object detection (autowarefoundation#4681) * feat: add roi_pointcloud_fusion node Signed-off-by: badai-nguyen <[email protected]> fix: postprocess Signed-off-by: badai-nguyen <[email protected]> fix: launch file Signed-off-by: badai-nguyen <[email protected]> chores: refactor Signed-off-by: badai-nguyen <[email protected]> fix: closest cluster Signed-off-by: badai-nguyen <[email protected]> * chores: refactor Signed-off-by: badai-nguyen <[email protected]> * docs: add readme Signed-off-by: badai-nguyen <[email protected]> * fix: add missed parameter declare Signed-off-by: badai-nguyen <[email protected]> * fix: add center transform Signed-off-by: badai-nguyen <[email protected]> * fix: typos in launch Signed-off-by: badai-nguyen <[email protected]> * docs: update docs Signed-off-by: badai-nguyen <[email protected]> * fix: change roi pointcloud fusion output to clusters Signed-off-by: badai-nguyen <[email protected]> * fix: add cluster debug roi pointcloud fusion Signed-off-by: badai-nguyen <[email protected]> * fix: use IoU_x in roi cluster fusion Signed-off-by: badai-nguyen <[email protected]> * feat: add cluster merger package Signed-off-by: badai-nguyen <[email protected]> * fix: camera lidar launch Signed-off-by: badai-nguyen <[email protected]> * style(pre-commit): autofix * fix: cluster merger Signed-off-by: badai-nguyen <[email protected]> * fix: roi cluster fusion unknown object fix Signed-off-by: badai-nguyen <[email protected]> * chore: typo Signed-off-by: badai-nguyen <[email protected]> * docs: add readme cluster_merger Signed-off-by: badai-nguyen <[email protected]> * docs: update roi pointcloud fusion readme Signed-off-by: badai-nguyen <[email protected]> * chore: typo Signed-off-by: badai-nguyen <[email protected]> * fix: multiple definition bug Signed-off-by: badai-nguyen <[email protected]> * chore: refactor Signed-off-by: badai-nguyen <[email protected]> * docs: update docs Signed-off-by: badai-nguyen <[email protected]> * chore: refactor Signed-off-by: badai-nguyen <[email protected]> * chore: pre-commit Signed-off-by: badai-nguyen <[email protected]> * fix: update camera_lidar_radar mode launch Signed-off-by: badai-nguyen <[email protected]> --------- Signed-off-by: badai-nguyen <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
Showing
24 changed files
with
1,094 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(cluster_merger) | ||
|
||
# find dependencies | ||
find_package(autoware_cmake REQUIRED) | ||
autoware_package() | ||
|
||
# Targets | ||
ament_auto_add_library(cluster_merger_node_component SHARED | ||
src/cluster_merger/node.cpp | ||
) | ||
|
||
rclcpp_components_register_node(cluster_merger_node_component | ||
PLUGIN "cluster_merger::ClusterMergerNode" | ||
EXECUTABLE cluster_merger_node) | ||
|
||
|
||
if(BUILD_TESTING) | ||
list(APPEND AMENT_LINT_AUTO_EXCLUDE ament_cmake_uncrustify) | ||
find_package(ament_lint_auto REQUIRED) | ||
ament_lint_auto_find_test_dependencies() | ||
endif() | ||
|
||
ament_auto_package( | ||
INSTALL_TO_SHARE | ||
launch | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# cluster merger | ||
|
||
## Purpose | ||
|
||
cluster_merger is a package for merging pointcloud clusters as detected objects with feature type. | ||
|
||
## Inner-working / Algorithms | ||
|
||
The clusters of merged topics are simply concatenated from clusters of input topics. | ||
|
||
## Input / Output | ||
|
||
### Input | ||
|
||
| Name | Type | Description | | ||
| ---------------- | -------------------------------------------------------- | ------------------- | | ||
| `input/cluster0` | `tier4_perception_msgs::msg::DetectedObjectsWithFeature` | pointcloud clusters | | ||
| `input/cluster1` | `tier4_perception_msgs::msg::DetectedObjectsWithFeature` | pointcloud clusters | | ||
|
||
### Output | ||
|
||
| Name | Type | Description | | ||
| ----------------- | ----------------------------------------------------- | --------------- | | ||
| `output/clusters` | `autoware_auto_perception_msgs::msg::DetectedObjects` | merged clusters | | ||
|
||
## Parameters | ||
|
||
| Name | Type | Description | Default value | | ||
| :---------------- | :----- | :----------------------------------- | :------------ | | ||
| `output_frame_id` | string | The header frame_id of output topic. | base_link | | ||
|
||
## Assumptions / Known limits | ||
|
||
<!-- Write assumptions and limitations of your implementation. | ||
Example: | ||
This algorithm assumes obstacles are not moving, so if they rapidly move after the vehicle started to avoid them, it might collide with them. | ||
Also, this algorithm doesn't care about blind spots. In general, since too close obstacles aren't visible due to the sensing performance limit, please take enough margin to obstacles. | ||
--> | ||
|
||
## (Optional) Error detection and handling | ||
|
||
<!-- Write how to detect errors and how to recover from them. | ||
Example: | ||
This package can handle up to 20 obstacles. If more obstacles found, this node will give up and raise diagnostic errors. | ||
--> | ||
|
||
## (Optional) Performance characterization | ||
|
||
<!-- Write performance information like complexity. If it wouldn't be the bottleneck, not necessary. | ||
Example: | ||
### Complexity | ||
This algorithm is O(N). | ||
### Processing time | ||
... | ||
--> | ||
|
||
## (Optional) References/External links | ||
|
||
<!-- Write links you referred to when you implemented. | ||
Example: | ||
[1] {link_to_a_thesis} | ||
[2] {link_to_an_issue} | ||
--> | ||
|
||
## (Optional) Future extensions / Unimplemented parts |
Oops, something went wrong.