Skip to content

Commit

Permalink
Merge pull request autowarefoundation#386 from beta/v2.2.1
Browse files Browse the repository at this point in the history
chore: cherry-pick from beta/v2.2.1
  • Loading branch information
0x126 committed Aug 30, 2023
2 parents 70109b6 + 747fcf6 commit d9c5939
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
min_jerk: -2.0

# pitch
use_trajectory_for_pitch_calculation: false
use_trajectory_for_pitch_calculation: true
lpf_pitch_gain: 0.95
max_pitch_rad: 0.1
min_pitch_rad: -0.1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
margin_to_insert_external_velocity_limit: 0.3 # margin distance to insert external velocity limit [m]

# curve parameters
max_lateral_accel: 1.0 # max lateral acceleration limit [m/ss]
max_lateral_accel: 0.6 # max lateral acceleration limit [m/ss]
min_curve_velocity: 2.74 # min velocity at lateral acceleration limit and steering angle rate limit [m/s]
decel_distance_before_curve: 3.5 # slow speed distance before a curve for lateral acceleration limit
decel_distance_after_curve: 2.0 # slow speed distance after a curve for lateral acceleration limit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
enabled: true
ego:
extra_footprint_offset:
front: 1.0 # [m] extra length to add to the front of the ego footprint
front: 1.5 # [m] extra length to add to the front of the ego footprint
rear: 0.5 # [m] extra length to add to the rear of the ego footprint
left: 0.5 # [m] extra length to add to the left of the ego footprint
right: 0.5 # [m] extra length to add to the rear of the ego footprint
Expand All @@ -26,12 +26,12 @@
# 'lanelet': add lanelets overlapped by the ego footprints
# 'polygon': add polygons built around sections of the ego footprint that go out of the drivable area
max_distance: 0.0 # [m] maximum distance by which the drivable area can be expended (0.0 means no limit)
max_path_arc_length: 50.0 # [m] maximum arc length along the path where the ego footprint is projected (0.0 means no limit)
max_path_arc_length: 80.0 # [m] maximum arc length along the path where the ego footprint is projected (0.0 means no limit)
extra_arc_length: 0.5 # [m] extra expansion arc length around an ego footprint
avoid_linestring:
types: # linestring types in the lanelet maps that will not be crossed when expanding the drivable area
- road_border
distance: 0.0 # [m] distance to keep between the drivable area and the linestrings to avoid
distance: 0.3 # [m] distance to keep between the drivable area and the linestrings to avoid
compensate:
enable: false # if true, when the drivable area cannot be expanded in one direction to completely include the ego footprint, it is expanded in the opposite direction
extra_distance: 3.0 # [m] extra distance to add to the compensation
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ros__parameters:
goal_planner:
# general params
minimum_request_length: 100.0
minimum_request_length: 10.0
th_arrived_distance: 1.0
th_stopped_velocity: 0.01
th_stopped_time: 2.0 # It must be greater than the state_machine's.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
intersection_to_occlusion: true

merge_from_private:
stop_line_margin: 3.0
stop_line_margin: 0.5
stop_duration_sec: 1.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**:
ros__parameters:
walkway:
stop_duration: 1.0 # [s] stop time at stop position
stop_distance_from_crosswalk: 0.5 # [m] make stop line away from crosswalk when no explicit stop line exists
stop_duration: 0.1 # [s] stop time at stop position
stop_distance_from_crosswalk: 0.0 # [m] make stop line away from crosswalk when no explicit stop line exists
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
- "traffic_light"
- "lane_change_left"
- "lane_change_right"
- "avoidance_left"
- "avoidance_right"
# - "avoidance_left"
# - "avoidance_right"
- "avoidance_by_lane_change_left"
- "avoidance_by_lane_change_right"
- "goal_planner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@

common:
num_points: 100 # number of points for optimization [-]
delta_arc_length: 1.0 # delta arc length for optimization [m]
delta_arc_length: 0.5 # delta arc length for optimization [m]

kinematics:
# If this parameter is commented out, the parameter is set as below by default.
# The logic could be `optimization_center_offset = vehicle_info.wheelbase * 0.8`
# The 0.8 scale is adopted as it performed the best.
optimization_center_offset: 0.0 # optimization center offset from base link
optimization_center_offset: 2.0 # optimization center offset from base link

clearance: # clearance(distance) between vehicle and roads/objects when generating trajectory
# if collision_free_constraints.option.hard_constraint is true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
min_ego_accel_for_rss: -1.0 # ego's acceleration to calculate RSS distance [m/ss]
min_object_accel_for_rss: -1.0 # front obstacle's acceleration to calculate RSS distance [m/ss]
safe_distance_margin : 6.0 # This is also used as a stop margin [m]
terminal_safe_distance_margin : 3.0 # Stop margin at the goal. This value cannot exceed safe distance margin. [m]
terminal_safe_distance_margin : 6.0 # Stop margin at the goal. This value cannot exceed safe distance margin. [m]
hold_stop_velocity_threshold: 0.01 # The maximum ego velocity to hold stopping [m/s]
hold_stop_distance_threshold: 0.3 # The ego keeps stopping if the distance to stop changes within the threshold [m]

Expand Down
2 changes: 2 additions & 0 deletions autoware_launch/launch/e2e_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
<!-- Tools -->
<arg name="rviz" value="$(var rviz)"/>
<arg name="rviz_config" value="$(var rviz_config)"/>
<!-- V2X -->
<arg name="launch_v2x" value="false"/>
</include>
</group>
</launch>

0 comments on commit d9c5939

Please sign in to comment.