-
Notifications
You must be signed in to change notification settings - Fork 133
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
Errors running ScaViSLAM (Kinect and New College Dataset) #39
Comments
I met the same problem also run stereo_slam. I'm debugging it all day but find no exact clues. |
I installed the Kinect in my Ubuntu 14.04 64 bits following this instructions: http://a-asvadi.ir/install-kinect-xbox360-ubuntu-12-04/ However, when I run ./stereo_slam ../data/rgbd_live.cfg, Kinect run perfectly, but the tracked points cause the follow errors: Any idea? Thanks. |
I didn't use Kinect, I just used New College dataset while it happened to crash. I think we must figure out why it crash based on Newcollege dataset, then handle the situation based on Kinect is better. |
Yes, asimay, I enable CUDA SUPPORT. These errors continue. |
hi, man, does your computer has individual graph card or integrated graph card? |
Hi asimay, I have a Nvidia graph card. |
Up! |
Did you find the root cause? |
The error is caused by addNewKeyframe() function in stereo_frontend.cpp, however I don't get correct it. I sent a email to Hauke, but he doesn't still answer me. |
I'm afraid I don't agree with you. /home/leon/project/ScaViSLAM/scavislam/frame_grabber.cpp, Line: 135, Func: processNextFrame Entered ! at here, while (file_grabber_mon_.getFrameBundle(frame_data.frame_id,&bundle) == false) but I still don't know how to change it.even I comment the regex code as belows, it still cannot get images dataset input. |
Hi romulogcerqueira, framepipe.base_str = .*; |
Hi asimay! It works for me, however there is still some crash. Then: romulo@fieb:~/slam-alg/scavislam/ScaViSLAM/svs_build$ ./stereo_slam ../data/newcollege.cfg Moreover, I still have problems using the Kinect. Thanks! |
*** Error in `./stereo_slam': free(): invalid pointer: 0x000000000fdbd3ec *** about Kinect, I don't have this equipment, I cannot afford it in my country... |
Hello, romulogcerqueira, Did you figure out the crash issue you posted on Sep 18 2014 I built ScaViSLAM without GPU, and tested it on new college. But after processing a couple of frames, this error pop out and kills the program. |
Hi romulogcerqueira, Did you have solve this ? |
When I used cmake and make to generate stereo_slam executable, this problem persisted. Then I used qt creator to open cmakelists.txt and built the program to generate another debug executable. This stereo_slam executable can be invoked in terminal and run successfully without this problem, i.e., *** Error in `./stereo_slam': free(): invalid pointer:. But if I use qt to build a release executable, the same error occurs. I believe there is something wrong in the release version. |
make file, -O4 -> delete, or -O2 At 2015-03-16 16:36:33, "HChengmeng" [email protected] wrote: Hi romulogcerqueira, Did you have solve this ? ¡ª |
I believe you mean deleting or changing -O3 in CMakeFile.txt to -O2. I tried changing it to -O2. It still had such a memory problem. If -O3 is deleted, the release executable works as slow as the debug version. |
Hi asimay, and what do you mean by the solution you suggested: Regards, |
@mohammad-Baba what asimay means is that do NOT optimize the compilation when generate the release binary file, this will make the program slower, however, it seems that the unoptimized program can run safely without memory leak issue. what @JzHuai0108 suggested is correct, shut down -O3 made the program as slow as the debug version. @JzHuai0108 have you done changing the frontend? |
I did change the code a little bit for the frontend a long while ago. But I don't think I fixed the issue. For now, I don't see much benefit fixing that issue. |
Yes indeed. thank you for your post in previous issues. quite helpful |
Hi everybody!
I installed ScaViSLAM in my machine, but I have found some errors when I run stereo_slam:
romulo@cerqueira:~/svslocal/ScaViSLAM/svs_build$ ./stereo_slam ../data/newcollege.cfg
Multiprocessors: 2
Filegrabber initializing....
Filegrabber initialized.
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
Aborted
romulo@cerqueira:~/svslocal/ScaViSLAM/svs_build_with_pcl$ ./stereo_slam ../data/rgbd_live.cfg
Multiprocessors: 2
terminate called after throwing an instance of 'pcl::IOException'
what(): void pcl::OpenNIGrabber::setupDevice(const string&, const pcl::OpenNIGrabber::Mode&, const pcl::OpenNIGrabber::Mode&) in /build/buildd/pcl-1.7-1.7.1/io/src/openni_grabber.cpp @ 342 : No devices connected.
Aborted
Somebody could help me?
Thanks!
The text was updated successfully, but these errors were encountered: