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

Classes

class  InLaneCruisingPlugin
 Class containing primary business logic for the In-Lane Cruising Plugin. More...
 
class  InLaneCruisingPluginNode
 ROS node for the InLaneCruisingPlugin. More...
 

Typedefs

using PublishPluginDiscoveryCB = std::function< void(const carma_planning_msgs::msg::Plugin &)>
 
using DebugPublisher = std::function< void(const carma_debug_ros2_msgs::msg::TrajectoryCurvatureSpeeds &)>
 
using PointSpeedPair = basic_autonomy::waypoint_generation::PointSpeedPair
 

Functions

def generate_launch_description ()
 

Variables

static const std::string ILC_LOGGER = "inlanecruising_plugin"
 

Typedef Documentation

◆ DebugPublisher

using inlanecruising_plugin::DebugPublisher = typedef std::function<void(const carma_debug_ros2_msgs::msg::TrajectoryCurvatureSpeeds&)>

Definition at line 41 of file inlanecruising_plugin.hpp.

◆ PointSpeedPair

◆ PublishPluginDiscoveryCB

using inlanecruising_plugin::PublishPluginDiscoveryCB = typedef std::function<void(const carma_planning_msgs::msg::Plugin&)>

Definition at line 40 of file inlanecruising_plugin.hpp.

Function Documentation

◆ generate_launch_description()

def inlanecruising_plugin.generate_launch_description ( )

Definition at line 29 of file inlanecruising_plugin.launch.py.

30
31 # Get parameter file path
32 param_file_path = os.path.join(
33 get_package_share_directory('inlanecruising_plugin'), 'config/parameters.yaml')
34
35 # Launch node(s) in a carma container to allow logging to be configured
36 container = ComposableNodeContainer(
37 package='carma_ros2_utils',
38 name='inlanecruising_plugin_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='inlanecruising_plugin',
46 plugin='inlanecruising_plugin::InLaneCruisingPluginNode',
47 name='inlanecruising_plugin',
48 extra_arguments=[
49 {'use_intra_process_comms': True},
50 ],
51 parameters=[ param_file_path ]
52 ),
53 ]
54 )
55
56 return LaunchDescription([
57 container
58 ])

Variable Documentation

◆ ILC_LOGGER

const std::string inlanecruising_plugin::ILC_LOGGER = "inlanecruising_plugin"
static

Definition at line 44 of file inlanecruising_plugin.hpp.