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

Does this work on hydro? #17

Closed
iory opened this issue May 30, 2016 · 12 comments
Closed

Does this work on hydro? #17

iory opened this issue May 30, 2016 · 12 comments

Comments

@iory
Copy link
Member

iory commented May 30, 2016

we cannot run openni_tracker

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:/tmp/NITE-Bin-Dev-Linux-x64-v1.5.2.23$ sudo service udev restart
udev stop/waiting
udev start/running, process 31345
[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:/tmp/NITE-Bin-Dev-Linux-x64-v1.5.2.23$ NiViewer 
Open failed: Bad Parameter sent to the device!
Press any key to continue . . .
^C
@iory
Copy link
Member Author

iory commented May 30, 2016

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:/tmp/NITE-Bin-Dev-Linux-x64-v1.5.2.23$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 005: ID 1d27:0600  
Bus 001 Device 006: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 008: ID 0d8c:0001 C-Media Electronics, Inc. Audio Device
(reverse-i-search)`ros': ^Cscd jsk_openni_kinect/

@iory
Copy link
Member Author

iory commented May 30, 2016

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:~$ uname -a
Linux hrp2017v 3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@iory iory changed the title Is this work on hydro? Does this work on hydro? May 30, 2016
@k-okada
Copy link
Member

k-okada commented May 30, 2016

if NiViewer does not work, it is openni problem, not NiTE

aptitude search openni

since we have deb package for Nite, do not try to install NiTE-Bin manually
please look at Create primesense-nite-nonfree and install section in
https://github.com/jsk-ros-pkg/jsk_openni_kinect/blob/master/README.md

◉ Kei Okada

On Mon, May 30, 2016 at 8:08 PM, iory notifications@github.com wrote:

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:~$ uname -a
Linux hrp2017v 3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAeG3LY3jefQi1HKkQHFWi6mio9so2Dpks5qGsUigaJpZM4IprkZ
.

@k-okada
Copy link
Member

k-okada commented May 30, 2016

On Mon, May 30, 2016 at 8:41 PM, Kei Okada k-okada@jsk.t.u-tokyo.ac.jp
wrote:

aptitude search openni

and check if that version includes 0600 in
https://github.com/PrimeSense/Sensor/blob/master/Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp#L43
also run NiViewre with sudo

◉ Kei Okada

@iory
Copy link
Member Author

iory commented May 30, 2016

openni2.launch and openni_tracker does not work simultaneously.

@iory
Copy link
Member Author

iory commented May 30, 2016

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:~/catkin_ws/ws_jsk_openni_kinect/src/jsk_openni_kinect$ ./apt-get-intall-primesense-nite-nonfree.sh 
+++ dirname ./apt-get-intall-primesense-nite-nonfree.sh
++ builtin cd .
++ pwd
+ _THIS_DIR=/home/hrpuser/catkin_ws/ws_jsk_openni_kinect/src/jsk_openni_kinect
+ cd /tmp
+ rm -fr 'primesense-nite-nonfree*'
+ '[' '!' -e primesense-nite-nonfree-0.1 ']'
+ apt-src install primesense-nite-nonfree
E: No such source

@k-okada
Copy link
Member

k-okada commented May 30, 2016

https://github.com/PrimeSense/Sensor/blob/master/Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp#L43
this is the latest code, so please run aptitude search openni to check you installed version and check the source code of that veresion

E: No such source

run lsb_release -a and get source code of that version from http://packages.ubuntu.com/ja/trusty/primesense-nite-nonfree

@iory
Copy link
Member Author

iory commented May 30, 2016

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:~/ros/hydro/src$ sudo dpkg --list | grep openni
ii  libopenni-dev                              1.5.4.0-4+precise1                                  headers for OpenNI 'Natural Interaction' frameworks
ii  libopenni-nite-dev                         1.3.1.5~precise                                     Nite development package
ii  libopenni-sensor-primesense-dev            5.1.0.41-2+precise1                                 Microsoft Kinect sensor modules for the OpenNI framework
ii  libopenni-sensor-primesense0               5.1.0.41-2+precise1                                 Microsoft Kinect sensor modules for the OpenNI framework
ii  libopenni0                                 1.5.4.0-4+precise1                                  framework for sensor-based 'Natural Interaction'
ii  libopenni2-0                               2.1.0.4-1~ppa2~precise1                             framework for sensor-based 'Natural Interaction'
ii  libopenni2-dev                             2.1.0.4-1~ppa2~precise1                             headers for OpenNI 'Natural Interaction' frameworks
ii  openni-utils                               1.5.4.0-4+precise1                                  debug and test utilities OpenNI framework
ii  ros-fuerte-openni-camera                   1.8.6-s1367557025~precise                           An OpenNI camera ROS driver
ii  ros-fuerte-openni-kinect                   0.5.2-s1371492728~precise                           The ROS OpenNI project
ii  ros-fuerte-openni-launch                   1.8.3-s1371474178~precise                           Entry point for using OpenNI cameras in ROS
ii  ros-fuerte-openni-tracker                  0.1.3-s1367542410~precise                           OpenNI skeleton tracker
ii  ros-hydro-openni-camera                    1.9.2-0precise-20150101-0738-+0000                  A ROS driver for OpenNI depth (+ RGB) cameras. These include: Microsoft Kinect, PrimeSense PSDK, ASUS Xtion Pro and Pro Live The driver publishes raw depth, RGB, and IR image streams.
ii  ros-hydro-openni-launch                    1.9.5-0precise-20150112-0027-+0000                  Launch files to open an OpenNI device and load all nodelets to convert raw depth/RGB/IR streams to depth images, disparity images, and (registered) point clouds.
ii  ros-hydro-openni-tracker                   0.2.0-1precise-20150331-0007-+0000                  The OpenNI tracker broadcasts the OpenNI skeleton frames using tf.
ii  ros-hydro-openni2-camera                   0.1.4-0precise-20150101-0739-+0000                  Drivers for the Asus Xtion and Primesense Devices. For using a kinect with ROS, try the freenect stack
ii  ros-hydro-openni2-launch                   0.1.4-0precise-20150111-1814-+0000                  Launch files to start the openni2_camera drivers using rgbd_launch.

@iory
Copy link
Member Author

iory commented May 30, 2016

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:~/ros/hydro/src$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise

@iory
Copy link
Member Author

iory commented May 30, 2016

5.1.0.41 of libopenni-sensor-primesense should support 0x600 product id
https://github.com/PrimeSense/Sensor/blob/Unstable-5.1.0.41/Source/XnDeviceSensorV2/XnDeviceSensorIO.cpp#L34

#define XN_SENSOR_VENDOR_ID         0x1D27
#define XN_SENSOR_5_0_PRODUCT_ID    0x0500
#define XN_SENSOR_6_0_PRODUCT_ID    0x0600
#define XN_SENSOR_6_0_1_PRODUCT_ID  0x0601

@iory
Copy link
Member Author

iory commented May 30, 2016

[http://hrp2017v:10017][192.168.96.24] hrpuser@hrp2017v:~$ ps -auxwww |  grep openni 
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
hrpuser   8133  0.1  0.2 509260  9260 ?        Ssl  22:41   0:05 /opt/ros/hydro/lib/nodelet/nodelet load openni2_camera/OpenNI2DriverNodelet camera_nodelet_manager ir:=ir rgb:=rgb depth:=depth depth_registered:=depth_registered rgb/image:=rgb/image_raw depth/image:=depth_registered/image_raw __name:=driver __log:=/home/hrpuser/.ros/log/fbe08ae6-2635-11e6-bad4-00031d0c7c5c/camera-driver-47.log
hrpuser  28448  0.0  0.0  14592   960 pts/1    S+   23:39   0:00 grep --exclude-dir=.svn openni

need openni2_tracker -> ros-drivers/openni2_tracker#8

@iory
Copy link
Member Author

iory commented Mar 9, 2017

Solved by k-okada/openni2_tracker#1

Next discussion is here.
ros-drivers/openni2_tracker#8

@iory iory closed this as completed Mar 9, 2017
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

2 participants