ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 180 forks source link

raw8 option is refused for Chameleon3 CM3-U3-50S5M-CS mono type camera #140

Open Pedrous opened 6 years ago

Pedrous commented 6 years ago

I have tried to insert the raw8 option through the launch file parameters and through dynamic reconfigure but it is automatically changed to mono8. The raw8 works perfectly for the color version of the same camera (Chameleon3 CM3-U3-50S5M-CS).

Now I know that the raw8 should work also for the mono version since FlyCapture GUI let's me specify raw8 without problems. The problem with the mono8 selection is that it limits the frame rate to 24 Hz and raw8 allows full frame rate of 35,66 Hz.

I was looking through the PointGreyCamera.cpp and this is happening because after row 449 where the pixel format for black and white camera are defined, there is no raw option for black and white camera.