ZJU-FAST-Lab / ego-planner

GNU General Public License v3.0
1.41k stars 281 forks source link

find the code error in [ego-planner/src/planner/traj_utils/include/ploynomial_traj.h] #22

Closed caobingquan6 closed 3 years ago

caobingquan6 commented 3 years ago

Line 272 and Line 311: tv(i) = pow(ts, i); should be tv(i) = pow(eval_t, i);

The same error also appeared in project ego-swarm. Maybe your code is correct, please criticize and correct.

bigsuperZZZX commented 3 years ago

That's truly a mistake! Thank you for your correction.