Skip to content

Commit

Permalink
disable backward clothoid parking (not support yet)
Browse files Browse the repository at this point in the history
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
  • Loading branch information
Takumi Ito committed Jan 29, 2025
1 parent 69e1271 commit f572227
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
backward_parking_path_interval: 1.0
backward_parking_max_steer_angle: 0.4 # 22.9deg
backward_parking_steer_rate_lim: 0.35
backward_parking_use_clothoid: true
backward_parking_use_clothoid: false # Not supported yet

# freespace parking
freespace_parking:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ std::vector<PathWithLaneId> GeometricParallelParking::generatePullOverPaths(
const double arc_path_interval = is_forward ? parameters_.forward_parking_path_interval
: parameters_.backward_parking_path_interval;
std::vector<PathWithLaneId> arc_paths;
if (
is_forward ? parameters_.forward_parking_use_clothoid
: parameters_.backward_parking_use_clothoid) {
if (is_forward && parameters_.forward_parking_use_clothoid) { // clothoid parking only supports
// forward for now
const double L_min =
is_forward
? std::abs(
Expand Down

0 comments on commit f572227

Please sign in to comment.