-
Notifications
You must be signed in to change notification settings - Fork 808
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
Eigen Plugins Order #67
Comments
When I am using /opt/ros/kinetic/include/grid_map_cv/GridMapCvConverter.hpp: In static member function ‘static bool grid_map::GridMapCvConverter::toImage(const grid_map::GridMap&, const string&, int, cv::Mat&)’:
/opt/ros/kinetic/include/grid_map_cv/GridMapCvConverter.hpp:136:47: error: ‘const Matrix {aka const class Eigen::Matrix<float, -1, -1>}’ has no member named ‘minCoeffOfFinites’
const float minValue = gridMap.get(layer).minCoeffOfFinites(); Has it got something to do with this issue, or how can I resolve it? I have created a minimal project, and tracked it down to this: #include "grid_map_cv/grid_map_cv.hpp"
#include "Eigen/Eigen" Problem does occur: #include "Eigen/Eigen"
#include "grid_map_cv/grid_map_cv.hpp" |
Yes, that's the problem we're facing when Eigen is included first, as Grid Map relies on Eigen Addons that are loaded through macros: http://eigen.tuxfamily.org/dox/TopicCustomizingEigen.html I'm not sure how to resolve this nicely, any hints are appreciated. |
Thanks to @djud and @hogabrie for resolving this with https://github.com/ethz-asl/grid_map/pull/73! |
Hi @pfankhauser the pull is no longer available and I still have the same problem, do you know how to solve this? thanks |
Currently, there's an error when Eigen is not loaded at first from
grid_map_core
because of the Eigen Plugins.The text was updated successfully, but these errors were encountered: