Carma-platform v4.11.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.
trajectory_follower_wrapper_launch Namespace Reference

Functions

def generate_launch_description ()
 

Function Documentation

◆ generate_launch_description()

def trajectory_follower_wrapper_launch.generate_launch_description ( )

Definition at line 29 of file trajectory_follower_wrapper_launch.py.

30
31 # Get parameter file path
32 param_file_path = os.path.join(
33 get_package_share_directory('trajectory_follower_wrapper'), 'config/parameters.yaml')
34
35 # Launch node(s) in a carma container to allow logging to be configured
36 trajectory_follower_wrapper_container = ComposableNodeContainer(
37 package='carma_ros2_utils',
38 name='trajectory_follower_wrapper_container',
39 namespace=GetCurrentNamespace(),
40 executable='carma_component_container_mt',
41 composable_node_descriptions=[
42
43 # Launch the core node(s)
44 ComposableNode(
45 package='trajectory_follower_wrapper',
46 plugin='trajectory_follower_wrapper::TrajectoryFollowerWrapperNode',
47 name='trajectory_follower_wrapper',
48 extra_arguments=[
49 {'use_intra_process_comms': True},
50 ],
51 parameters=[ param_file_path ]
52 ),
53 ]
54 )
55
56 return LaunchDescription([
57 trajectory_follower_wrapper_container
58 ])