-
Notifications
You must be signed in to change notification settings - Fork 236
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
Segmentation fault #103
Comments
usually it is because the necessary config file is not found. Check all the paths of files that need to be loaded. |
@xibeisiber Thanks for the response, I will check the path. But actually I didn't get any more error messages except for a 'segmentation fault (core dumped)'. |
Actually GPD will give the message if some file is not found, but not as an error message, but a "normal" output. so you can also check the whole output if there is something wrong |
@xibeisiber Thank you so much. I will try to locate the error. |
Hi @JasonLiu324 , Did you clear the error ? Thank you! |
@chaiban Nope. I didn't solve the problem. Maybe it's related to hardware platform. I try to run the forward tree branch and make it work on ROS. |
Okay! Thanks |
@JasonLiu324 @chaiban Inside CmakeLists.txt, change from set(CMAKE_CXX_FLAGS " -O3 -fopenmp -fPIC -Wno-deprecated -Wenum-compare -Wno-ignored-attributes -std=c++14") to set(CMAKE_CXX_FLAGS " -fopenmp -fPIC -Wno-deprecated -Wenum-compare -Wno-ignored-attributes -std=c++14") I used the following libraries
|
Could you try the following flags?
This works for me in Ubuntu 18.04 where with the previous set of flags, I'd encountered a segfault. The compilation takes some time, but GPD runs fast. |
Hi there. I'm now testing the GPD2 with ./detect_grasps. But when I run the command, it will show segmentation fault. I have no idea what may cause the problem. BTW, the dependency version I installed is listed below:
PCL 1.9
VTK 7.1
Eigen 3
OpenCV 4.3
cmake 3.8
I would appreciate for your reply, thanks a lot.
The text was updated successfully, but these errors were encountered: