-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[ Stable Build ] : Corrects major bugs, and creates buildable repo #798
base: master
Are you sure you want to change the base?
Conversation
I wanted to try your fork to see if it fixed the segfault I was getting with the original.
Any ideas? |
Can you provide me with the dataset you are using here? |
Machine Hall 01 |
downloading it, very slow speed it seems |
@aPR0T0 thanks for this, this solves almost all issues and works flawlessly. Just to add up, for some of our machines, we had this problem where compiler wasn't able to find |
@aPR0T0 I was able to build successfully but when I am trying to run the example scripts they are showing: libpango_windowing.so: cannot open shared object file: No such file or directory How are you running the examples? Can you please share the steps |
Did you build the |
Hello, I actually downloaded the dataset and tested it on My system it didn't give me segmentation fault.
you can see my output Steps I follow:
|
Thanks a lot for this. It solved all build issues. I hope it gets merged into the main branch |
I don't know what I'm doing wrong. I bought a new laptop, installed Ubuntu 20.04 and compiled your fork + ROS. I'm running: After I build a map and hit Stop to try and save the Atlas file, I get |
@unicornuniform Might be something to do with the calibration? Make sure your |
I tried a bunch of different setings. Here is the gdb output:
It happens when I hit Stop and the map tries to save. I read through the issues and many people seem to have the same problem. Is it possible I'm having a null pointer somewhere in SaveAtlas(), PreSave(), or isBad()? Sorry, I'm not a c/c++ programmer. |
Hello @unicornuniform , There is a missing pthread_mutex_lock.c file I think its some library version issue. You can start by understanding why it can't find this file |
I'm going to look into it. Possibly the CMake file is not linking libpthread |
Okay, I'm 99% sure now the problem is in PreSave, and that pthread_mutex_lock.c is a red herring. I'll try again when I get home |
Based on the issue here it seems as if the crash is caused by Map::PreSave deleting items of mspMapPoints while iterating it. I put a cout statement in Map::PreSave() to show this.
So I can do a successful run that looks like this:
But a failed run looks like this:
After incorporating the changes to Map::PreSave and MapPoint::PreSave I linked to above, I'm no longer getting a segfault. |
Did you delete the items after iteration then? |
See the code I linked to above. He keeps the functionality the same but uses a temporary set to copy mspMapPoints into. |
@richard-elvira Can someone please merge this branch. It would make a lot of peoples lives a lot easier! |
I think there are a lot of changes, so if possible someone could verify and suggest some edits so that its a lot cleaner to be merged. |
Did anyone try Realsense examples on this branch? |
Don't ask for atomic commits for this
Aah, where to start, It's a very not updated type of repo, to begin with, to be honest, there is so many compatibility issues man!!!