Skip to content

Commit 4e90378

Browse files
committed
fix spellcheck
Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
1 parent d745303 commit 4e90378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perception/autoware_map_based_prediction/src/path_generator.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ FrenetPoint PathGenerator::getFrenetPoint(
443443
// if the velocities don't have the same sign, calculate when the vehicle reaches 0 speed ->
444444
// time t_stop
445445

446-
// 0 = Vo + acc(1/lambda)(1-e^(-lambdat_stop))
447-
// e^(-lambdat_stop) = 1 - (-Vo* lambda)/acc
446+
// 0 = Vo + acc(1/lambda)(1-e^(-lambda t_stop))
447+
// e^(-lambda t_stop) = 1 - (-Vo* lambda)/acc
448448
// t_stop = (-1/lambda)*ln(1 - (-Vo* lambda)/acc)
449449
// t_stop = (-1/lambda)*ln(1 + (Vo* lambda)/acc)
450450
auto t_stop = (-1.0 / lambda) * std::log(1 + (v * lambda / a));

0 commit comments

Comments
 (0)