Skip to content

Commit

Permalink
fix: upfate common sensor launch
Browse files Browse the repository at this point in the history
Signed-off-by: Shin-kyoto <[email protected]>
  • Loading branch information
Shin-kyoto committed Nov 15, 2023
1 parent 5a650fb commit f5cec8d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions common_sensor_launch/launch/nebula_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,20 +246,14 @@ def create_parameter_dict(*args):
],
)

glog_component = ComposableNode(
package="glog_component",
plugin="GlogComponent",
name="glog_component",
)

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

driver_component_loader = LoadComposableNodes(
composable_node_descriptions=[driver_component, glog_component],
composable_node_descriptions=[driver_component],
target_container=target_container,
condition=IfCondition(LaunchConfiguration("launch_driver")),
)
Expand Down

0 comments on commit f5cec8d

Please sign in to comment.