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