Skip to content

Commit

Permalink
chore(ground_segmentation): change parameter name (#229)
Browse files Browse the repository at this point in the history
* chore(ground_segmentation): change parameter name

Signed-off-by: 1222-takeshi <[email protected]>

* ci(pre-commit): autofix

---------

Signed-off-by: 1222-takeshi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
1222-takeshi and pre-commit-ci[bot] committed May 2, 2024
1 parent 149a51f commit bccb643
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

common_crop_box_filter:
parameters:
min_x: -50.0
max_x: 100.0
min_y: -50.0
max_y: 50.0
max_z: 2.5
min_z: -0.5
min_x: -100.0
max_x: 150.0
min_y: -70.0
max_y: 70.0
margin_max_z: 0.0 # to extend the crop box max_z from vehicle_height
margin_min_z: -2.5 # to extend the crop box min_z from ground
negative: False

common_ground_filter:
Expand Down
2 changes: 2 additions & 0 deletions aip_x1_1_launch/launch/pandar_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def get_pandar_monitor_info():
p = yaml.safe_load(f)["/**"]["ros__parameters"]
return p


def get_vehicle_info(context):
# TODO(TIER IV): Use Parameter Substitution after we drop Galactic support
# https://github.com/ros2/launch_ros/blob/master/launch_ros/launch_ros/substitutions/parameter.py
Expand All @@ -56,6 +57,7 @@ def get_vehicle_info(context):
p["max_height_offset"] = gp["vehicle_height"]
return p


def launch_setup(context, *args, **kwargs):
def create_parameter_dict(*args):
result = {}
Expand Down
2 changes: 1 addition & 1 deletion aip_x1_1_launch/launch/pointcloud_preprocessor.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def launch_setup(context, *args, **kwargs):
name="concatenate_data",
remappings=[
("~/input/twist", "/sensing/vehicle_velocity_converter/twist_with_covariance"),
("output", "concatenated/pointcloud")
("output", "concatenated/pointcloud"),
],
parameters=[
{
Expand Down
2 changes: 1 addition & 1 deletion common_sensor_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>

<exec_depend>dummy_diag_publisher</exec_depend>
<!-- <exec_depend>nebula_sensor_driver</exec_depend> -->
<exec_depend>radar_tracks_msgs_converter</exec_depend>
<exec_depend>radar_tracks_noise_filter</exec_depend>
<exec_depend>velodyne_monitor</exec_depend>
<!-- <exec_depend>nebula_sensor_driver</exec_depend> -->

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>
Expand Down

0 comments on commit bccb643

Please sign in to comment.