Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no match for ‘operator=’ #92

Open
YouShaoze opened this issue Jan 7, 2021 · 2 comments
Open

error: no match for ‘operator=’ #92

YouShaoze opened this issue Jan 7, 2021 · 2 comments

Comments

@YouShaoze
Copy link

/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
Copy link

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

siyuanwu99 added a commit to siyuanwu99/ego-planner-swarm that referenced this issue Feb 26, 2022
234-235 行 for 循环的圆括号里面用了 double(应该是int),这会导致在某些特殊情况下编译不过。 
issue HKUST-Aerial-Robotics/Fast-Planner#92  中遇到了同样的问题
@enfuri51
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants