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

realtime_urdf_filter crash #17

Closed
howardjchen opened this issue Apr 1, 2017 · 8 comments
Closed

realtime_urdf_filter crash #17

howardjchen opened this issue Apr 1, 2017 · 8 comments

Comments

@howardjchen
Copy link

howardjchen commented Apr 1, 2017

Hi all :
Recently I run the realtime_urdf_filter by kinectV2 sensor.
The package I used was form @JimmyDaSilva : JimmyDaSilva/realtime_urdf_filter
When I start to launch filter_kinectV2.launch, everything went well, but when the node starts to subscribe my kinectV2 topic, the node crashed and the gui will pop up and close immediately.
The follwing the the snapshot for the crashing terminal :

Did anyone meet this problem before ?
Many thanks at first .

  • System :
    Ubuntu 14.04
    ROS indigo
    GPU : Intel(R) HD Graphics Haswell GT2 Desktop

By the way, everything went well on my other computer
The only difference is the GPU on the other computer is Nvidia GTX970.
Could the GPU cause the crashing problem ?

@JimmyDaSilva
Copy link
Contributor

@s880367 All the computation is based on the GPU.
If you managed to make it work on the other computer that probably means that your installation of the gpu is not correct on this one.
What you could do to check quickly is too run libfreenect2 with opengl.
Inside your libfreenect2/build/bin, run Protonect with the gl argument: ./Protonect gl

@helloshyreckdc
Copy link

@s880367 hello guy, I have the same problem with you. Do you solve this problem finally? @JimmyDaSilva I use openni2 to launch a xtion camera, I can't find libfreenect2, do you have any suggestion to debug?

@JimmyDaSilva
Copy link
Contributor

@helloshyreckdc libfreenect2 is only for KinectV2 any way.
Well... what happens exactly? any errors ? or just a segfault ?
Can you show what you have on the terminal ?

@helloshyreckdc
Copy link

helloshyreckdc commented Sep 21, 2017

@JimmyDaSilva Thank you for reply. I clone this repository and catkin_make successfully. However, when I want to launch realtime_urdf_filter.launch, error occurred.
error_message
just an exit code -11, the difference between s880367 and me is that his terminal displayed roslaunch will exit while my terminal is just stuck there unless I press ctrl+c to stop it
error message2
then I check the log file, but can't find something to solve this problem.
logfile
I notice you said "All the computation is based on the GPU." Apart from installing the Nvidia drivers, is there any other configuration?
When I set the parameter show_gui to true. The window showed up and closed immediately.

@JimmyDaSilva
Copy link
Contributor

Ok. Then it's probably related to OpenGL.
I cannot be of any more help than that sorry. You can check PR #19 to see what I discussed there.

Basically make sure you have installed the 3rd party libraries correctly as explained in the README:

This package requires the following: 3rd party libraries

GLSL (GL Shader Language) version 1.40 support or greater
GLEW (GL Extension Wrangler) version 1.6
NOTE: Trying to use thie package with GLEW 1.5 wil result in a segmentation fault.

@helloshyreckdc
Copy link

@JimmyDaSilva Thank you very much! I will check #19, if I have any progress, I will comment here.

@helloshyreckdc
Copy link

@JimmyDaSilva Hello, you are right! It's the problem of opengl. I have two graphic cards, because of my wrong configuration, the one I used yesterday can support up to opengl 3.0(include GLSL1.30 which not meet the dependency required ), I change the graphic card today, and now the project can work successfully. Thank you again for your kind help!

@JimmyDaSilva
Copy link
Contributor

@helloshyreckdc Happy to help. I am glad it works now.

@s880367 Please close this issue

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

3 participants