Skip to content

Commit

Permalink
planning: naming change for SpeedHeuristicOptimizer for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtao authored and yifeijiang committed May 19, 2020
1 parent 9564687 commit 43e69a0
Show file tree
Hide file tree
Showing 23 changed files with 143 additions and 141 deletions.
4 changes: 2 additions & 2 deletions modules/planning/conf/planning_config.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ default_task_config: {
}
}
default_task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
speed_heuristic_config {
task_type: SPEED_HEURISTIC_OPTIMIZER
speed_heuristic_optimizer_config {
default_speed_config {
unit_t: 1.0
dense_dimension_s: 101
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -45,7 +45,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -78,7 +78,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -101,7 +101,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
12 changes: 6 additions & 6 deletions modules/planning/conf/scenario/emergency_pull_over_config.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand All @@ -41,7 +41,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -74,7 +74,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand Down Expand Up @@ -110,7 +110,7 @@ stage_config: {
task_type: SPEED_BOUNDS_FINAL_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -140,7 +140,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand All @@ -160,7 +160,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
8 changes: 4 additions & 4 deletions modules/planning/conf/scenario/emergency_stop_config.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand Down Expand Up @@ -46,7 +46,7 @@ stage_config: {
task_type: SPEED_BOUNDS_FINAL_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -76,7 +76,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand All @@ -96,7 +96,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
4 changes: 2 additions & 2 deletions modules/planning/conf/scenario/lane_follow_config.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
# task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand Down Expand Up @@ -62,7 +62,7 @@ stage_config: {
task_type: SPEED_BOUNDS_FINAL_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
4 changes: 2 additions & 2 deletions modules/planning/conf/scenario/park_and_go_config.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ stage_config:{
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand Down Expand Up @@ -166,7 +166,7 @@ stage_config:{
task_type: SPEED_BOUNDS_FINAL_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
8 changes: 4 additions & 4 deletions modules/planning/conf/scenario/pull_over_config.pb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand Down Expand Up @@ -60,7 +60,7 @@ stage_config: {
task_type: SPEED_BOUNDS_FINAL_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -91,7 +91,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_SPEED_OPTIMIZER
Expand Down Expand Up @@ -124,7 +124,7 @@ stage_config: {
task_type: SPEED_BOUNDS_PRIORI_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -44,7 +44,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -80,7 +80,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -100,7 +100,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -137,7 +137,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand Down Expand Up @@ -168,7 +168,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -204,7 +204,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -227,7 +227,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -41,7 +41,7 @@ stage_config: {
task_type: ST_BOUNDS_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -74,7 +74,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -97,7 +97,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -43,7 +43,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_BOUNDS_PRIORI_DECIDER
Expand Down Expand Up @@ -80,7 +80,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand Down Expand Up @@ -111,7 +111,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down Expand Up @@ -147,7 +147,7 @@ stage_config: {
task_type: RULE_BASED_STOP_DECIDER
task_type: ST_BOUNDS_DECIDER
task_type: SPEED_BOUNDS_PRIORI_DECIDER
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
task_type: SPEED_DECIDER
task_type: SPEED_BOUNDS_FINAL_DECIDER
task_type: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER
Expand All @@ -170,7 +170,7 @@ stage_config: {
task_type: PATH_DECIDER
}
task_config: {
task_type: DP_ST_SPEED_OPTIMIZER
task_type: SPEED_HEURISTIC_OPTIMIZER
}
task_config: {
task_type: SPEED_DECIDER
Expand Down
Loading

0 comments on commit 43e69a0

Please sign in to comment.