Skip to content

Commit

Permalink
chore: add blockage_diag enable option
Browse files Browse the repository at this point in the history
Signed-off-by: badai-nguyen <[email protected]>
  • Loading branch information
badai-nguyen committed Oct 5, 2023
1 parent 28da9a8 commit ca39edb
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 @@ -300,6 +300,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 @@ -347,6 +348,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 ca39edb

Please sign in to comment.