Skip to content

Commit

Permalink
added ros params
Browse files Browse the repository at this point in the history
  • Loading branch information
VishGit1234 committed Sep 12, 2024
1 parent 2aa306d commit 9b6fff3
Show file tree
Hide file tree
Showing 7 changed files with 430 additions and 315 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ FROM ${BASE_IMAGE} as source
WORKDIR ${AMENT_WS}/src

# Copy in source code
# RUN git clone https://github.com/ros-perception/perception_pcl.git --branch 2.4.3
COPY src/world_modeling/occupancy_segmentation occupancy_segmentation

# Scan for rosdeps
Expand All @@ -16,11 +15,13 @@ RUN apt-get -qq update && rosdep update && \
| awk '{print $3}' \
| sort > /tmp/colcon_install_list

RUN sudo apt-get install libeigen3-dev
RUN sudo apt-get -y install libtbb-dev
################################# Dependencies ################################
FROM ${BASE_IMAGE} as dependencies

# Install some patchwork dependencies
RUN sudo apt-get install libeigen3-dev
RUN sudo apt-get -y install libtbb-dev

# Install Rosdep requirements
COPY --from=source /tmp/colcon_install_list /tmp/colcon_install_list
RUN apt-get -qq update && apt-fast install -qq -y --no-install-recommends $(cat /tmp/colcon_install_list)
Expand Down
21 changes: 19 additions & 2 deletions src/world_modeling/occupancy_segmentation/config/params.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
occupancy_segmentation_node:
occupancy_segmentation:
ros__parameters:
version: 1
compression_method: 0
lidar_input_topic: "/velodyne_points"
ground_output_topic: "/ground_points"
nonground_output_topic: "/nonground_points"
l_min: 2.7
l_max: 80.0
md: 0.3
mh: -1.1
min_num_points: 10
num_seed_points: 20
th_seeds: 0.5
uprightness_thresh: 0.5
num_rings_of_interest: 4
sensor_height: 1.7
global_el_thresh: 0.0
zone_rings: [2, 4, 4, 4]
zone_sectors: [16, 32, 54, 32]
flatness_thr: [0.0005, 0.000725, 0.001, 0.001]
elevation_thr: [0.523, 0.746, 0.879, 1.125]
Loading

0 comments on commit 9b6fff3

Please sign in to comment.