Skip to content
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

Realsense Dataset #164

Closed
SunshineDou opened this issue Nov 18, 2018 · 20 comments
Closed

Realsense Dataset #164

SunshineDou opened this issue Nov 18, 2018 · 20 comments

Comments

@SunshineDou
Copy link

Hello
Recently, I am doing some research on this project, our lab has the Realsense D435, I make a klg format dataset with it, But when I run it in ElasticFusion, It failed. What's the problem? Does "ElasticFusion" support Realsense?

Thank you very much!

@Daichou
Copy link
Contributor

Daichou commented Nov 18, 2018

ElasticFusion cannot support librealsense2 sdk. If you want to use Intel Realsense D435 you can use librealsense2 openni wrapper link or use my PR version #161.

@SunshineDou
Copy link
Author

Thank you very much for your replying. I have tried the PR version#161, which compiled successfully, but when I plunge in the Realsense D435, and run: ./Elasticfusion. it failed, the result as follows:
Creating live capture... [Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 11 usb devices connected
[Info] [Freenect2Impl] found 0 devices
failed!
DeviceOpen using default: no devices found

what's the problem? Thanks again for your help

@Daichou
Copy link
Contributor

Daichou commented Nov 19, 2018

If you want to use Realsense, you need to turn on realsense option in GUI cmake. Running build.sh will not open this option default.
The step of turning on Realsense:

  1. install librealsense
  2. run build.sh
  3. cd ElasticFusion GUI folder, and create build folder.
  4. cd build, ccmake ../ (if no ccmake command,you need to cmake-curses-gui pacakge).
  5. In ccmake option window, turning on Realsense option
  6. generating makefile,and run make

@SunshineDou
Copy link
Author

Thank you very much for your generous help. I have a doubt that if I just want to run Elasticfusion with the klg format dataset(converted by png_to_klg), whose rgbd pictures comes from Realsense D435, Do I need to turn on realsense option in GUI ? Do I need to modify the GUI files just as #161 said? which steps do I need to do ?
Thanks again!

@Daichou
Copy link
Contributor

Daichou commented Nov 20, 2018

I think you can just run ElasticFusion like following command.

./ElasticFusion -l dyson_lab.klg

@SunshineDou
Copy link
Author

yeh, I just run like the above command "./Elasticfusion -l dataset1.klg" the dataset1.klg was converted by "png_to_klg", its rgb and depth pictures are all from realsense D435, but it failed ,the outcome is:
Segment error(Core dumped)

but when I run the dyson_lab.klg, it succeeded
Thanks for your help sincerely !

@yyxr75
Copy link

yyxr75 commented Nov 27, 2018

Sir, how did you make through in running klg demo? I just run the command
./ElasticFusion -l dyson_lab.klg
but error showed up:
Error: invalid texture reference: xxxx/convenience.cuh: 68
And I consulted to the answer which told me to
add "61" to Line24
But 61 is already there when I check that file
Would you mind to give me help with it?
So much appreciation!

@yyxr75
Copy link

yyxr75 commented Nov 27, 2018

I found out demo runs successful after I installed the graphiz before openni2 installing

@ddg195
Copy link

ddg195 commented Dec 11, 2018

I found out demo runs successful after I installed the graphiz before openni2 installing
should we install graphiz? I do not understand ,I whatched every issue but neither one can solve the same problem ;I can run ElasticFusion successfully,but when I run which under Semantic folder always fail,and the sametime ,after i run Semanticfusion--elasticfusion,my elasticfusion also fail.
Any suggestion ? many many thanks.

@yyxr75
Copy link

yyxr75 commented Dec 14, 2018

I found out demo runs successful after I installed the graphiz before openni2 installing
should we install graphiz? I do not understand ,I whatched every issue but neither one can solve the same problem ;I can run ElasticFusion successfully,but when I run which under Semantic folder always fail,and the sametime ,after i run Semanticfusion--elasticfusion,my elasticfusion also fail.
Any suggestion ? many many thanks.

hi man,
I wish I can help but that's really out of my reach.
You may consult in SemanticFusion issues

@circleyuanquan
Copy link

Sir, how did you make through in running klg demo? I just run the command
./ElasticFusion -l dyson_lab.klg
but error showed up:
Error: invalid texture reference: xxxx/convenience.cuh: 68
And I consulted to the answer which told me to
add "61" to Line24
But 61 is already there when I check that file
Would you mind to give me help with it?
So much appreciation!
#164 (comment)

@whubaichuan
Copy link

yeh, I just run like the above command "./Elasticfusion -l dataset1.klg" the dataset1.klg was converted by "png_to_klg", its rgb and depth pictures are all from realsense D435, but it failed ,the outcome is:
Segment error(Core dumped)

but when I run the dyson_lab.klg, it succeeded
Thanks for your help sincerely !

Hi, are you success in real-time construction with realsenseSDK2 and ElasticFusion???

@whubaichuan
Copy link

Thank you very much for your generous help. I have a doubt that if I just want to run Elasticfusion with the klg format dataset(converted by png_to_klg), whose rgbd pictures comes from Realsense D435, Do I need to turn on realsense option in GUI ? Do I need to modify the GUI files just as #161 said? which steps do I need to do ?
Thanks again!

@SunshineDou Hi. Are you success in real-time running with realsenseSDK2 and ElasticFusion???

@SilentUniverse
Copy link

I found out demo runs successful after I installed the graphiz before openni2 installing
should we install graphiz? I do not understand ,I whatched every issue but neither one can solve the same problem ;I can run ElasticFusion successfully,but when I run which under Semantic folder always fail,and the sametime ,after i run Semanticfusion--elasticfusion,my elasticfusion also fail.
Any suggestion ? many many thanks.

I run with realsense 435 . I got this error. i dont know why.
i can run ./ElasticFusion -l dyson_lab.klg. it is OK.

./ElasticFusion

Creating live capture... failed!
DeviceOpen using default: no devices found
Creating live capture... start
Intel RealSense D435 827312072722
Auto Exposure enable
This camera does not support Auto White Balance option.
Auto White Balance disable
terminate called after throwing an instance of 'rs2::backend_error'
what(): set_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Device or resource busy
Aborted (core dumped)

And GPUTest don't work.

GeForce GTX 1660 Ti
Searching for the best thread/block configuration for your GPU...
Error: no kernel image is available for execution on the device: /home/hys/ElasticFusion/Core/src/Cuda/convenience.cuh:68

What should i do ?
Thank you for your generous help!

@psychorush
Copy link

I found out demo runs successful after I installed the graphiz before openni2 installing
should we install graphiz? I do not understand ,I whatched every issue but neither one can solve the same problem ;I can run ElasticFusion successfully,but when I run which under Semantic folder always fail,and the sametime ,after i run Semanticfusion--elasticfusion,my elasticfusion also fail.
Any suggestion ? many many thanks.

I run with realsense 435 . I got this error. i dont know why.
i can run ./ElasticFusion -l dyson_lab.klg. it is OK.

./ElasticFusion

Creating live capture... failed!
DeviceOpen using default: no devices found
Creating live capture... start
Intel RealSense D435 827312072722
Auto Exposure enable
This camera does not support Auto White Balance option.
Auto White Balance disable
terminate called after throwing an instance of 'rs2::backend_error'
what(): set_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Device or resource busy
Aborted (core dumped)

And GPUTest don't work.

GeForce GTX 1660 Ti
Searching for the best thread/block configuration for your GPU...
Error: no kernel image is available for execution on the device: /home/hys/ElasticFusion/Core/src/Cuda/convenience.cuh:68

What should i do ?
Thank you for your generous help!

Hi!I meet the same problem.
Have you solved it?If so,how did you solve it?
Thank you for your help.

@eduidl
Copy link

eduidl commented Dec 15, 2019

IntelRealSense/librealsense#4586 may be related. In my environment, I downgraded linux kernel version from 5.0 to 4.18, and this problem was solved.

@gaotao19890725
Copy link

Hi everyone:
I have installed the librealsense, and according to your suggestions in #164, I typed ‘ccmake ../’, then the following picture appears. But I do not know the meaning of “turning on Realsense option” (where is the realsense). Could you please tell me the way to turn on this and generate makefile, and how to run make.
image

@antenna-before
Copy link

yeh, I just run like the above command "./Elasticfusion -l dataset1.klg" the dataset1.klg was converted by "png_to_klg", its rgb and depth pictures are all from realsense D435, but it failed ,the outcome is:
Segment error(Core dumped)

but when I run the dyson_lab.klg, it succeeded
Thanks for your help sincerely !

是不是文件路径不对呢

@wenjinshi
Copy link

I have the same problem with you. I can run the dataset Dyson_ Lab, but I try to convert the data produced by other cameras into KLG format, and the operation is like this: segment error, the core has been dumped

@mp3guy mp3guy closed this as completed May 27, 2022
@SilentUniverse
Copy link

SilentUniverse commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests