forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/porting motion velocity smoother (autowarefoundation#302)
* Launch motion_velocity_smoother (autowarefoundation#215) * Launch motion_velocity_smoother * Change params * Fix parameter files * Fix Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp> * Fix/smoother trajectory ds (autowarefoundation#249) * Add parameter * Fix * Fix * change launcher parameter (autowarefoundation#265) * Feature/smoother resampling (autowarefoundation#269) * change launcher parameter * add new parameter Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: purewater0901 <43805014+purewater0901@users.noreply.github.com>
- Loading branch information
1 parent
ba3aca1
commit dd02979
Showing
7 changed files
with
80 additions
and
6 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...g_launch/config/scenario_planning/common/motion_velocity_smoother/JerkFiltered.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/**: | ||
ros__parameters: | ||
jerk_weight: 0.1 # weight for "smoothness" cost for jerk | ||
over_v_weight: 10000.0 # weight for "over speed limit" cost | ||
over_a_weight: 500.0 # weight for "over accel limit" cost | ||
over_j_weight: 200.0 # weight for "over jerk limit" cost | ||
jerk_filter_ds: 0.1 # resampling ds for jerk filter |
5 changes: 5 additions & 0 deletions
5
planning_launch/config/scenario_planning/common/motion_velocity_smoother/L2.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/**: | ||
ros__parameters: | ||
pseudo_jerk_weight: 100.0 # weight for "smoothness" cost | ||
over_v_weight: 100000.0 # weight for "over speed limit" cost | ||
over_a_weight: 1000.0 # weight for "over accel limit" cost |
5 changes: 5 additions & 0 deletions
5
planning_launch/config/scenario_planning/common/motion_velocity_smoother/Linf.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/**: | ||
ros__parameters: | ||
pseudo_jerk_weight: 200.0 # weight for "smoothness" cost | ||
over_v_weight: 100000.0 # weight for "over speed limit" cost | ||
over_a_weight: 5000.0 # weight for "over accel limit" cost |
54 changes: 54 additions & 0 deletions
54
...fig/scenario_planning/common/motion_velocity_smoother/motion_velocity_smoother.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/**: | ||
ros__parameters: | ||
# motion state constraints | ||
max_velocity: 20.0 # max velocity limit [m/s] | ||
max_accel: 1.0 # max acceleration limit [m/ss] | ||
min_decel: -0.5 # min deceleration limit [m/ss] | ||
max_jerk: 1.0 # default maximum jerk limit | ||
min_jerk: -0.5 # default minimum jerk limit | ||
|
||
# external velocity limit parameter | ||
margin_to_insert_external_velocity_limit: 0.3 # margin distance to insert external velocity limit [m] | ||
|
||
# curve parameters | ||
max_lateral_accel: 0.8 # max lateral acceleration limit [m/ss] | ||
min_curve_velocity: 2.74 # min velocity at lateral acceleration limit [m/ss] | ||
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 | ||
|
||
# engage & replan parameters | ||
replan_vel_deviation: 5.53 # velocity deviation to replan initial velocity [m/s] | ||
engage_velocity: 0.25 # engage velocity threshold [m/s] (if the trajectory velocity is higher than this value, use this velocity for engage vehicle speed) | ||
engage_acceleration: 0.1 # engage acceleration [m/ss] (use this acceleration when engagement) | ||
engage_exit_ratio: 0.5 # exit engage sequence to normal velocity planning when the velocity exceeds engage_exit_ratio x engage_velocity. | ||
stop_dist_to_prohibit_engage: 0.5 # if the stop point is in this distance, the speed is set to 0 not to move the vehicle [m] | ||
|
||
# stop velocity | ||
stopping_velocity: 2.778 # change target velocity to this value before v=0 point [m/s] | ||
stopping_distance: 0.0 # distance for the stopping_velocity [m]. 0 means the stopping velocity is not applied. | ||
|
||
# path extraction parameters | ||
extract_ahead_dist: 200.0 # forward trajectory distance used for planning [m] | ||
extract_behind_dist: 5.0 # backward trajectory distance used for planning [m] | ||
delta_yaw_threshold: 1.0472 # Allowed delta yaw between ego pose and trajectory pose [radian] | ||
|
||
# resampling parameters for optimization | ||
max_trajectory_length: 200.0 # max trajectory length for resampling [m] | ||
min_trajectory_length: 150.0 # min trajectory length for resampling [m] | ||
resample_time: 5.0 # resample total time for dense sampling [s] | ||
dense_dt: 0.1 # resample time interval for dense sampling [s] | ||
dense_min_interval_distance: 0.1 # minimum points-interval length for dense sampling [m] | ||
sparse_dt: 0.5 # resample time interval for sparse sampling [s] | ||
sparse_min_interval_distance: 4.0 # minimum points-interval length for sparse sampling [m] | ||
|
||
# resampling parameters for post process | ||
post_max_trajectory_length: 300.0 # max trajectory length for resampling [m] | ||
post_min_trajectory_length: 30.0 # min trajectory length for resampling [m] | ||
post_resample_time: 10.0 # resample total time for dense sampling [s] | ||
post_dense_dt: 0.1 # resample time interval for dense sampling [s] | ||
post_dense_min_interval_distance: 0.1 # minimum points-interval length for dense sampling [m] | ||
post_sparse_dt: 0.1 # resample time interval for sparse sampling [s] | ||
post_sparse_min_interval_distance: 1.0 # minimum points-interval length for sparse sampling [m] | ||
|
||
# system | ||
over_stop_velocity_warn_thr: 1.389 # used to check if the optimization exceeds the input velocity on the stop point |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._driving/motion_planning/obstacle_avoidance_planner/obstacle_avoidance_planner.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters