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

chore: sync awf/autoware_launch #768

Merged
merged 7 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
pre-commit:
if: ${{ github.event.repository.private }}
if: ${{ github.event.repository.private }} # Use pre-commit.ci for public repositories
runs-on: ubuntu-latest
steps:
- name: Generate token
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
args: [--line-length=100]
Expand Down
7 changes: 7 additions & 0 deletions autoware_launch/config/map/lanelet2_map_loader.param.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**:
ros__parameters:
lanelet2_map_projector_type: MGRS # Options: MGRS, UTM
latitude: 40.81187906 # Latitude of map_origin, using in UTM
longitude: 29.35810110 # Longitude of map_origin, using in UTM

center_line_resolution: 5.0 # [m]
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
enable_update_path_when_object_is_gone: false
enable_safety_check: false
enable_yield_maneuver: false
disable_path_update: false

# for debug
publish_debug_marker: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
intersection:
state_transit_margin_time: 1.0
stop_line_margin: 3.0
keep_detection_vel_thr: 0.833 # == 3.0km/h. keep detection if ego is ego.vel < keep_detection_vel_thr
stuck_vehicle_detect_dist: 3.0 # this should be the length between cars when they are stopped. The actual stuck vehicle detection length will be this value + vehicle_length.
stuck_vehicle_ignore_dist: 10.0 # obstacle stop max distance(5.0m) + stuck vehicle size / 2 (0.0m-)
stuck_vehicle_vel_thr: 0.833 # 0.833m/s = 3.0km/h
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
voxel_grid_x: 0.05 # voxel grid x parameter for filtering pointcloud [m]
voxel_grid_y: 0.05 # voxel grid y parameter for filtering pointcloud [m]
voxel_grid_z: 100000.0 # voxel grid z parameter for filtering pointcloud [m]
use_predicted_objects: False # whether to use predicted objects [-]
publish_obstacle_polygon: False # whether to publish obstacle polygon [-]

stop_planner:
# params for stop position
Expand All @@ -17,7 +19,10 @@

# params for detection area
detection_area:
lateral_margin: 0.0 # margin of vehicle footprint [m]
lateral_margin: 0.0 # margin [m]
vehicle_lateral_margin: 0.0 # margin of vehicle footprint [m]
pedestrian_lateral_margin: 0.0 # margin of pedestrian footprint [m]
unknown_lateral_margin: 0.0 # margin of unknown footprint [m]
step_length: 1.0 # step length for pointcloud search range [m]
extend_distance: 0.0 # extend trajectory to consider after goal obstacle in the extend_distance [m]

Expand All @@ -33,6 +38,9 @@
# params for detection area
detection_area:
lateral_margin: 1.0 # offset from vehicle side edge for expanding the search area of the surrounding point cloud [m]
vehicle_lateral_margin: 1.0 # offset from vehicle side edge for expanding the search area of the surrounding point cloud [m]
pedestrian_lateral_margin: 1.0 # offset from pedestrian side edge for expanding the search area of the surrounding point cloud [m]
unknown_lateral_margin: 1.0 # offset from unknown side edge for expanding the search area of the surrounding point cloud [m]

# params for velocity
target_velocity:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**:
ros__parameters:
avoidance:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
lane_change:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
lane_following:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
pull_out:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
pull_over:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
side_shift:
drivable_area_right_bound_offset: 0.0
drivable_area_left_bound_offset: 0.0
drivable_area_types_to_skip: [road_border]
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**:
ros__parameters:
module_list:
- "blind_spot"
- "crosswalk"
- "detection_area"
- "intersection"
- "no_stopping_area"
- "traffic_light"
- "ext_request_lane_change_left"
- "ext_request_lane_change_right"
- "lane_change_left"
- "lane_change_right"
- "avoidance_left"
- "avoidance_right"
- "pull_over"
- "pull_out"

default_enable_list:
- "blind_spot"
- "crosswalk"
- "detection_area"
- "intersection"
- "no_stopping_area"
- "traffic_light"
- "lane_change_left"
- "lane_change_right"
- "avoidance_left"
- "avoidance_right"
- "pull_over"
- "pull_out"
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<arg name="pointcloud_map_path" value="$(var pointcloud_map_path)"/>

<arg name="pointcloud_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/pointcloud_map_loader.param.yaml"/>
<arg name="lanelet2_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/lanelet2_map_loader.param.yaml"/>
</include>
</launch>