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 beta branch beta/v0.17.0 with tier4/main #257

Merged
merged 18 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
5ba1301
feat(intersection): rectify initial accel/velocity profile in ego vel…
soblin Nov 8, 2023
0cd5d89
refactor(launch): add new option to select planning preset (#680)
satoshi-ota Nov 8, 2023
29ea479
feat: enable the run_out module (#683)
takayuki5168 Nov 9, 2023
2b25e81
fix(perception): add detection_by_tracker param file (#676)
badai-nguyen Nov 13, 2023
6004d87
feat(obstacle_cruise_planner): use obstacle velocity based obstacle p…
danielsanchezaran Nov 14, 2023
064c458
feat(duplicated_node_checker): enable duplicated_node_checker in simu…
kyoichi-sugahara Nov 14, 2023
81b9f11
feat: add motion_velocity_smoother's virtual wall in rviz (#684)
takayuki5168 Nov 14, 2023
c97cf8b
fix(detected_object_validation): add param (#669)
badai-nguyen Nov 15, 2023
6679b5d
feat(radar_object_clustering): move radar object clustering params to…
YoshiRi Nov 16, 2023
53cf81f
fix(avoidance): prevent sudden steering at yield maneuver (#690)
satoshi-ota Nov 16, 2023
8f660e4
feat(out_of_lane): more stable decisions (#612)
maxime-clem Nov 16, 2023
31961eb
feat: lane_departure_checker with curbstones (#687)
takayuki5168 Nov 16, 2023
3c9d39d
feat: enable and tune drivable area expansion (#689)
takayuki5168 Nov 16, 2023
1d365ed
fix(lane_change): regulate at the traffic light (#673)
zulfaqar-azmi-t4 Nov 17, 2023
aa96dea
feat(component_state_monitor): monitor pose_estimator output (#692)
kminoda Nov 20, 2023
6f2b8ba
refactor(start_planner): add verbose parameter for debug print (#693)
kyoichi-sugahara Nov 20, 2023
d466161
fix(start_planner): disbale verbose flag to false in start_planner.pa…
kyoichi-sugahara Nov 21, 2023
0c20fc8
Merge pull request #256 from tier4/sync-awf-upstream
tier4-autoware-public-bot[bot] Nov 22, 2023
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
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**:
ros__parameters:
# Enable feature
will_out_of_lane_checker: true
out_of_lane_checker: true
boundary_departure_checker: false
will_out_of_lane_checker: false
out_of_lane_checker: false
boundary_departure_checker: true

# Node
update_rate: 10.0
Expand All @@ -12,7 +12,7 @@
include_left_lanes: false
include_opposite_lanes: false
include_conflicting_lanes: false
boundary_types_to_detect: [road_border]
boundary_types_to_detect: [curbstone]

# Core
footprint_margin_scale: 1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**:
ros__parameters:
# clustering parameter
angle_threshold: 0.174 # [rad] (10 deg)
distance_threshold: 10.0 # [m]
velocity_threshold: 4.0 # [m/s]

# output object settings
# set false if you want to use the object information from radar
is_fixed_label: true
fixed_label: "CAR"
is_fixed_size: true
size_x: 4.0 # [m]
size_y: 1.5 # [m]
size_z: 1.5 # [m]
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
min_points_and_distance_ratio:
#UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE, PEDESTRIAN
[800.0, 880.0, 800.0, 800.0, 800.0, 800.0, 800.0, 800.0]

using_2d_validator: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**:
ros__parameters:
tracker_ignore_label:
UNKNOWN : true
CAR : false
TRUCK : false
BUS : false
TRAILER : false
MOTORCYCLE : false
BICYCLE : false
PEDESTRIAN : false
120 changes: 120 additions & 0 deletions autoware_launch/config/planning/preset/default_preset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
launch:
# behavior path modules
- arg:
name: launch_avoidance_module
default: "true"
- arg:
name: launch_avoidance_by_lane_change_module
default: "true"
- arg:
name: launch_dynamic_avoidance_module
default: "false"
- arg:
name: launch_lane_change_right_module
default: "true"
- arg:
name: launch_lane_change_left_module
default: "true"
- arg:
name: launch_external_request_lane_change_right_module
default: "false"
- arg:
name: launch_external_request_lane_change_left_module
default: "false"
- arg:
name: launch_goal_planner_module
default: "true"
- arg:
name: launch_start_planner_module
default: "true"
- arg:
name: launch_side_shift_module
default: "true"
- arg:
name: use_experimental_lane_change_function
default: "true"

# behavior velocity modules
- arg:
name: launch_crosswalk_module
default: "true"
- arg:
name: launch_walkway_module
default: "true"
- arg:
name: launch_traffic_light_module
default: "true"
- arg:
name: launch_intersection_module
default: "true"
- arg:
name: launch_merge_from_private_module
default: "true"
- arg:
name: launch_blind_spot_module
default: "true"
- arg:
name: launch_detection_area_module
default: "true"
- arg:
name: launch_virtual_traffic_light_module
default: "false"
- arg:
name: launch_no_stopping_area_module
default: "true"
- arg:
name: launch_stop_line_module
default: "true"
- arg:
name: launch_occlusion_spot_module
default: "false"
- arg:
name: launch_run_out_module
default: "true"
- arg:
name: launch_speed_bump_module
default: "false"
- arg:
name: launch_out_of_lane_module
default: "true"
- arg:
name: launch_no_drivable_lane_module
default: "false"

# motion planning modules
- arg:
name: motion_path_smoother_type
default: elastic_band
# option: elastic_band
# none

- arg:
name: motion_path_planner_type
default: obstacle_avoidance_planner
# option: obstacle_avoidance_planner
# path_sampler
# none

- arg:
name: motion_stop_planner_type
default: obstacle_stop_planner
# option: obstacle_stop_planner
# obstacle_cruise_planner
# none

- arg:
name: motion_velocity_smoother_type
default: JerkFiltered
# option: JerkFiltered
# L2
# Linf(Unstable)
# Analytical

- arg:
name: launch_surround_obstacle_checker
default: "true"

# parking modules
- arg:
name: launch_parking_module
default: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@
max_deviation_from_lane: 0.5 # [m]
# avoidance distance parameters
longitudinal:
prepare_time: 2.0 # [s]
min_prepare_time: 1.0 # [s]
max_prepare_time: 2.0 # [s]
min_prepare_distance: 1.0 # [m]
min_slow_down_speed: 1.38 # [m/s]
buf_slow_down_speed: 0.56 # [m/s]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

traffic_light_signal_timeout: 1.0

groot_zmq_publisher_port: 1666
groot_zmq_server_port: 1667

planning_hz: 10.0
backward_path_length: 5.0
forward_path_length: 300.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Dynamic expansion by using the path curvature
dynamic_expansion:
enabled: false
enabled: true
print_runtime: false
max_expansion_distance: 0.0 # [m] maximum distance by which the drivable area can be expended (0.0 means no limit)
smoothing:
Expand All @@ -19,14 +19,14 @@
extra_front_overhang: 0.5 # [m] extra length to add to the front overhang
extra_width: 1.0 # [m] extra length to add to the width
dynamic_objects:
avoid: true # if true, the drivable area is not expanded in the predicted path of dynamic objects
avoid: false # if true, the drivable area is not expanded in the predicted path of dynamic objects
extra_footprint_offset:
front: 0.5 # [m] extra length to add to the front of the dynamic object footprint
rear: 0.5 # [m] extra length to add to the rear of the dynamic object footprint
left: 0.5 # [m] extra length to add to the left of the dynamic object footprint
right: 0.5 # [m] extra length to add to the rear of the dynamic object footprint
path_preprocessing:
max_arc_length: 50.0 # [m] maximum arc length along the path where the ego footprint is projected (0.0 means no limit)
max_arc_length: 100.0 # [m] maximum arc length along the path where the ego footprint is projected (0.0 means no limit)
resample_interval: 2.0 # [m] fixed interval between resampled path points (0.0 means path points are directly used)
reuse_max_deviation: 0.5 # [m] if the path changes by more than this value, the curvatures are recalculated. Otherwise they are reused.
avoid_linestring:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
regulation:
crosswalk: false
intersection: false
traffic_light: true

# ego vehicle stuck detection
stuck_detection:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/**:
ros__parameters:
external_request_lane_change_left:
enable_module: false
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: true
Expand All @@ -13,7 +12,6 @@
max_module_size: 1

external_request_lane_change_right:
enable_module: false
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: true
Expand All @@ -22,7 +20,6 @@
max_module_size: 1

lane_change_left:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: true
Expand All @@ -31,7 +28,6 @@
max_module_size: 1

lane_change_right:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: true
Expand All @@ -40,7 +36,6 @@
max_module_size: 1

start_planner:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: false
Expand All @@ -49,7 +44,6 @@
max_module_size: 1

side_shift:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
Expand All @@ -58,7 +52,6 @@
max_module_size: 1

goal_planner:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
Expand All @@ -67,7 +60,6 @@
max_module_size: 1

avoidance:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: false
Expand All @@ -76,7 +68,6 @@
max_module_size: 1

avoidance_by_lc:
enable_module: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
Expand All @@ -85,7 +76,6 @@
max_module_size: 1

dynamic_avoidance:
enable_module: false
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**:
ros__parameters:
start_planner:

verbose: false

th_arrived_distance: 1.0
th_stopped_velocity: 0.01
th_stopped_time: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,3 @@
system_delay: 0.5
delay_response_time: 0.5
is_publish_debug_path: false # publish all debug path with lane id in each module
launch_modules:
- behavior_velocity_planner::CrosswalkModulePlugin
- behavior_velocity_planner::WalkwayModulePlugin
- behavior_velocity_planner::TrafficLightModulePlugin
- behavior_velocity_planner::IntersectionModulePlugin # Intersection module should be before merge from private to declare intersection parameters.
- behavior_velocity_planner::MergeFromPrivateModulePlugin
- behavior_velocity_planner::BlindSpotModulePlugin
- behavior_velocity_planner::DetectionAreaModulePlugin
# behavior_velocity_planner::VirtualTrafficLightModulePlugin
- behavior_velocity_planner::NoStoppingAreaModulePlugin # No stopping area module requires all the stop line. Therefore this modules should be placed at the bottom.
- behavior_velocity_planner::StopLineModulePlugin # Permanent stop line module should be after no stopping area
# behavior_velocity_planner::OcclusionSpotModulePlugin
# behavior_velocity_planner::RunOutModulePlugin
# behavior_velocity_planner::SpeedBumpModulePlugin
- behavior_velocity_planner::OutOfLaneModulePlugin
# behavior_velocity_planner::NoDrivableLaneModulePlugin
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@
distance_thr: 1.0 # [m]

collision_detection:
state_transit_margin_time: 0.0
state_transit_margin_time: 0.5
min_predicted_path_confidence: 0.05
minimum_ego_predicted_velocity: 1.388 # [m/s]
fully_prioritized:
collision_start_margin_time: 2.0
collision_end_margin_time: 0.0
partially_prioritized:
collision_start_margin_time: 4.0
collision_end_margin_time: 6.0
collision_start_margin_time: 3.0
collision_end_margin_time: 2.0
not_prioritized:
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
collision_start_margin_time: 3.0 # [s] this + state_transit_margin_time should be higher to account for collision with fast/accelerating object
collision_end_margin_time: 2.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
use_upstream_velocity: true # flag to use the planned velocity profile from the upstream module
minimum_upstream_velocity: 0.01 # [m/s] minimum velocity to avoid null division for the stop line from the upstream velocity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ros__parameters:
out_of_lane: # module to stop or slowdown before overlapping another lane with other objects
mode: ttc # mode used to consider a conflict with an object. "threshold", "intervals", or "ttc"
skip_if_already_overlapping: true # do not run this module when ego already overlaps another lane
skip_if_already_overlapping: false # do not run this module when ego already overlaps another lane

threshold:
time_threshold: 5.0 # [s] consider objects that will reach an overlap within this time
Expand All @@ -17,6 +17,7 @@
use_predicted_paths: true # if true, use the predicted paths to estimate future positions.
# if false, assume the object moves at constant velocity along *all* lanelets it currently is located in.
predicted_path_min_confidence : 0.1 # when using predicted paths, ignore the ones whose confidence is lower than this value.
distance_buffer: 1.0 # [m] distance buffer used to determine if a collision will occur in the other lane

overlap:
minimum_distance: 0.0 # [m] minimum distance inside a lanelet for an overlap to be considered
Expand All @@ -26,6 +27,7 @@
skip_if_over_max_decel: true # if true, do not take an action that would cause more deceleration than the maximum allowed
precision: 0.1 # [m] precision when inserting a stop pose in the path
distance_buffer: 1.5 # [m] buffer distance to try to keep between the ego footprint and lane
min_duration: 1.0 # [s] minimum duration needed before a decision can be canceled
slowdown:
distance_threshold: 30.0 # [m] insert a slowdown when closer than this distance from an overlap
velocity: 2.0 # [m/s] slowdown velocity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

# parameter to avoid sudden stopping
slow_down_limit:
enable: true
enable: false
max_jerk: -0.7 # [m/s^3] minimum jerk deceleration for safe brake.
max_acc : -2.0 # [m/s^2] minimum accel deceleration for safe brake.

Expand Down
Loading
Loading