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 d21e6ad commit b956778
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions aip_xx1_launch/launch/pointcloud_preprocessor.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,13 @@ def launch_setup(context, *args, **kwargs):
namespace="",
package="rclcpp_components",
executable=LaunchConfiguration("container_executable"),
condition=UnlessCondition(
LaunchConfiguration("use_pointcloud_container")
),
condition=UnlessCondition(LaunchConfiguration("use_pointcloud_container")),
output="screen",
)

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

Expand Down

0 comments on commit b956778

Please sign in to comment.