Comments (3)
When I am using "#include "grid_map_cv/grid_map_cv.hpp"
, I get the error
/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:
Problem does not occur:
#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"
from grid_map.
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.
from grid_map.
Thanks to @djud and @hogabrie for resolving this with https://github.com/ethz-asl/grid_map/pull/73!
from grid_map.
Related Issues (20)
- Compilation error while building SdfDemo
- The imported target "Qt5::Gui" references the file "/usr/lib/x86_64-linux-gnu/libGL.so" but this file does not exist. HOT 2
- missmatching sizes of grid_map using rviz plugin (ROS) HOT 1
- could the grid_map can be used for robot-arm for path plan
- does the pcd file's points cloud need to align with gravity?
- Compilation bug in foxy-devel where variable outputColor is not initialzied in pkg grid_map_filters HOT 1
- Wrong parameter name in grid_map_pcl
- Build issue possibly related to Eigen add-on macros HOT 3
- How to convert grid map from Elevation Mapping to CostMap2D? HOT 3
- Invoking "make -j16 -l16" failed when building the grid map HOT 1
- loadFromBag crashes in ROS2 when bag contains multiple topics HOT 3
- Efficient way to update an existing grid map object
- Superflous CMake Calls to old ament
- MedianFillFilter.cpp -> function cleanedMask() 's morphological operational question
- unable to build grid_map on ros2 humble
- How do I access and test the costmap2Dconvertor ?
- Visualize multiple grid maps in rviz
- Publish a Float32MultiArray in a GridMap message HOT 1
- Request to add maintainers for ROS 2 or transfer of ownership of ROS 2 to ethz-asl HOT 2
- grid_map_filters package fails during build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grid_map.