Closed L-Reichardt closed 2 years ago
Solved
hi, I need some helps to use velodyne vlp-16 with Lego-loam. I am using same ros-noetic and ubuntu 20.04. Would you like to give me some suggestions?
@MarzanShuvo what exactly could I maybe help you with? I am using a different LiDAR, but the principle should remain the same.
@L-Reichardt I am using VLP-16 lidar. I have build the package. While I was running the launch file, rviz was looking like the image bellow. Should I need to change anything in launch file to do the slam? I am not using any imu sensor with it. would you like to give me some guidlines
?
@MarzanShuvo what are the errors in the "Display" section of rviz? Is your topic name the same as in /include/utilities.h? If not, change the topic name in that file.
I think it is same as I am getting the point cloud data like the image bellow. I am also adding frames.
frames.pdf
I have tried to add
<!--node pkg="tf" type="static_transform_publisher" name="base_link_to_velodyne" args="0 0 0 -1.570795 -1.570795 0 /base_link /velodyne 10"/-->
in launch file. But the error is consistent.
it is worth to mention that I am getting an error Failed to transform from frame [/camera] to frame [map]
@MarzanShuvo I haven't encountered that error and I was looking a little bit into the code but havent found anything to see where this could come from. Things you could check:
I wish you luck and success in solving your problem.
it is worth to mention that I am getting an error Failed to transform from frame [/camera] to frame [map]
same error here, just replace all /camera to camera and /camera_init to camera_init in source code and all things get right ^ ^
@zxiaomzxm yeah.. It is working perfectly!! Thank you.
hi,I had issues getting LeGO-LOAM to run with the setup mentioned in the title. , i had successfully built the project and installed the libmetis library but still have this error [mapOptmization-7] process has died [pid 28534, exit code 127, cmd /home/aladin/outdoorslam_ws/devel/lib/lego_loam/mapOptmization name:=mapOptmization log:=/home/aladin/.ros/log/9e0ac2b2-9559-11ec-a76b-05c4747b78f6/mapOptmization-7.log]. log file: /home/aladin/.ros/log/9e0ac2b2-9559-11ec-a76b-05c4747b78f6/mapOptmization-7*.log
@aladin2022 I had the same issue, however for me it was fixed with the changes in the Cmake file (attached above in the issue). For me it was caused by gtsam problems with the Ubuntu 20. eigen library.
@aladin2022 I had the same issue, however for me it was fixed with the changes in the Cmake file (attached above in the issue). For me it was caused by gtsam problems with the Ubuntu 20. eigen library.
Man, you have saved my time, thank you!
it is worth to mention that I am getting an error Failed to transform from frame [/camera] to frame [map]
same error here, just replace all /camera to camera and /camera_init to camera_init in source code and all things get right ^ ^
This was the solution that worked for me to sole the Failed transform issues with RVIZ in ubuntu 20.04 and ROS Noetic
I've made a tutorial on how to get LeGO-LOAM up and running on Ubuntu 20. I'll leave the link to the video in case anyone is interested.
Thank you very much! It worked!
hi,I had issues getting LeGO-LOAM to run with the setup mentioned in the title. , i had successfully built the project and installed the libmetis library but still have this error [mapOptmization-7] process has died [pid 28534, exit code 127, cmd /home/aladin/outdoorslam_ws/devel/lib/lego_loam/mapOptmization name:=mapOptmization log:=/home/aladin/.ros/log/9e0ac2b2-9559-11ec-a76b-05c4747b78f6/mapOptmization-7.log]. log file: /home/aladin/.ros/log/9e0ac2b2-9559-11ec-a76b-05c4747b78f6/mapOptmization-7*.log
HI @aladin2022 did you solve it maybe, I have similar issue, I explained it here: https://github.com/RobustFieldAutonomyLab/LeGO-LOAM/issues/280
I would be really grateful if you can share your solution if you solved it.
Hello all, I'm posting this as a note for others who might have the same issue in the future. I had issues getting LeGO-LOAM to run with the setup mentioned in the title. I had the following problems which were solved by multiple posts in these "Issues". Summarizing the solutions here.
Symptoms:
Sometimes issue using cmake to install gtsam 4.0.0-alpha
Lib Boost not found by cmake
Nodes crashing during roslaunch
Cause 1: Gtsam 4.0.0-alpha apparently has compatibility issues with newer versions of the Eigen Library
Cause 2: CMake is outdated for C++14
Solution 1: Installing gtsam 4.1.1., adding compatibility into CMake file (CMake flag
-DGTSAM_USE_SYSTEM_EIGEN=ON
)Solution 2: Modifications to update CMake file (CMake flag
-lboost_system
, include dirs, link dirs, target_link dirs)Maybe this helps someone. I used
$ cmake -j1
with success. LeGO-LOAM runs fine now for me. CMakeLists.txt