Asus Xtion not supported in Hydro using openni2? [closed]

asked 2016-02-05 09:12:41 -0600

joe.s gravatar image

updated 2016-10-24 09:07:33 -0600

ngrennan gravatar image

I'm having trouble with the Asus Xtion and openni2 in Hydro. I'm getting this error: [ERROR] [140934478.275581907]: Unsupported color video mode - Resolution: 640x480 30Hz Format:RGB888
basically what this guy is seeing: http://answers.ros.org/question/191498/

I will be trying to calibrate, as suggested in that thread, once I am able to get a hold of a camera calibration grid.

Has a solution been found anywhere? Other than upgrading to Indigo I mean.

Thank you.

J

EDIT:

I've attempted to calibrate following these instructions: http://wiki.ros.org/camera_calibration

I set the --no-service-check option to default=False as suggested here: http://answers.ros.org/question/22353...
I did this because I was getting this message: ('Waiting for service', '//set_camera_info', '...') Service not found when running rosrun camera_calibration cameracalibrator. --size 5x8 --square 0.03 image:=/camera/image camera:=/ (I'm currently using a 5x8 30mm calibration grid)

Notes:
No window showing a video feed/ capture pops up at any point.
rosmake camera_calibration ran without error
This is on Ubuntu 12.04 ROS Hydro using an Asus Xtion
Still receiving the above Unsupported color video mode error

EDIT2:
I've upgraded to Ubuntu 14.04 and Indigo. I receive this error:

[ERROR] [1455146167.444460553]: Unsupported color video mode - Resolution: 640x480@30Hz Format: RGB888

Here's the output from lsusb -v:

Bus 001 Device 004: ID 1d27:0600 ASUS 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1d27 ASUS
  idProduct          0x0600 
  bcdDevice            0.01
  iManufacturer           2 PrimeSense
  iProduct                1 PrimeSense Device
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           69
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0b70  2x 880 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x135c  3x 860 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x1040  3x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-30 17:36:59.055164

Comments

Running the calibration without any video input isn't going to work. Could you provide some more information on your specific Xtion? Exact model nr, firmware version, how connected (usb2/usb3), etc. I'm not an expert, but perhaps that information can help others help you.

gvdhoorn gravatar image gvdhoorn  ( 2016-02-10 01:20:47 -0600 )edit

the Xtion is connected via USB... I'm assuming USB2 although not sure how to tell.
The Xtion itself, it has a single RGB camera and one depth camera... I wasn't able to tell the model number from the cameras, it looks like a ASUS Xtion (not Pro or Pro-live).
How would I check firmware version?

joe.s gravatar image joe.s  ( 2016-02-10 10:04:02 -0600 )edit

it looks like a ASUS Xtion (not Pro or Pro-live)

The non-pro(-live) only supports depth, so that would explain the error message. But from your lsusb output I'm pretty sure this is an rgbd device.

gvdhoorn gravatar image gvdhoorn  ( 2016-02-11 03:00:30 -0600 )edit

but if it's only depth, I should be able to get a pointcloud (or something) in rviz, right?

joe.s gravatar image joe.s  ( 2016-02-11 09:38:04 -0600 )edit

Exactly same problem and no solution...

Rastafouille gravatar image Rastafouille  ( 2016-02-26 08:41:12 -0600 )edit
1

I would actually say this seems more like an issue with openni itself & your camera than something specific to ROS.

gvdhoorn gravatar image gvdhoorn  ( 2016-02-26 09:47:05 -0600 )edit

yeah... it's starting to seem that way.
I can get an Asus Xtion Pro Live working, no problem. It's this particular model Asus Xtion that's not working right, it seems.

joe.s gravatar image joe.s  ( 2016-02-26 10:04:01 -0600 )edit

Mine is Asus Xtion Pro one. I will try with an other one.

Rastafouille gravatar image Rastafouille  ( 2016-02-27 06:40:22 -0600 )edit