diff --git a/aip_x2_launch/launch/nebula_node_container.launch.py b/aip_x2_launch/launch/nebula_node_container.launch.py index bfbd500f..54ba66d3 100644 --- a/aip_x2_launch/launch/nebula_node_container.launch.py +++ b/aip_x2_launch/launch/nebula_node_container.launch.py @@ -20,13 +20,13 @@ from launch.actions import OpaqueFunction from launch.actions import SetLaunchConfiguration from launch.conditions import IfCondition +from launch.conditions import LaunchConfigurationEquals +from launch.conditions import LaunchConfigurationNotEquals from launch.conditions import UnlessCondition from launch.substitutions import LaunchConfiguration from launch_ros.actions import ComposableNodeContainer from launch_ros.actions import LoadComposableNodes from launch_ros.descriptions import ComposableNode -from launch.conditions import LaunchConfigurationNotEquals -from launch.conditions import LaunchConfigurationEquals import yaml @@ -120,7 +120,9 @@ def str2vector(string): "cloud_min_angle": LaunchConfiguration("cloud_min_angle"), "cloud_max_angle": LaunchConfiguration("cloud_max_angle"), "diag_span": LaunchConfiguration("diag_span"), - "dual_return_distance_threshold": LaunchConfiguration("dual_return_distance_threshold"), + "dual_return_distance_threshold": LaunchConfiguration( + "dual_return_distance_threshold" + ), "delay_monitor_ms": LaunchConfiguration("delay_monitor_ms"), }, ], @@ -178,7 +180,7 @@ def str2vector(string): "scan_phase", "dual_return_distance_threshold", ), - "launch_hw": True + "launch_hw": True, }, ], remappings=[ @@ -423,7 +425,6 @@ def add_launch_arg(name: str, default_value=None, description=None): add_launch_arg("max_azimuth_deg", "225.0") add_launch_arg("enable_blockage_diag", "true") - set_container_executable = SetLaunchConfiguration( "container_executable", "component_container", diff --git a/aip_x2_launch/launch/pointcloud_preprocessor.launch.py b/aip_x2_launch/launch/pointcloud_preprocessor.launch.py index 3b9df574..a1aa1970 100644 --- a/aip_x2_launch/launch/pointcloud_preprocessor.launch.py +++ b/aip_x2_launch/launch/pointcloud_preprocessor.launch.py @@ -20,7 +20,8 @@ from launch.conditions import IfCondition from launch.conditions import UnlessCondition from launch.substitutions import LaunchConfiguration -from launch_ros.actions import LoadComposableNodes, ComposableNodeContainer +from launch_ros.actions import ComposableNodeContainer +from launch_ros.actions import LoadComposableNodes from launch_ros.descriptions import ComposableNode @@ -46,9 +47,7 @@ def launch_setup(context, *args, **kwargs): "/sensing/lidar/rear_upper/pointcloud", "/sensing/lidar/rear_lower/pointcloud", ], - "input_offset": [ - 0.005, 0.025, 0.050, 0.005, - 0.050, 0.005, 0.005, 0.025], + "input_offset": [0.005, 0.025, 0.050, 0.005, 0.050, 0.005, 0.005, 0.025], "timeout_sec": 0.075, "output_frame": LaunchConfiguration("base_frame"), "input_twist_topic_type": "twist", diff --git a/aip_x2_launch/launch/radar.launch.xml b/aip_x2_launch/launch/radar.launch.xml index 5093a87b..a515a3e3 100644 --- a/aip_x2_launch/launch/radar.launch.xml +++ b/aip_x2_launch/launch/radar.launch.xml @@ -128,7 +128,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -204,10 +204,10 @@ - + - \ No newline at end of file + diff --git a/common_sensor_launch/launch/nebula_node_container.launch.py b/common_sensor_launch/launch/nebula_node_container.launch.py index 27a7692b..2d06deae 100644 --- a/common_sensor_launch/launch/nebula_node_container.launch.py +++ b/common_sensor_launch/launch/nebula_node_container.launch.py @@ -114,7 +114,9 @@ def create_parameter_dict(*args): "cloud_min_angle": LaunchConfiguration("cloud_min_angle"), "cloud_max_angle": LaunchConfiguration("cloud_max_angle"), "diag_span": LaunchConfiguration("diag_span"), - "dual_return_distance_threshold": LaunchConfiguration("dual_return_distance_threshold"), + "dual_return_distance_threshold": LaunchConfiguration( + "dual_return_distance_threshold" + ), "delay_monitor_ms": LaunchConfiguration("delay_monitor_ms"), }, ], @@ -151,7 +153,7 @@ def create_parameter_dict(*args): "ptp_switch_type", "ptp_domain", ), - "launch_hw": True + "launch_hw": True, }, ], remappings=[ @@ -242,7 +244,10 @@ def create_parameter_dict(*args): plugin="pointcloud_preprocessor::RingOutlierFilterComponent", name="ring_outlier_filter", remappings=[ - ("input", "self_cropped/pointcloud_ex"), #todo: miura 24/03/03 temporarily input self_cropped/point + ( + "input", + "self_cropped/pointcloud_ex", + ), # todo: miura 24/03/03 temporarily input self_cropped/point ("output", "pointcloud"), ], extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],