-
Notifications
You must be signed in to change notification settings - Fork 168
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 #20
Comments
At least your OpenGL configuration seems fine. How do you call the program? Just What you can try is to run |
@jbehley thank you for your reply, I just ./visualizer ,and not provide any path, when i run gdb ./visualizer, it shows as follows: |
Ah, sorry. You have to type See also https://cs.baylor.edu/~donahoo/tools/gdb/tutorial.html |
thanks for your reply, i typed run, it show that : Thread 1 "visualizer" received signal SIGSEGV, Segmentation fault. and the Visual interface emerged, and it turns gray, i can not operate any components |
Problems with Eigen usually have something to do with gtsam and the version of Eigen intalled. You have to recompile gtsam library with the option And that the window "turns gray" is normal due to the degbugger that stops the process. |
thanks, do you mean set GTSAM_USE_SYSTEM_EIGEN on when compile gtsam? I did it already, i remeber that when i not set it on, it occurs an error, and only when i set it on, it comiles ok |
Please make sure you read through this issue borglab/gtsam#75
|
@nachovizzo thanks for you reply, i have updated my eigen version by 3.3.7, its still occurs segmentation fault. And about gtsam, this program requires that gtsam >= 4.0, it seems that the latest code from gtsam is 4.0, Do you mean i should try the 3.x version gtsam, |
currently does the development branch of gtsam contain a bug. therefore, we suggest to clone and build a specific branch, like |
all right, I will change my gtsam version and have a try again. |
@jbehley thank you very much. ^_^ |
Hi, Fan from GTSAM here :) I think we have fixed some of the bugs related to Eigen in Could you test against the latest |
Hello, Mr. jbehley,
thanks a lot, I take the gtsam version from 'https://github.com/borglab/gtsam/archive/4.0.0-alpha2.zip' as a replace for my old version, and I successfully setup my project like this:
(but I feel a little confused that how to save the built map and get the localization trajectory after running my dataset, and can you add a rosbag interface for this project, thank you! )
孙钦,2942087962@qq.com
…------------------ 原始邮件 ------------------
发件人: "Fan Jiang"<notifications@github.com>;
发送时间: 2019年12月24日(星期二) 凌晨5:09
收件人: "jbehley/SuMa"<SuMa@noreply.github.com>;
抄送: "孙钦"<2942087962@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [jbehley/SuMa] Segmentation fault (#20)
Hi, Fan from GTSAM here :)
I think we have fixed some of the bugs related to Eigen in develop.
Could you test against the latest develop branch of GTSAM and report the results? Thanks a lot! :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yes, I also need a ROS wrapper for this project to run it on our own dataset. Thanks! |
@ZuoJiaxing Thank you, I am looking forward to your new version of this project. |
Ping @jbehley :) |
@ProfFan, thanks for notifying me of the change. I tried it now and with the current |
@Sun1307010608 and @ZuoJiaxing, I can currently not provide full ROS support. However, I know that people used it inside a node. I currently just convert bagfiles with a simple node into the Please understand that I cannot provide full-fledged support for all possible file formats. |
@jbehley thanks, maybe I can write a tool to convert the bagfiles to .bin format files as well. but could you tell me how to save the map to my disk. |
@jbehley Glad to hear that! Please file a bug report if you have any other issues with GTSAM :) For all, happy new year! |
What do you mean with "save the map to my disk", @Sun1307010608? Do you need the poses? Do you need the surfels? If you want to have an aggregated point cloud given the poses, you can use this gist. But it really depends on what you want. |
thanks, I mean save the whole point cloud map given the estimated pose by Suma. |
@Sun1307010608, as mentioned before, there is no direct way to export the map. (Usually, the poses are enough); here a quote from another issue:
Hope that helps. |
@jbehley |
hi,when i compiled this project over, i tried to run ./visualizer , the error happend:
then i tried run gdb ./visualizer, it shows as follows:
for test opengl,i tried run test_opengl
anyone know why this happended, and how to solve this |
@Sun1307010608 It might be a problem related to different Eigen versions of gtsam and your system's Eigen. Therefore it usually helps to either install gtsam with the option hope that resolves your problems. |
hi, @jbehley, thanks for your code!!! could you tell me what problem is it? |
Starting program: /home/xdt/catkin_ws2/src/SuMa/bin/visualizer Thread 1 "visualizer" received signal SIGSEGV, Segmentation fault. |
and when I input 'bt', it shows 'No stack'. @jbehley |
hello, when i compiled this project over, i tried to run ./visualizer in bin fold, the error happend:
'''
OpenGL Context Version 4.5 core profile
GLEW initialized.
OpenGL context version: 4.5
OpenGL vendor string : NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1050 Ti/PCIe/SSE2
Extracting surfel maps partially.
Performing frame-to-model matching.
Segmentation fault
'''
any one no why this happended, and how to do to solve this
The text was updated successfully, but these errors were encountered: