-
Notifications
You must be signed in to change notification settings - Fork 956
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
loam_velodyne failed #71
Comments
I have precisely the same issue. Did you find any solution? |
The solution is launch LOAM in one separated terminal and rosbag in a new separated terminal. |
@BrunoEduardoCSantos OK, thanks for your answer,but I have try it using your method.It is failed too. |
@mantangL would you mind provide your pcl lib version and g++ version? I encountered the same issue before, and finally find it related to pcl voxelgrid method |
@Jackey-Huo pcl lib version is 1.7 g++ version is 5.4.0 |
@Jackey-Huo how do you solve it? |
@mantangL My pcl lib version is 1.8, g++ 7.2, Ubuntu 18.04. I found that when I use the apt installed pcl lib, multiScanRegistration would crash immediately after rosbag play is fired. After some search I found it's caused by the mismatch between pre-build pcl binary and native compiler options. So I removed the previous pcl lib and build it from source, Then everything works fine! There are some related issue & pr from pcl community: issue2013 , PR 2100 Hope you find it helpful :) |
@Jackey-Huo I found i built pcl from source then noted that can't find pcl_conversionsConfig.cmake,can you give some detail about build pcl? thank you. |
@xuhaoda1995 pcl_conversions is a ros package, providing pcl data structure conversion from pcl lib and ros. It should be provided by ros. The following cmd may help you: If no file found, you have to install the package. you can install it from apt by typing: Hope it can help you ;) |
@Jackey-Huo thank you for your help. I remove the pcl lib and want to build it by myself for reason of loam not running. Now I solve the problem by building pcl_conversions source. |
@Jackey-Huo would you kindly advise on how exactly did you remove the pcl lib, my pcl lib version is 1.8, g++ 7.3, Ubuntu 18.04 and ros melodic and getting the same error. Thank you in advance! |
If the build failed due to lack of pcl lib, then you have removed pcl successfully :) |
@slmat27 We met the same error with the same working environment. Did you find any solution? I followed the above instructions, but it is still not working... |
I solved it by installing pcl-1.9 from source, and everything is okay since then You can download the latest release from here: https://github.com/PointCloudLibrary/pcl/releases And the installation from source steps can be found here: http://www.pointclouds.org/documentation/tutorials/compiling_pcl_posix.php |
@slmat27 Thanks so much. The "multiScanRegistration" error can be avoided. However, I met the new error log "[laserMapping-4] process has died". I have to solve the new problem... |
@liumengucas I would more information regarding the error to be able to support you. |
Hey! @liumengucas I also got the same error? did you solve the issue? |
@AravindChandradoss Would you mind to provide information about your cpu and OS? I'd like to know the gdb backtrace from crash point as well |
Ubuntu 18.04, intel core i7
|
the following links may help you finish it: |
@AravindChandradoss |
You can try removing the line: Line 35 in 25db5dd
from the CMakeLists.txt and then recompile and launch.
|
Thanks @kartikmohta |
Thanks @kartikmohta |
I met this error when I run my code in docker. |
Thank you @kartikmohta! Your advice helped for me and I think it's the best and most simple solution. I tried to uninstall libpcl*, but all ROS packages was removed because PCL is a dependency. |
Should I install PCL 1.9 specifically to fix this issue or does the latest PCL work also? |
Thanks @kartikmohta your solution was helpful. |
Thanks @kartikmohta |
I have built the loam project successfully.And when I launch in ros kinetic ,it's successful too. But when I play the bag it's error in my computer.such as:
... logging to /home/lmt/.ros/log/d9401fc2-77a2-11e8-a910-902b3433bbc4/roslaunch-lmt-8349.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://lmt:33200/
SUMMARY
PARAMETERS
NODES
/
laserMapping (loam_velodyne/laserMapping)
laserOdometry (loam_velodyne/laserOdometry)
multiScanRegistration (loam_velodyne/multiScanRegistration)
rviz (rviz/rviz)
transformMaintenance (loam_velodyne/transformMaintenance)
auto-starting new master
process[master]: started with pid [8360]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to d9401fc2-77a2-11e8-a910-902b3433bbc4
process[rosout-1]: started with pid [8373]
started core service [/rosout]
process[multiScanRegistration-2]: started with pid [8382]
process[laserOdometry-3]: started with pid [8389]
process[laserMapping-4]: started with pid [8392]
process[transformMaintenance-5]: started with pid [8393]
process[rviz-6]: started with pid [8409]
[ INFO] [1529840195.272982324]: Set scanPeriod: 0.1
[ INFO] [1529840195.306128817]: Set VLP-16 scan mapper.
0x1c04540 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1069d50) ): Attempt to set a screen on a child window.
0x1bfa9d0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1069d50) ): Attempt to set a screen on a child window.
0x1c02c00 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1069d50) ): Attempt to set a screen on a child window.
0x1c06060 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x1069d50) ): Attempt to set a screen on a child window.
[multiScanRegistration-2] process has died [pid 8382, exit code -11, cmd /home/lmt/loam_ws/devel/lib/loam_velodyne/multiScanRegistration /multi_scan_points:=/velodyne_points __name:=multiScanRegistration __log:=/home/lmt/.ros/log/d9401fc2-77a2-11e8-a910-902b3433bbc4/multiScanRegistration-2.log].
log file: /home/lmt/.ros/log/d9401fc2-77a2-11e8-a910-902b3433bbc4/multiScanRegistration-2*.log
And then I put this project in other computer It is successful. I can't find the reason of this failure.Why it is fail?
The text was updated successfully, but these errors were encountered: