-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created core launch; buld_all uses build_core
- Loading branch information
1 parent
ef17a5f
commit 52acf81
Showing
3 changed files
with
154 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
from launch import LaunchDescription | ||
from launch.actions import IncludeLaunchDescription | ||
from launch.actions import DeclareLaunchArgument | ||
from launch.substitutions import LaunchConfiguration | ||
from launch.conditions import LaunchConfigurationEquals | ||
from launch.launch_description_sources import PythonLaunchDescriptionSource, AnyLaunchDescriptionSource | ||
from ament_index_python.packages import get_package_share_directory | ||
from os.path import join | ||
|
||
|
||
def generate_launch_description(): | ||
|
||
# ARGS | ||
|
||
# sensor abstraction | ||
vehicle_tire_angle_topic_arg = DeclareLaunchArgument( | ||
'vehicle_tire_angle_topic', | ||
default_value='/sensing/vehicle/tire_angle', | ||
description='Length of the scenario in meters') | ||
local_path_length_arg = DeclareLaunchArgument( | ||
'local_path_length', | ||
default_value='70.0', | ||
description='Length of the scenario in meters') | ||
|
||
# NODES | ||
|
||
sensor_abstraction = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('prcp_sensor_abstraction'), | ||
'launch', | ||
'sensor_abstraction.launch.py') | ||
) | ||
) | ||
|
||
environmental_fusion = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('prcp_situation_analysis'), | ||
'launch', | ||
'environmental_fusion.launch.py') | ||
) | ||
) | ||
|
||
behavior_planning = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('plan_behavior_planning'), | ||
'launch', | ||
'behavior_planning.launch.py' | ||
) | ||
) | ||
) | ||
|
||
motion_planning = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('plan_motion_planning'), | ||
'launch', | ||
'motion_planning.launch.py' | ||
) | ||
) | ||
) | ||
|
||
planner_lat_lane_follow_ldm = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('plan_lat_lane_follow_ldm'), | ||
'launch', | ||
'plan_lat_lane_follow_ldm.launch.py' | ||
) | ||
) | ||
) | ||
|
||
vehicle_control = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('ctrl_vehicle_control'), | ||
'launch', | ||
'ctrl_vehicle_control.launch.py') | ||
) | ||
) | ||
|
||
vehicle_control_lat = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('ctrl_vehicle_control_lat_compensatory'), | ||
'launch', | ||
'ctrl_vehicle_control_lat_compensatory.launch.py') | ||
) | ||
) | ||
|
||
vehicle_control_long = IncludeLaunchDescription( | ||
PythonLaunchDescriptionSource( | ||
join( | ||
get_package_share_directory('ctrl_vehicle_control_long'), | ||
'launch', | ||
'ctrl_vehicle_control_long.launch.py') | ||
) | ||
) | ||
|
||
return LaunchDescription([ | ||
# args | ||
vehicle_tire_angle_topic_arg, | ||
vehicle_tire_angle_topic_arg, | ||
local_path_length_arg, | ||
|
||
# nodes | ||
sensor_abstraction, | ||
environmental_fusion, | ||
behavior_planning, | ||
motion_planning, | ||
vehicle_control, | ||
vehicle_control_lat, | ||
vehicle_control_long, | ||
|
||
planner_lat_lane_follow_ldm | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters