ZJU-FAST-Lab / ego-planner

GNU General Public License v3.0
1.29k stars 268 forks source link

error: no match for ‘operator=’ #93

Closed jierui778 closed 4 months ago

jierui778 commented 5 months ago

按照markdowm步骤构建发生如下错误 /home/jierui778/ego-planner/src/planner/traj_utils/include/traj_utils/polynomial_traj.h: In member function ‘double PolynomialTraj::getJerk()’: /home/jierui778/ego-planner/src/planner/traj_utils/include/traj_utils/polynomial_traj.h:238:94: error: no match for ‘operator=’ (operand types are ‘Eigen::internal::enable_if<true, Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, double, double> >::type {aka Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, double, double>}’ and ‘double’) i (i - 1) (i - 2) j (j - 1) (j - 2) pow(ts, i + j - 5) / (i + j - 5);

jierui778 commented 4 months ago

按照markdowm步骤构建发生如下错误 /home/jierui778/ego-planner/src/planner/traj_utils/include/traj_utils/polynomial_traj.h: In member function ‘double PolynomialTraj::getJerk()’: /home/jierui778/ego-planner/src/planner/traj_utils/include/traj_utils/polynomial_traj.h:238:94: error: no match for ‘operator=’ (operand types are ‘Eigen::internal::enable_if<true, Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, double, double> >::type {aka Eigen::IndexedView<Eigen::Matrix<double, -1, -1>, double, double>}’ and ‘double’) i (i - 1) (i - 2) j (j - 1) (j - 2) pow(ts, i + j - 5) / (i + j - 5);