ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fortunately problem solved!!!

My Videre STOC camera sends image data as 2byte pixels in YUV422 format. For some reason, the camera reports that the frame it sends is in YUV411 format!

YUV422 bit size is set to 16, instead of YUV411 which is set to 12 in dc1394/utils.c. This was causing incomplete frames.

In libdc1394-2.1.2, at dc1394/control.c, line 672 I made the following change: *mode= (uint32_t)((value >> 29) & 0x7UL) + DC1394_VIDEO_MODE_FORMAT0_MIN; ->
*mode= DC1394_VIDEO_MODE_640x480_YUV422;

Maybe there is a more elegant solution to this problem. The important thing for me is that I can finally get frames and point clouds!

Thank you very much Anton for your time!

Fortunately problem solved!!!

My Videre STOC camera sends image data as 2byte pixels in YUV422 format. For some reason, the camera reports that the frame it sends is in YUV411 format!

YUV422 bit size is set to 16, instead of YUV411 which is set to 12 in dc1394/utils.c. This was causing incomplete frames.

In libdc1394-2.1.2, at dc1394/control.c, line 672 I made the following change: change:

*mode= (uint32_t)((value >> 29) & 0x7UL) + DC1394_VIDEO_MODE_FORMAT0_MIN;

->

*mode= DC1394_VIDEO_MODE_640x480_YUV422;

DC1394_VIDEO_MODE_640x480_YUV422;

Maybe there is a more elegant solution to this problem. The important thing for me is that I can finally get frames and point clouds!

Thank you very much Anton for your time!

Fortunately problem Problem solved!!!

My Videre STOC camera sends image data as 2byte pixels in YUV422 format. For some reason, the camera reports that the frame it sends is in YUV411 format!

YUV422 bit size is set to 16, instead of YUV411 which is set to 12 in dc1394/utils.c. This was causing incomplete frames.

In libdc1394-2.1.2, at dc1394/control.c, line 672 I made the following change:

*mode= (uint32_t)((value >> 29) & 0x7UL) + DC1394_VIDEO_MODE_FORMAT0_MIN;

->

*mode= DC1394_VIDEO_MODE_640x480_YUV422;

Maybe there is a more elegant solution to this problem. The important thing for me is that I can finally get frames and point clouds!

Thank you very much Anton for your time!