/catkin_ws/src/RDS-SLAM/SLAM/src/MLPnPsolver.cpp:403:11: error: ‘class Eigen::SparseMatrix’ has no member named ‘setIdentity’
P.setIdentity(); // standard
I find where the errors occur in the code MLPnPsolver.cpp:
Is the SparseMatrix P here can't use the . setidentity() function?
Or is there a problem with my eigen version? but my Eigen version is 3.1.0
When I use catkin_make, there is an error:
/catkin_ws/src/RDS-SLAM/SLAM/src/MLPnPsolver.cpp:403:11: error: ‘class Eigen::SparseMatrix’ has no member named ‘setIdentity’
P.setIdentity(); // standard
I find where the errors occur in the code MLPnPsolver.cpp:
Is the SparseMatrix P here can't use the . setidentity() function? Or is there a problem with my eigen version? but my Eigen version is 3.1.0