Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync awf-latest-x2 #47

Merged
merged 8 commits into from
Apr 18, 2023
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/small-change.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

Not applicable.

## Effects on system behavior

<!-- Describe how this PR affects the system behavior. -->

Not applicable.

## Pre-review checklist for the PR author

The PR author **must** check the checkboxes below when creating the PR.
Expand Down
50 changes: 50 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/standard-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## Description

<!-- Write a brief description of this PR. -->

## Related links

<!-- Write the links related to this PR. Private links should be clearly marked as private, for example, '[FOO COMPANY INTERNAL LINK](https://example.com)'. -->

## Tests performed

<!-- Describe how you have tested this PR. -->

## Notes for reviewers

<!-- Write additional information if necessary. It should be written if there are related PRs that should be merged at the same time. -->

## Interface changes

<!-- Describe any changed interfaces, such as topics, services, or parameters. -->

## Effects on system behavior

<!-- Describe how this PR affects the system behavior. -->

## Pre-review checklist for the PR author

The PR author **must** check the checkboxes below when creating the PR.

- [ ] I've confirmed the [contribution guidelines].
- [ ] The PR follows the [pull request guidelines].

## In-review checklist for the PR reviewers

The PR reviewers **must** check the checkboxes below before approval.

- [ ] The PR follows the [pull request guidelines].
- [ ] The PR has been properly tested.
- [ ] The PR has been reviewed by the code owners.

## Post-review checklist for the PR author

The PR author **must** check the checkboxes below before merging.

- [ ] There are no open discussions or they are tracked via tickets.
- [ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/
[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
detection_area_left_expand_dist: 1.0 # [m]
drivable_area_right_bound_offset: 0.0 # [m]
drivable_area_left_bound_offset: 0.0 # [m]
object_envelope_buffer: 0.3 # [m]

# avoidance module common setting
enable_bound_clipping: false
Expand All @@ -26,14 +25,46 @@

# avoidance is performed for the object type with true
target_object:
car: true
truck: true
bus: true
trailer: true
unknown: false
bicycle: false
motorcycle: false
pedestrian: false
car:
enable: true
envelope_buffer_margin: 0.3
safety_buffer_lateral: 0.7
safety_buffer_longitudinal: 0.0
truck:
enable: true
envelope_buffer_margin: 0.3
safety_buffer_lateral: 0.7
safety_buffer_longitudinal: 0.0
bus:
enable: true
envelope_buffer_margin: 0.3
safety_buffer_lateral: 0.7
safety_buffer_longitudinal: 0.0
trailer:
enable: true
envelope_buffer_margin: 0.3
safety_buffer_lateral: 0.7
safety_buffer_longitudinal: 0.0
unknown:
enable: false
envelope_buffer_margin: 0.3
safety_buffer_lateral: 0.7
safety_buffer_longitudinal: 0.0
bicycle:
enable: false
envelope_buffer_margin: 0.8
safety_buffer_lateral: 1.0
safety_buffer_longitudinal: 1.0
motorcycle:
enable: false
envelope_buffer_margin: 0.8
safety_buffer_lateral: 1.0
safety_buffer_longitudinal: 1.0
pedestrian:
enable: false
envelope_buffer_margin: 0.8
safety_buffer_lateral: 1.0
safety_buffer_longitudinal: 1.0

# For target object filtering
target_filtering:
Expand Down Expand Up @@ -66,7 +97,6 @@
# avoidance lateral parameters
lateral:
lateral_collision_margin: 1.0 # [m]
lateral_collision_safety_buffer: 0.7 # [m]
lateral_passable_safety_buffer: 1.0 # [m]
road_shoulder_safety_margin: 0.3 # [m]
avoidance_execution_lateral_threshold: 0.499
Expand All @@ -75,7 +105,6 @@
# avoidance distance parameters
longitudinal:
prepare_time: 2.0 # [s]
longitudinal_collision_safety_buffer: 0.0 # [m]
min_prepare_distance: 1.0 # [m]
min_avoidance_distance: 10.0 # [m]
min_nominal_avoidance_speed: 7.0 # [m/s]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
decide_path_distance: 10.0
maximum_deceleration: 1.0
maximum_jerk: 1.0
# goal research
enable_goal_research: true
# goal search
search_priority: "efficient_path" # "efficient_path" or "close_goal"
parking_policy: "left_side" # "left_side" or "right_side"
forward_goal_search_length: 20.0
backward_goal_search_length: 20.0
goal_search_interval: 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
ego_yield_query_stop_duration: 0.1 # [s] the amount of time which ego should be stopping to query whether it yields or not

# param for input data
external_input_timeout: 1.0
tl_state_timeout: 3.0 # [s] timeout threshold for traffic light signal

# param for target area & object
Expand All @@ -43,4 +42,3 @@
walkway:
stop_duration_sec: 1.0 # [s] stop time at stop position
stop_line_distance: 3.5 # [m] make stop line away from crosswalk when no explicit stop line exists
external_input_timeout: 1.0
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
/**:
ros__parameters:
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
intersection_velocity: 2.778 # 2.778m/s = 10.0km/h
intersection_max_accel: 0.5 # m/ss
detection_area_margin: 0.5 # [m]
detection_area_right_margin: 0.5 # [m]
detection_area_left_margin: 0.5 # [m]
detection_area_length: 200.0 # [m]
detection_area_angle_threshold: 0.785 # [rad]
min_predicted_path_confidence: 0.05
minimum_ego_predicted_velocity: 1.388 # [m/s]
collision_start_margin_time: 4.0 # [s] this + state_transit_margin_time should be higher to account for collision with fast/accelerating object
collision_end_margin_time: 6.0 # [s] this + state_transit_margin_time should be higher to account for collision with slow/decelerating object
use_stuck_stopline: false # stopline generate before the intersection lanelet when is_stuck
assumed_front_car_decel: 1.0 # [m/ss] the expected deceleration of front car when front car as well as ego are turning
enable_front_car_decel_prediction: false # By default this feature is disabled
stop_overshoot_margin: 0.5 # [m] overshoot margin for stuck, collision detection
external_input_timeout: 1.0
common:
detection_area_margin: 0.5 # [m]
detection_area_right_margin: 0.5 # [m]
detection_area_left_margin: 0.5 # [m]
detection_area_length: 200.0 # [m]
detection_area_angle_threshold: 0.785 # [rad]
stop_line_margin: 3.0
intersection_velocity: 2.778 # 2.778m/s = 10.0km/h
intersection_max_accel: 0.5 # m/ss
stop_overshoot_margin: 0.5 # [m] overshoot margin for stuck, collision detection

stuck_vehicle:
use_stuck_stopline: false # stopline generate before the intersection lanelet when is_stuck
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
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.
enable_front_car_decel_prediction: false # By default this feature is disabled
assumed_front_car_decel: 1.0 # [m/ss] the expected deceleration of front car when front car as well as ego are turning

collision_detection:
state_transit_margin_time: 1.0
min_predicted_path_confidence: 0.05
minimum_ego_predicted_velocity: 1.388 # [m/s]
collision_start_margin_time: 4.0 # [s] this + state_transit_margin_time should be higher to account for collision with fast/accelerating object
collision_end_margin_time: 6.0 # [s] this + state_transit_margin_time should be higher to account for collision with slow/decelerating object
keep_detection_vel_thr: 0.833 # == 3.0km/h. keep detection if ego is ego.vel < keep_detection_vel_thr

merge_from_private_road:
stop_duration_sec: 1.0
merge_from_private:
merge_from_private_area:
stop_duration_sec: 1.0
stop_duration_sec: 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
traffic_light:
stop_margin: 0.0
tl_state_timeout: 1.0
external_tl_state_timeout: 1.0
yellow_lamp_period: 2.75
enable_pass_judge: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
enable_debug_info: false
enable_calculation_time_info: false

enable_slow_down_planning: false
enable_slow_down_planning: true

# longitudinal info
idling_time: 2.0 # idling time to detect front vehicle starting deceleration [s]
Expand Down Expand Up @@ -93,7 +93,7 @@
max_prediction_time_for_collision_check : 20.0 # prediction time to check collision between obstacle and ego

slow_down:
max_lat_margin: 10.0 # lateral margin between obstacle and trajectory band with ego's width
max_lat_margin: 1.0 # lateral margin between obstacle and trajectory band with ego's width

cruise:
pid_based_planner:
Expand Down Expand Up @@ -160,11 +160,11 @@
over_j_weight: 10000.0

slow_down:
# parameters to calculate slow down velocity
max_lateral_margin: 5.0
min_lateral_margin: 3.0
max_ego_velocity: 10.0
min_ego_velocity: 3.0

# parameter for where to insert slow down point
max_deceleration: -2.0
# parameters to calculate slow down velocity by linear interpolation
min_lat_margin: 0.2
max_lat_margin: 1.0
min_ego_velocity: 2.0
max_ego_velocity: 8.0

# max deceleration during slow down
max_deceleration: -1.0
7 changes: 7 additions & 0 deletions autoware_launch/rviz/autoware.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -2141,6 +2141,13 @@ Visualization Manager:
History Policy: Keep Last
Reliability Policy: Reliable
Value: /planning/mission_planning/goal
- Class: tier4_adapi_rviz_plugins::RouteTool
Topic:
Depth: 5
Durability Policy: Volatile
History Policy: Keep Last
Reliability Policy: Reliable
Value: /rviz/routing/rough_goal
- Class: rviz_plugins/PedestrianInitialPoseTool
Pose Topic: /simulation/dummy_perception_publisher/object_info
Theta std deviation: 0.0872664600610733
Expand Down