Skip to content

Commit

Permalink
fix(autoware_map_based_prediction): fix argument order (#8031)
Browse files Browse the repository at this point in the history
fix(autoware_map_based_prediction): fix argument order in call `getFrenetPoint()`

Signed-off-by: yucedagonurcan <onur@adastec.com>
Co-authored-by: Shintaro Tomie <58775300+Shin-kyoto@users.noreply.github.com>
Co-authored-by: Kotaro Uetake <60615504+ktro2828@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 7, 2024
1 parent 6fb8804 commit 8cc3e49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ PredictedPath PathGenerator::generatePolynomialPath(
{
// Get current Frenet Point
const double ref_path_len = autoware::motion_utils::calcArcLength(ref_path);
const auto current_point = getFrenetPoint(object, ref_path, speed_limit, duration);
const auto current_point = getFrenetPoint(object, ref_path, duration, speed_limit);

// Step1. Set Target Frenet Point
// Note that we do not set position s,
Expand Down

0 comments on commit 8cc3e49

Please sign in to comment.