32
33
34 log_level = LaunchConfiguration('log_level')
35 declare_log_level_arg = DeclareLaunchArgument(
36 name ='log_level', default_value='WARN')
37
38
39 container = ComposableNodeContainer(
40 package='carma_ros2_utils',
41 name='route_following_plugin_container',
42 namespace=GetCurrentNamespace(),
43 executable='carma_component_container_mt',
44 composable_node_descriptions=[
45
46
47 ComposableNode(
48 package='route_following_plugin',
49 plugin='route_following_plugin::RouteFollowingPlugin',
50 name='route_following_plugin',
51 extra_arguments=[
52 {'use_intra_process_comms': True},
53 {'--log-level' : log_level }
54 ],
55 ),
56 ]
57 )
58
59 return LaunchDescription([
60 declare_log_level_arg,
61 container
62 ])
def generate_launch_description()