Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #565 from tier4/sync-awf-latest
Browse files Browse the repository at this point in the history
chore: sync awf-latest
  • Loading branch information
tier4-autoware-public-bot[bot] authored Nov 23, 2022
2 parents f653f1b + 552a9f4 commit 8e51b1f
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ ros2 launch autoware_launch planning_simulator.launch.xml map_path:=/path/to/map
- [localization_launch](./localization_launch)
- [perception_launch](./perception_launch)
- [planning_launch](./planning_launch)
- [sensing_launch](./sensing_launch)
- [system_launch](./system_launch)
- [vehicle_launch](./vehicle_launch)
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def generate_launch_description():
components = [
_create_api_node("iv_msgs", "IVMsgs"),
_create_api_node("operator", "Operator"),
_create_api_node("route", "Route"),
_create_api_node("velocity", "Velocity"),
]
container = ComposableNodeContainer(
Expand Down
2 changes: 2 additions & 0 deletions autoware_launch/launch/logging_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<arg name="perception_mode" default="camera_lidar_fusion" description="select perception mode. camera_lidar_radar_fusion, camera_lidar_fusion, lidar_radar_fusion, lidar, radar"/>
<arg name="use_pointcloud_container" default="true" description="launch pointcloud container"/>
<arg name="pointcloud_container_name" default="pointcloud_container"/>
<arg name="cruise_planner_type" default="obstacle_stop_planner" description="type of cruise planner"/>
<arg name="launch_vehicle_interface" default="false"/>
<!-- Optional parameters for scenario simulation -->
<arg name="scenario_simulation" default="false" description="use scenario simulation"/>
Expand Down Expand Up @@ -100,6 +101,7 @@
<include file="$(find-pkg-share planning_launch)/launch/planning.launch.xml" if="$(var planning)">
<arg name="use_pointcloud_container" value="$(var use_pointcloud_container)"/>
<arg name="pointcloud_container_name" value="$(var pointcloud_container_name)"/>
<arg name="cruise_planner_type" value="$(var cruise_planner_type)"/>
</include>
</group>

Expand Down
7 changes: 6 additions & 1 deletion autoware_launch/launch/planning_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<arg name="rviz_config" default="$(find-pkg-share autoware_launch)/rviz/autoware.rviz" description="rviz config"/>
<arg name="lanelet2_map_file" default="lanelet2_map.osm" description="lanelet2 map file name"/>
<arg name="pointcloud_map_file" default="pointcloud_map.pcd" description="pointcloud map file name"/>
<arg name="cruise_planner_type" default="obstacle_stop_planner" description="type of cruise planner"/>
<!-- Optional parameters for scenario simulation -->
<arg name="initial_engage_state" default="true" description="/vehicle/engage state after starting Autoware"/>
<arg name="perception/enable_detection_failure" default="true" description="enable to simulate detection failure when using dummy perception"/>
Expand Down Expand Up @@ -58,7 +59,9 @@

<!-- Planning -->
<group>
<include file="$(find-pkg-share planning_launch)/launch/planning.launch.xml"/>
<include file="$(find-pkg-share planning_launch)/launch/planning.launch.xml">
<arg name="cruise_planner_type" value="$(var cruise_planner_type)"/>
</include>
</group>

<!-- Control -->
Expand All @@ -68,6 +71,8 @@
<arg name="lateral_controller_mode" value="mpc_follower" />
<!-- options for longitudinal_controller_mode: pid -->
<arg name="longitudinal_controller_mode" value="pid" />
<!-- Options for external emergency stop module. Heartbeat topic is required if this is true. -->
<arg name="use_external_emergency_stop" value="false" />
</include>
</group>

Expand Down
2 changes: 2 additions & 0 deletions control_launch/launch/control.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<arg name="operation_mode_transition_manager_param_path" default="$(find-pkg-share control_launch)/config/operation_mode_transition_manager/operation_mode_transition_manager.param.yaml"/>
<arg name="shift_decider_param_path" default="$(find-pkg-share control_launch)/config/shift_decider/shift_decider.param.yaml"/>
<arg name="initial_selector_mode" default="remote"/>
<arg name="use_external_emergency_stop" default="true"/>

<include file="$(find-pkg-share control_launch)/launch/control.launch.py">
<arg name="lateral_controller_mode" value="$(var lateral_controller_mode)" />
Expand All @@ -16,6 +17,7 @@
<arg name="operation_mode_transition_manager_param_path" value="$(var operation_mode_transition_manager_param_path)"/>
<arg name="shift_decider_param_path" value="$(var shift_decider_param_path)"/>
<arg name="initial_selector_mode" value="$(var initial_selector_mode)"/>
<arg name="use_external_emergency_stop" value="$(var use_external_emergency_stop)"/>
</include>

</launch>
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@

threshold_distance_object_is_on_center: 1.0 # [m]
threshold_speed_object_is_stopped: 1.0 # [m/s]
threshold_time_object_is_moving: 1.0 # [s]
object_check_forward_distance: 150.0 # [m]
object_check_backward_distance: 2.0 # [m]
object_envelope_buffer: 0.3 # [m]
lateral_collision_margin: 1.0 # [m]
lateral_collision_safety_buffer: 0.7 # [m]

Expand Down
8 changes: 8 additions & 0 deletions system_launch/launch/system.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
</include>
</group>

<!-- Component State Monitor -->
<group>
<include file="$(find-pkg-share component_state_monitor)/launch/component_state_monitor.launch.py">
<arg name="mode" value="$(var run_mode)"/>
<arg name="file" value="$(find-pkg-share component_state_monitor)/config/topics.yaml"/>
</include>
</group>

<!-- Error Monitor -->
<group>
<let name="config_file" value="$(find-pkg-share system_launch)/config/system_error_monitor.param.yaml"/>
Expand Down

0 comments on commit 8e51b1f

Please sign in to comment.