Skip to content

Commit

Permalink
Lexus laucher uses core launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymDavid committed Nov 7, 2024
1 parent 52acf81 commit f31fb80
Showing 1 changed file with 15 additions and 84 deletions.
99 changes: 15 additions & 84 deletions launch/crp_launcher/launch/lexus.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ def generate_launch_description():
default_value='70.0',
description='Length of the scenario in meters')


# CORE

crp_core = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
join(
get_package_share_directory('crp_launcher'),
'launch',
'core.launch.py')
)
)

# NODES

novatel_gps = IncludeLaunchDescription(
Expand Down Expand Up @@ -198,63 +210,6 @@ def generate_launch_description():
)
)

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')
)
)

lexus_speed_control = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
join(
Expand All @@ -264,24 +219,6 @@ def generate_launch_description():
)
)

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
select_gps_arg,
Expand All @@ -300,6 +237,9 @@ def generate_launch_description():
vehicle_tire_angle_topic_arg,
local_path_length_arg,

# core
crp_core,

# vehicle nodes
novatel_gps,
duro_gps,
Expand All @@ -316,13 +256,4 @@ def generate_launch_description():

# nodes
lanelet_file_loader,
sensor_abstraction,
environmental_fusion,
behavior_planning,
motion_planning,
vehicle_control,
vehicle_control_lat,
vehicle_control_long,

planner_lat_lane_follow_ldm
])

0 comments on commit f31fb80

Please sign in to comment.