Skip to content

Commit

Permalink
chore: add parameter for distortion corrector
Browse files Browse the repository at this point in the history
  • Loading branch information
TomohitoAndo committed Sep 13, 2024
1 parent 11e0567 commit e5dc578
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions aip_x2_gen2_launch/launch/nebula_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from launch_ros.actions import ComposableNodeContainer
from launch_ros.actions import LoadComposableNodes
from launch_ros.descriptions import ComposableNode
from launch_ros.substitutions import FindPackageShare
import yaml


Expand Down Expand Up @@ -218,10 +219,10 @@ def str2vector(string):
remappings=[
("~/input/twist", "/sensing/vehicle_velocity_converter/twist_with_covariance"),
("~/input/imu", "/sensing/imu/imu_data"),
("~/input/velocity_report", "/vehicle/status/velocity_status"),
("~/input/pointcloud", "mirror_cropped/pointcloud_ex"),
("~/output/pointcloud", "pointcloud"),
],
parameters=[load_composable_node_param("distortion_corrector_node_param_file")],
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
)

Expand Down Expand Up @@ -364,8 +365,14 @@ def add_launch_arg(name: str, default_value=None, description=None):
add_launch_arg("container_name", "nebula_node_container")

add_launch_arg("dual_return_filter_param_file")
add_launch_arg("blockage_diagnostics_param_file")

add_launch_arg(
"blockage_diagnostics_param_file",
[FindPackageShare("common_sensor_launch"), "/config/blockage_diagnostics.param.yaml"],
)
add_launch_arg(
"distortion_corrector_node_param_file",
[FindPackageShare("common_sensor_launch"), "/config/distortion_corrector_node.param.yaml"],
)
add_launch_arg("vertical_bins", "128")
add_launch_arg("horizontal_ring_id", "12")
add_launch_arg("blockage_range", "[270.0, 90.0]")
Expand Down

0 comments on commit e5dc578

Please sign in to comment.