HKUST-Aerial-Robotics / Fast-Planner

A Robust and Efficient Trajectory Planner for Quadrotors
GNU General Public License v3.0
2.4k stars 665 forks source link

error: no match for ‘operator=’ #92

Open YouShaoze opened 3 years ago

YouShaoze commented 3 years ago

/home/ysz/fast/src/Fast-Planner/fast_planner/poly_traj/include/poly_traj/polynomial_traj.h:211:26: 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’) mat_jerk(i, j) =

SuperSivan commented 3 years ago

I met the same question. My solution is change the Eigen vision to 3.3.0

enfuri51 commented 1 year ago

for (int i = 3; i < order; i += 1) for (int j = 3; j < order; j += 1) Just replace double i = 3 with int i =3