From eed26d25eda8e00215b7ec6515722a0d96fb7e6b Mon Sep 17 00:00:00 2001 From: Yoshiki Obinata <27789460+mqcmd196@users.noreply.github.com> Date: Thu, 16 Jan 2025 20:19:38 +0900 Subject: [PATCH] Syncing BoundingBox topic and Label topic to extract the BoundingBox's label (#54) * republish sync rgb and depth, fix jsk-pcl params to sync label and boxes * add missing commits * Add launch option to sync label topic and bounding box topic * Add comment why python-is-python3 is needed in Dockerfile --- Dockerfile | 3 ++ launch/sample_detection.launch | 50 ++++++++++++++++++++-------------- 2 files changed, 33 insertions(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index 39a2fd8..9a34800 100644 --- a/Dockerfile +++ b/Dockerfile @@ -107,4 +107,7 @@ RUN touch ~/.bashrc RUN echo "source ~/detic_ws/devel/setup.bash" >> ~/.bashrc RUN echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc +# We need the patch (https://github.com/jsk-ros-pkg/jsk_common/pull/1805 ). Although it is merged and tagged, we have to wait for the noetic sync. After syncing, we can remove it +RUN sudo apt install python-is-python3 + CMD ["bash"] diff --git a/launch/sample_detection.launch b/launch/sample_detection.launch index c07aa66..a7c55a5 100644 --- a/launch/sample_detection.launch +++ b/launch/sample_detection.launch @@ -15,6 +15,7 @@ + @@ -33,17 +34,26 @@ + + + + + + - - + + + + queue_size: 100 - + @@ -70,14 +80,15 @@ clear_params="true"> - - multi: true - tolerance: 0.03 - min_size: 10 - downsample_enable: true - approximate_sync: true - queue_size: 100 - + 1 + true + 0.03 + 10 + 0 + true + true + false + 100 - - align_boxes: true - align_boxes_with_plane: false - force_to_flip_z_axis: false - use_pca: false - target_frame_id: $(arg target_frame_id) - approximate_sync: true - queue_size: 100 - + true + false + false + false + $(arg target_frame_id) + true + false + 100