Skip to content

Commit

Permalink
chore(aip_x2_launch): add blockage diagnostics enable option (#177)
Browse files Browse the repository at this point in the history
chore: add blockage_diag enable option

Signed-off-by: badai-nguyen <[email protected]>
  • Loading branch information
badai-nguyen authored Oct 12, 2023
1 parent a4f6d59 commit a0a87ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aip_x2_launch/launch/pandar_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ def create_parameter_dict(*args):
blockage_diag_loader = LoadComposableNodes(
composable_node_descriptions=[blockage_diag_component],
target_container=container,
condition=launch.conditions.IfCondition(LaunchConfiguration("enable_blockage_diag")),
)

return [
Expand Down Expand Up @@ -334,6 +335,7 @@ def add_launch_arg(name: str, default_value=None):

add_launch_arg("min_azimuth_deg", "135.0")
add_launch_arg("max_azimuth_deg", "225.0")
add_launch_arg("enable_blockage_diag", "true")
set_container_executable = SetLaunchConfiguration(
"container_executable",
"component_container",
Expand Down

0 comments on commit a0a87ae

Please sign in to comment.