-
Notifications
You must be signed in to change notification settings - Fork 517
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
have rgb image, but no image in depth as well as ir #104
Comments
Possible duplicate to issue 102. |
@lakehanne thx for your advice.i have tried to change the CMakelists.txt. I then rebuild the workspace as well. I can run the command rosrun kinect2_bridge kinect2_bridge now. However , when i rostopic echo, i can successfully have the rgb data, but fail to access the depth data. At the same time, when i run protonect example, ./bin/Protonect, it also shows rgb image perfectly but depth and ir image are black. |
Now I delete all my libfreenect2 and workspace.. Then, i try to ignore this instruction. I skip to git clone https://github.com/OpenKinect/libfreenect2 Everything seems okay until i run the follow command: The terminal appears: Then, I ignore the error again. I proccessed to the last step. Furthermore, when i run ./bin/Protonect |
You can't do all that cause the programs are already installed. Also, ```
|
@lakehanne thank you so much. According to your advice, i keep it on and the result is as below: I can run the rosrun kinect2_bridge kniect2_bridge When I rostopic echo /kinect2/rgb/image. I get lots of data. However, when i rostopic echo /kinect2/depth/image, my data appears zero. The terminal appears like below : [kinect2_bridge] color processing: ~4916.86Hz (0.203382ms) publishing rate: ~29.6333Hz Furthermore, when i run ./bin/Protonect |
What is the kernel version of your ubuntu installation? Can you paste the
|
The reuslt is : I try to change What is the nvidia issues that Thiemo raised in the ReadMe.md |
I try : sudo su but nothing happen.. |
Your kernel seems fine.
Here you go: Install the latest version of the Nvidia drivers, for example |
Hi,
First make sure Protonect works fine, before trying to run kinect2_bridge. |
@lakehanne I have install nvidea 352 by following the steps of https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia I sudo apt-get install opencl-headers Is it my opengl 3.0 problem? but how to upgrade my opengl? @wiedemeyer . So, I need to refer back to lbfreenect2? This is what my terminal shows when i run ./bin/Protonect: [Freenect2DeviceImpl] ReadStatus0x090000 response [Freenect2DeviceImpl] ReadStatus0x090000 response [Freenect2DeviceImpl] enabling usb transfer submission... |
|
@wiedemeyer xfhor@xfhor-TP500LN:~/libfreenect2/build$ make && sudo make install |
Thx..I fix it. |
can we close this now? |
Still same old Problem. When I launch Protonect:
When I launch rosrun:
I think I'm just gonna have to reformat my Ubuntu and see if this would fix the problem. |
I have the same problem. @wiedemeyer I made the modifications and Protonect works like a charm. But kinect2_bridge still links to system libusb and not the patched one. Any ideas? @lakehanne Did you solve the problem somehow? Thanks! |
You have to add the modifications, then create or empty the build folder. Run |
@lakehanne please listen to one of the topics, so that |
@wiedemeyer I solved the problem by rebuilding everything! Thanks! When running kinect2_viewer or kinect2_calibration should a window open or are they just bash? Because no window opens.. Thanks again! |
A window should open as soon as both, depth and color frames are received. If not, then probably one of them is missing. check the log output of |
I get the following output running kinect2_bridge:
So something's wrong. Protonect still works like a charm! Any ideas on what's wrong? |
probably it links against the wrong libusb. Add the modifications the the |
I think the CMakeLists.txt file in libfreenect's github page was changed
I am trying to find the best way to install OpenCL as the rgb image that I Sincerely, "Towering genius disdains a beaten path. It seeks regions hitherto On 4 June 2015 at 09:42, Thiemo Wiedemeyer notifications@github.com wrote:
|
Hi @wiedemeyer , I have been able to acceess the depth image using Protonect.
Probably something that has to do with beignet but I did compile beignet from the ppa you mentioned in your README.md file. |
@wiedemeyer kinect2_bridge was linking to wrong libusb again. I tried it with a clean install but it is linking to the wrong libusb again. I fixed the issue changing the LD_LIBRARY_PATH but this is only a workaround. Could you provide the correct CMakeLists so I can check if I am doing something wrong there? Thanks a lot! |
@costashatz libfreenect2 changed a bit the last days. Now no modifications the the CMakeLists.txt are needed anymore. Please update the repositories and try again. |
Any update? |
I haven't retried it yet. It's a really busy period right now. The package works fine when setting (the first time of compilation) the LD_LIBRARY_PATH to point to the correct libusb. I will try it again when I have time. |
Same problem here. I have installed libfreenect2 and iai_kinect2 today, so they're latest.
|
the output is
and after connection to the image
the images are published but points are not. |
Sorry for the late response, but it looks like some libusb issue. Does it also happens when using Protonect? If not, please make sure that the libusb from libfreenect2 is used. You could check with |
Sorry, the problem with my kinect2 is fixed at #165 (comment) . |
I am using ubutu 14.04. Ros Indigo.
intel i5. Nvidia 840.
So far, i install libreenect2 succesfully.
However, when i try to run rosrun kinect2_bridge kinect2_bridge, i face the error below( I had tried to update my kernel and etc, but i still cant solve the problem):
[Freenect2DeviceImpl] enabling usb transfer submission...
[Freenect2DeviceImpl] submitting usb transfers...
[Freenect2DeviceImpl] started
device serial: 508442542542
device firmware: 4.3.3912.0.7
[Freenect2DeviceImpl] stopping...
[Freenect2DeviceImpl] disabling usb transfer submission...
[Freenect2DeviceImpl] canceling usb transfers...
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[DepthPacketStreamParser::onDataReceived] not all subsequences received 0
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[TransferPool::submit] transfer submission disabled!
[Freenect2DeviceImpl] stopped
default ir camera parameters:
fx 365.861, fy 365.861, cx 254.502, cy 205.253
k1 0.0964056, k2 -0.275756, p1 0, p2 0, k3 0.0921489
default color camera parameters:
fx 1081.37, fy 1081.37, cx 959.5, cy 539.5
using sensor defaults for color intrinsic parameters.
using sensor defaults for ir intrinsic parameters.
using defaults for rotation and translation.
using defaults for depth shift.
camera parameters used:
camera matrix color:
[1081.3720703125, 0, 959.5;
0, 1081.3720703125, 539.5;
0, 0, 1]
distortion coefficients color:
[0, 0, 0, 0, 0]
camera matrix ir:
[365.8608093261719, 0, 254.502197265625;
0, 365.8608093261719, 205.2525939941406;
0, 0, 1]
distortion coefficients ir:
[0.09640563279390335, -0.2757557928562164, 0, 0, 0.09214892983436584]
rotation:
[1, 0, 0;
0, 1, 0;
0, 0, 1]
translation:
[-0.052; 0; 0]
depth shift:
0
[DepthRegistration::New] Using CPU registration method!
[DepthRegistration::New] Using CPU registration method!
[kinect2_bridge] waiting for clients to connect
/home/xfhor/kinectv2/devel/lib/kinect2_bridge/kinect2_bridge/home/xfhor/kinectv2/devel/lib/kinect2_bridge/kinect2_bridge: symbol lookup error: /home/xfhor/kinectv2/devel/lib/kinect2_bridge/kinect2_bridge: undefined symbol: _ZN12libfreenect222SyncMultiFrameListener15waitForNewFrameERSt3mapINS_5Frame4TypeEPS2_St4lessIS3_ESaISt4pairIKS3_S4_EEEi
: symbol lookup error: /home/xfhor/kinectv2/devel/lib/kinect2_bridge/kinect2_bridge: undefined symbol: _ZN12libfreenect222SyncMultiFrameListener15waitForNewFrameERSt3mapINS_5Frame4TypeEPS2_St4lessIS3_ESaISt4pairIKS3_S4_EEEi
The text was updated successfully, but these errors were encountered: