ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
well, it says matrix is an unknown type, so you probably need to include something containing the definition of matrix
#include <eigen3/Eigen/Eigen>
also potentially you want to add
include_directories(src ${EIGEN3_INCLUDE_DIR})
because then you can use
#include <Eigen/Eigen>
which works even on non-Ubuntu plattforms
2 | No.2 Revision |
well, it says matrix is an unknown type, so you probably need to include something containing the definition of matrix
#include <eigen3/Eigen/Eigen>
also potentially you want to addadd to your CMakeLists.txt:
include_directories(src ${EIGEN3_INCLUDE_DIR})
because then you can use
#include <Eigen/Eigen>
which works even on non-Ubuntu plattforms