ros_astra_camera icon indicating copy to clipboard operation
ros_astra_camera copied to clipboard

Cannot change Astra Pro rgb resolution to SXGA ou XGA

Open miguelriemoliveira opened this issue 3 years ago • 0 comments

Hello,

I am using the astrapro.launch

https://github.com/orbbec/ros_astra_camera/blob/master/launch/astrapro.launch

, and try a lot of combinations to try to get a higher resolution RGB image (currently 640x480).

I changed the FPS, width and height but always get the error

vc_get_stream_ctrl_format_size: Invalid mode (-51) [ERROR] [1632844259.333887281]: check video_mode/width/height/frame_rate are available DEVICE CONFIGURATION (0000:0000/[none]) --- Status: idle VideoControl: bcdUVC: 0x0100 END DEVICE CONFIGURATION

Any ideas? Can some one report a working combination of parameters

 <!-- Image size and type -->
      <param name="width" value="640"/>
      <param name="height" value="480"/>
      <!-- choose whichever uncompressed format the camera supports: -->
      <param name="video_mode" value="yuyv"/> <!-- or yuyv/nv12/jpeg -->
      <param name="frame_rate" value="30"/>

Thanks in advance ...

@danifpdra FYI

miguelriemoliveira avatar Sep 28 '21 15:09 miguelriemoliveira