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