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
Error about Eigen::all in lidartag_decode.cc #5
Comments
Hello, Thanks for using this package! Could you verify which Eigen version you have on your machine? Please ensure you have at least version: 3.3.90 If you put The fastest way to get the version on your machine would be: |
Thanks for reply ! I checked and found that it is now in version 3.3.4 This was rewritten because when introducing velodyne_pointcloud, libeigen3-dev was installed as an associated package, which is 3.3.4. Newly introduced version 3.3.90 of Eigen from github. I ran catkin_make and got the same error. home/robotics/catkin_ws/src/LiDARTag/src/lidartag_decode.cc:1030:47: error: ‘all’ is not a member of ‘Eigen’ Apparently, eigen;all is still not working I want to use this wonderful package, so please help me! |
Hi, No worries. I will definitely help you go through this! Could you check whether you are using Eigen 3.3.90? Eigen::all is indeed in the library and is specified here and here. You may have several Eigen libraries on your machine. I don't know where you put the libraries. Default location should be: According to stackoverflow1 and stackoverflow2, I would suggest you double-check and verify which version"s" you have and if you specify the correct version to use. |
Hi, I am going to close this and please feel free to open this issue again if you encounter related problems. |
Hi! Surely my version is 3.3.90. Found an interesting article. Apparently this has something to do with it. http://eigen.tuxfamily.org/index.php?title=3.4 from here,It says that Eigen::all is available from version 3.4. Version 3.4 is under development and has not yet been released. Version 3.4 will be labeled 3.3.9, even though there is an official version 3.3.9, as stated in this article。 https://stackoverflow.com/questions/56370502/eigen-3-4-reshaped I think there are two versions 3.3.9.(Official 3.3.9 and 3.4 in development) I want to use your version of Eigen. I think it is the 3.4 version marked 3.3.9. |
Hi, Let's try one more thing. Please download Eigen from their GitLab and checkout I do apologize that I didn't realize the tagged version of 3.3.9 does not support Eigen::all whereas what I am using is the master branch where they leave the version specification in Eigen/src/Core/util/Macros.h as 3.3.9. Please let me know if this works for you. If this works for you, I will put this into the readme. |
Finally succeeded in catkin_make! Also, I have another question. As for Lidar to use, only Velodyne is supported? Is Ouster Lidar available? |
Hi, Are you on the latest SHA1 or the one I am on? As long as you have ring numbers associated with your LiDAR points, that'd be fine. Or similarly, if you only have one rotation axis, we are able to estimate the rings for you here and here. However, I would suggest you try the provided bagfiles to see if this package works properly on your machine. To do so, please follow the steps here. Please let me know if you have further questions! |
Hi! Yes! I am on the SHA1 you are. I used the bagfile you gave me, and it works! Thank you! Now I'd like to try using it with my Ouster Lidar. My question is, when you say the marker size is 0.61m, is that the t or the d in the description? |
Hi, Glad to hear it works on your machine!
Please let me know if you have other questions! |
Hi! From what I've found, there doesn't seem to be any connection between ring and point data in Ouster's Lidar. Of course I pressed star! Can I use 16beam and 64beam Lidar? I have Velodyne 16 and Ouster 32 and 64. |
Hi,
Please let me know if you have further questions. |
Hi, Please let me know if you have other relevant problems, or I will close this issue on Monday. If you encounter other similar problems, feel free to reopen this issue. Or if you have other problems, please open a new issue! |
I also had this problem. In recent versions |
hello
Once catkin_make. I'm having trouble with the following error.
/home/robotics/catkin_ws/src/LiDARTag/src/lidartag_decode.cc:841:47: error: ‘all’ is not a member of ‘Eigen’
Eigen::MatrixXf test_mat = pc1(Eigen::all, indices);
^~~
/home/robotics/catkin_ws/src/LiDARTag/src/lidartag_decode.cc:841:47: note: suggested alternatives:
In file included from /usr/include/boost/algorithm/string.hpp:21:0,
from /usr/include/pcl-1.8/pcl/io/boost.h:66,
from /usr/include/pcl-1.8/pcl/io/file_io.h:43,
from /usr/include/pcl-1.8/pcl/io/pcd_io.h:44,
from /home/robotics/catkin_ws/src/LiDARTag/include/lidartag.h:56,
from /home/robotics/catkin_ws/src/LiDARTag/src/lidartag_decode.cc:37:
/usr/include/boost/algorithm/string/predicate.hpp:438:21: note: ‘boost::algorithm::all’
inline bool all(
^~~
/usr/include/boost/algorithm/string/predicate.hpp:438:21: note: ‘boost::algorithm::all’
/home/robotics/catkin_ws/src/LiDARTag/src/lidartag_decode.cc: In lambda function:
/home/robotics/catkin_ws/src/LiDARTag/src/lidartag_decode.cc:1030:47: error: ‘all’ is not a member of ‘Eigen’
Eigen::MatrixXf test_mat = pc1(Eigen::all, indices);
^~~
I don't think Eigen::all is working well.
What should I do?
The text was updated successfully, but these errors were encountered: