Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jul 8, 2024
1 parent b34320a commit f07bf19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aip_x2_launch/launch/lidar.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,4 +284,4 @@
</include>

</group>
</launch>
</launch>
12 changes: 7 additions & 5 deletions aip_x2_launch/launch/nebula_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def launch_setup(context, *args, **kwargs):
def load_composable_node_param(param_path):
with open(LaunchConfiguration(param_path).perform(context), "r") as f:
return yaml.safe_load(f)["/**"]["ros__parameters"]

def create_parameter_dict(*args):
result = {}
for x in args:
Expand Down Expand Up @@ -118,7 +118,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"),
},
],
Expand Down Expand Up @@ -156,7 +158,7 @@ def create_parameter_dict(*args):
"ptp_switch_type",
"ptp_domain",
),
"launch_hw": True
"launch_hw": True,
},
],
remappings=[
Expand Down Expand Up @@ -263,7 +265,7 @@ def create_parameter_dict(*args):
plugin="pointcloud_preprocessor::RingOutlierFilterComponent",
name="ring_outlier_filter",
remappings=[
("input", "rectified/pointcloud_ex"),
("input", "rectified/pointcloud_ex"),
("output", "pointcloud_before_sync"),
],
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
Expand Down Expand Up @@ -375,4 +377,4 @@ def add_launch_arg(name: str, default_value=None, description=None):
launch_arguments
+ [set_container_executable, set_container_mt_executable]
+ [OpaqueFunction(function=launch_setup)]
)
)

0 comments on commit f07bf19

Please sign in to comment.