Skip to content

R200 support #16

@severin-lemaignan

Description

@severin-lemaignan

The R200 RGDB camera does not work yet.

Here a sample output of realsense_camera_node:

 $ ./devel/lib/realsense_camera/realsense_camera_node _realsense_camera_type:="Intel RealSense 3D Camera R200"


===================
realsense_camera_type = Intel RealSense 3D Camera R200
rgb_frame_id = _rgb_optical_frame
depth_frame_id = _depth_optical_frame
depth_unit = 31.250000
depth_scale = 0.001000
depth_fxinv = 0.002156
depth_fyinv = 0.002156
depth_cx = 320.000000
depth_cy = 240.000000
depth_uv_enable_min = 0
depth_uv_enable_max = 2047
topic_depth_points_id = /depth/points
topic_depth_registered_points_id = /depth_registered/points
topic_image_rgb_raw_id = /rgb/image_raw
topic_image_depth_raw_id = /depth/image_raw
topic_image_infrared_raw_id = /ir/image_raw
debug_depth_unit = 0
rgb_camera_info_url = 
ir_camera_info_url = 
=======================


depthWithIRStream - NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
if you want IR stream, please visit
http://solsticlipse.com/2015/03/31/intel-real-sense-3d-on-linux-macos.html
https://github.com/teknotus/depthview/tree/kernelpatchfmt

===========================================
Intel(R) RealSense(TM) 3D Camera lists

PCI: usb-0000:00:14.0-2
Serial: SN_2211011528
    /dev/video0
    /dev/video1
    /dev/video2
===========================================

use camera SN_2211011528
Directory /home/skadge/ros-dev/share/realsense_camera/data/uvmap/SN_2211011528 does not exist!!!!
video rgb name is /dev/video0
video depth name is /dev/video1

============== VIDIOC_QUERYCAP
/dev/video0 
   driver = uvcvideo
   card = Intel RealSense 3D Camera R200
   bus_info = usb-0000:00:14.0-2
   version = 0x00040202
   capabilities = 0x85200001
   device_caps = 0x05200001
   reserved[3] = [0x00000000, 0x00000000, 0x00000000]


======================== get
/dev/video0 
v4l2_pix_format
   width = 320
   height = 962
   pixelformat_value = 0x56595559
   pixelformat = YUYV
   field = 1
   bytesperline = 640
   sizeimage = 615680
   colorspace = 0
   priv = -17970434


======================== set
/dev/video0 
v4l2_pix_format
   width = 320
   height = 962
   pixelformat_value = 0x56595559
   pixelformat = YUYV
   field = 1
   bytesperline = 640
   sizeimage = 615680
   colorspace = 0
   priv = -17970434


============ VIDIOC_S_PARM
/dev/video0 
v4l2_streamparm
   timeperframe.numerator = 1
   timeperframe.denominator = 60

video rgb w,h - 320, 962

============== VIDIOC_QUERYCAP
/dev/video1 
   driver = uvcvideo
   card = Intel RealSense 3D Camera R200
   bus_info = usb-0000:00:14.0-2
   version = 0x00040202
   capabilities = 0x85200001
   device_caps = 0x05200001
   reserved[3] = [0x00000000, 0x00000000, 0x00000000]


======================== get
/dev/video1 
v4l2_pix_format
   width = 314
   height = 938
   pixelformat_value = 0x56595559
   pixelformat = YUYV
   field = 1
   bytesperline = 628
   sizeimage = 589064
   colorspace = 0
   priv = -17970434


======================== set
/dev/video1 
v4l2_pix_format
   width = 628
   height = 469
   pixelformat_value = 0x00000000
   pixelformat = 
   field = 1
   bytesperline = 1256
   sizeimage = 589064
   colorspace = 0
   priv = -17970434


VIDIOC_S_PARM error 5, Input/output error

v4l2_munmap error 22, Invalid argument
open /dev/video1 error!!!!!!!!

Note that the video streams of the camera are visible in VLC/guvcview, but interestingly 3 /dev/video devices are available while the F200 creates only 2.
/dev/video0 and /dev/video1 look both like depth maps (but not the same data, though), while /dev/video2 is the RGB stream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions