Skip to content

Commit 5ecab35

Browse files
ci(pre-commit): autofix
1 parent c6e531f commit 5ecab35

File tree

4 files changed

+19
-14
lines changed

4 files changed

+19
-14
lines changed

aip_x2_launch/launch/nebula_node_container.launch.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ def str2vector(string):
118118
"cloud_min_angle": LaunchConfiguration("cloud_min_angle"),
119119
"cloud_max_angle": LaunchConfiguration("cloud_max_angle"),
120120
"diag_span": LaunchConfiguration("diag_span"),
121-
"dual_return_distance_threshold": LaunchConfiguration("dual_return_distance_threshold"),
121+
"dual_return_distance_threshold": LaunchConfiguration(
122+
"dual_return_distance_threshold"
123+
),
122124
"delay_monitor_ms": LaunchConfiguration("delay_monitor_ms"),
123125
},
124126
],
@@ -176,7 +178,7 @@ def str2vector(string):
176178
"scan_phase",
177179
"dual_return_distance_threshold",
178180
),
179-
"launch_hw": True
181+
"launch_hw": True,
180182
},
181183
],
182184
remappings=[
@@ -512,7 +514,6 @@ def add_launch_arg(name: str, default_value=None, description=None):
512514

513515
add_launch_arg("dual_return_filter_param_file")
514516

515-
516517
set_container_executable = SetLaunchConfiguration(
517518
"container_executable",
518519
"component_container",

aip_x2_launch/launch/pointcloud_preprocessor.launch.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
from launch.conditions import IfCondition
2121
from launch.conditions import UnlessCondition
2222
from launch.substitutions import LaunchConfiguration
23-
from launch_ros.actions import LoadComposableNodes, ComposableNodeContainer
23+
from launch_ros.actions import ComposableNodeContainer
24+
from launch_ros.actions import LoadComposableNodes
2425
from launch_ros.descriptions import ComposableNode
2526

2627

@@ -46,9 +47,7 @@ def launch_setup(context, *args, **kwargs):
4647
"/sensing/lidar/rear_upper/pointcloud",
4748
"/sensing/lidar/rear_lower/pointcloud",
4849
],
49-
"input_offset": [
50-
0.005, 0.025, 0.050, 0.005,
51-
0.050, 0.005, 0.005, 0.025],
50+
"input_offset": [0.005, 0.025, 0.050, 0.005, 0.050, 0.005, 0.005, 0.025],
5251
"timeout_sec": 0.075,
5352
"output_frame": LaunchConfiguration("base_frame"),
5453
"input_twist_topic_type": "twist",

aip_x2_launch/launch/radar.launch.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<arg name="configuration_sensor_port" value="42101"/>
129129

130130
<arg name="new_plug_orientation" value="0"/>
131-
</include>
131+
</include>
132132

133133
<include file="$(find-pkg-share radar_tracks_msgs_converter)/launch/radar_tracks_msgs_converter.launch.xml">
134134
<arg name="input/radar_objects" value="objects_raw"/>
@@ -159,7 +159,7 @@
159159
<arg name="configuration_sensor_port" value="42101"/>
160160

161161
<arg name="new_plug_orientation" value="0"/>
162-
</include>
162+
</include>
163163

164164
<include file="$(find-pkg-share radar_tracks_msgs_converter)/launch/radar_tracks_msgs_converter.launch.xml">
165165
<arg name="input/radar_objects" value="objects_raw"/>
@@ -204,10 +204,10 @@
204204

205205
<!-- merge radar objects -->
206206
<let name="merger_param_path" value="$(find-pkg-share aip_x2_launch)/config/simple_object_merger.param.yaml"/>
207-
<node pkg="simple_object_merger" exec="simple_object_merger_node" name="simple_object_merger" output="screen">
207+
<node pkg="simple_object_merger" exec="simple_object_merger_node" name="simple_object_merger" output="screen">
208208
<remap from="~/output/objects" to="detected_objects"/>
209209
<param from="$(var merger_param_path)"/>
210210
</node>
211211

212212
</group>
213-
</launch>
213+
</launch>

common_sensor_launch/launch/nebula_node_container.launch.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ def create_parameter_dict(*args):
114114
"cloud_min_angle": LaunchConfiguration("cloud_min_angle"),
115115
"cloud_max_angle": LaunchConfiguration("cloud_max_angle"),
116116
"diag_span": LaunchConfiguration("diag_span"),
117-
"dual_return_distance_threshold": LaunchConfiguration("dual_return_distance_threshold"),
117+
"dual_return_distance_threshold": LaunchConfiguration(
118+
"dual_return_distance_threshold"
119+
),
118120
"delay_monitor_ms": LaunchConfiguration("delay_monitor_ms"),
119121
},
120122
],
@@ -151,7 +153,7 @@ def create_parameter_dict(*args):
151153
"ptp_switch_type",
152154
"ptp_domain",
153155
),
154-
"launch_hw": True
156+
"launch_hw": True,
155157
},
156158
],
157159
remappings=[
@@ -242,7 +244,10 @@ def create_parameter_dict(*args):
242244
plugin="pointcloud_preprocessor::RingOutlierFilterComponent",
243245
name="ring_outlier_filter",
244246
remappings=[
245-
("input", "self_cropped/pointcloud_ex"), #todo: miura 24/03/03 temporarily input self_cropped/point
247+
(
248+
"input",
249+
"self_cropped/pointcloud_ex",
250+
), # todo: miura 24/03/03 temporarily input self_cropped/point
246251
("output", "pointcloud"),
247252
],
248253
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],

0 commit comments

Comments
 (0)