Skip to content

Commit

Permalink
feat(planning): add enable_all_modules_auto_mode argument to launch f…
Browse files Browse the repository at this point in the history
…iles for planning modules (autowarefoundation#798)

* Add auto mode setting for all modules

Signed-off-by: kyoichi-sugahara <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>
  • Loading branch information
kyoichi-sugahara authored and tkimura4 committed Jan 23, 2024
1 parent 549bb62 commit e721f65
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
value="$(find-pkg-share autoware_launch)/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/scene_module_manager_foa.param.yaml"
if="$(var use_foa)"
/>
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" default="false" description="enable all module's auto mode"/>

<!-- Global parameters -->
<group scoped="false">
Expand Down Expand Up @@ -142,6 +144,7 @@
<arg name="use_experimental_lane_change_function" value="$(var use_experimental_lane_change_function)"/>
<arg name="rtc_auto_mode_manager_param_path" value="$(var rtc_auto_mode_manager_param_path)"/>
<arg name="scene_module_manager_param_path" value="$(var scene_module_manager_param_path)"/>
<arg name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/>
</include>
</group>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
<arg name="rtc_auto_mode_manager_param_path"/>
<arg name="scene_module_manager_param_path"/>
<arg name="module_preset" default="default"/>
<arg name="enable_all_modules_auto_mode" default="false"/>
<include file="$(find-pkg-share autoware_launch)/config/planning/preset/$(var module_preset)_preset.yaml"/>

<include file="$(find-pkg-share tier4_planning_launch)/launch/planning.launch.xml">
<arg name="vehicle_param_file" value="$(find-pkg-share $(var vehicle_model)_description)/config/vehicle_info.param.yaml"/>
<arg name="use_pointcloud_container" value="$(var use_pointcloud_container)"/>
<arg name="pointcloud_container_name" value="$(var pointcloud_container_name)"/>
<arg name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/>

<!-- common -->
<arg name="common_config_path" value="$(find-pkg-share autoware_launch)/config/planning/scenario_planning/common"/>
Expand Down
4 changes: 4 additions & 0 deletions autoware_launch/launch/planning_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@

<let name="rviz_respawn" value="false" if="$(var scenario_simulation)"/>
<let name="rviz_respawn" value="true" unless="$(var scenario_simulation)"/>
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" default="$(var scenario_simulation)" description="enable all module's auto mode"/>

<group scoped="false">
<!-- Vehicle -->
Expand Down Expand Up @@ -74,6 +76,8 @@
<!-- Others -->
<arg name="use_foa" value="$(var use_foa)"/>
<arg name="rviz_respawn" value="$(var rviz_respawn)"/>
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/>
</include>
</group>

Expand Down

0 comments on commit e721f65

Please sign in to comment.