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

failed to complie #86

Open
cdlwhm1217096231 opened this issue Mar 29, 2018 · 2 comments
Open

failed to complie #86

cdlwhm1217096231 opened this issue Mar 29, 2018 · 2 comments

Comments

@cdlwhm1217096231
Copy link

when I use catkin_make hector_quadrotor ,the following errors will be appear.please help me!!!thank you!
1、/hector_quadrotor_tutorial/src/hector_localization/hector_pose_estimation_core/src/measurements/poseupdate.cpp:385:73: error: cannot convert ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, const Eigen::Matrix<double, 1, 1, 0, 1, 1> >, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, 1, 1, 0, 1, 1>, const Eigen::Matrix<double, 1, 1, 0, 1, 1> > >’ to ‘double’ in initialization double error2 = error.transpose() * Ix * (Ix + Iy).inverse() * Iy * error;
2、/hector_quadrotor_tutorial/src/hector_localization/hector_pose_estimation_core/src/measurements/poseupdate.cpp:234:154: required from here/hector_quadrotor_tutorial/src/hector_localization/hector_pose_estimation_core/src/measurements/poseupdate.cpp:385:73: error: cannot convert ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, const Eigen::Matrix<double, 1, 1, 0, 1, 1> >, const Eigen::Matrix<double, 1, 1, 0, 1, 1> >’ to ‘double’ in initialization

@suraj2596
Copy link

I think the problem is the version of Eigen. Try installing Eigen3 and then proceed.

@ggsharma
Copy link

#78 Please go to this issue. I have answered it and it will solve the problem.

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