Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
pose_to_tf_launch Namespace Reference

Functions

def generate_launch_description ()
 

Function Documentation

◆ generate_launch_description()

def pose_to_tf_launch.generate_launch_description ( )

Definition at line 31 of file pose_to_tf_launch.py.

32
33 # Declare the log_level launch argument
34 log_level = LaunchConfiguration('log_level')
35 declare_log_level_arg = DeclareLaunchArgument(
36 name ='log_level', default_value='WARN')
37
38 # Launch node(s) in a carma container to allow logging to be configured
39 container = ComposableNodeContainer(
40 package='carma_ros2_utils',
41 name='pose_to_tf_container',
42 namespace=GetCurrentNamespace(),
43 executable='carma_component_container_mt',
44 composable_node_descriptions=[
45
46 # Launch the core node(s)
47 ComposableNode(
48 package='pose_to_tf',
49 plugin='pose_to_tf::PoseToTfNode',
50 name='pose_to_tf_node',
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 ])