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 Jan 16, 2024
1 parent 75d81e2 commit 78c1b55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions aip_x1_launch/launch/pointcloud_preprocessor.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,17 @@ def launch_setup(context, *args, **kwargs):
package="rclcpp_components",
executable=LaunchConfiguration("container_executable"),
composable_node_descriptions=[],
condition=UnlessCondition(LaunchConfiguration("include_concat_node_in_pointcloud_container")),
condition=UnlessCondition(
LaunchConfiguration("include_concat_node_in_pointcloud_container")
),
output="screen",
)

target_container = (
container
if UnlessCondition(LaunchConfiguration("include_concat_node_in_pointcloud_container")).evaluate(context)
if UnlessCondition(
LaunchConfiguration("include_concat_node_in_pointcloud_container")
).evaluate(context)
else LaunchConfiguration("pointcloud_container_name")
)

Expand Down
8 changes: 6 additions & 2 deletions aip_x2_launch/launch/pointcloud_preprocessor.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,17 @@ def launch_setup(context, *args, **kwargs):
package="rclcpp_components",
executable=LaunchConfiguration("container_executable"),
composable_node_descriptions=[],
condition=UnlessCondition(LaunchConfiguration("include_concat_node_in_pointcloud_container")),
condition=UnlessCondition(
LaunchConfiguration("include_concat_node_in_pointcloud_container")
),
output="screen",
)

target_container = (
container
if UnlessCondition(LaunchConfiguration("include_concat_node_in_pointcloud_container")).evaluate(context)
if UnlessCondition(
LaunchConfiguration("include_concat_node_in_pointcloud_container")
).evaluate(context)
else LaunchConfiguration("pointcloud_container_name")
)

Expand Down

0 comments on commit 78c1b55

Please sign in to comment.