From 62a94ecd8d856877662d71a23eeea70e6a2a5461 Mon Sep 17 00:00:00 2001 From: satoshi-ota Date: Fri, 18 Oct 2024 09:23:27 +0900 Subject: [PATCH] fix: build error Signed-off-by: satoshi-ota --- .../include/behavior_path_avoidance_module/helper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/behavior_path_avoidance_module/include/behavior_path_avoidance_module/helper.hpp b/planning/behavior_path_avoidance_module/include/behavior_path_avoidance_module/helper.hpp index 60cf62a492afa..f656176193f59 100644 --- a/planning/behavior_path_avoidance_module/include/behavior_path_avoidance_module/helper.hpp +++ b/planning/behavior_path_avoidance_module/include/behavior_path_avoidance_module/helper.hpp @@ -319,7 +319,7 @@ class AvoidanceHelper const auto idx = getConstraintsMapIndex(0.0, values); // use minimum avoidance speed const auto jerk_limit = parameters_->lateral_max_jerk_map.at(idx); return std::all_of(shift_lines.begin(), shift_lines.end(), [&](const auto & line) { - return autoware::motion_utils::calc_jerk_from_lat_lon_distance( + return PathShifter::calcJerkFromLatLonDistance( line.getRelativeLength(), line.getRelativeLongitudinal(), values.at(idx)) < jerk_limit + JERK_BUFFER; });