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.
external_object Namespace Reference

Functions

def generate_launch_description ()
 

Function Documentation

◆ generate_launch_description()

def external_object.generate_launch_description ( )

Definition at line 29 of file external_object.py.

30
31 # Declare the log_level launch argument
32 log_level = LaunchConfiguration('log_level')
33 declare_log_level_arg = DeclareLaunchArgument(
34 name ='log_level', default_value='WARN')
35
36 param_file_path = os.path.join(
37 get_package_share_directory('object_detection_tracking'), 'config/parameters.yaml')
38
39 container = ComposableNodeContainer(
40 package='rclcpp_components',
41 name='external_object_container',
42 namespace='/',
43 executable='component_container_mt',
44 composable_node_descriptions=[
45
46 ComposableNode(
47 package='object_detection_tracking',
48 plugin='object::ObjectDetectionTrackingNode',
49 name='external_object',
50 namespace="/",
51 extra_arguments=[
52 {'use_intra_process_comms': True},
53 {'--log-level' : log_level }
54 ],
55 parameters=[ param_file_path ]
56 ),
57 ]
58 )
59
60 return LaunchDescription([
61 declare_log_level_arg,
62 container
63 ])
def generate_launch_description()