raspicam_node icon indicating copy to clipboard operation
raspicam_node copied to clipboard

Problem with coding

Open juankkt opened this issue 9 years ago • 1 comments

Hi, the node_raw have a problem, at certain random time change the coding of bgra8 to rgba8, I tried to find the exact time, but this varies depending on CPU usage. What is the fault?. This does not occur in the compressed node.

juankkt avatar Oct 13 '16 09:10 juankkt

Hi,

I had the flickering encoding problem too. I reduced the framerate which resulted in a stable but false encoded image stream. Then I hat to change the encoding of the ros sensor_msgs::Image message in raspicam_raw_node.cpp from bgra8 to rgba8. Although the camera configuration uses MMAL_ENCODING_BGRA to initialize the camera it works now for slow frame rates up to ~15fps@640x480@RP2.

Thank you for you awesome work fpasteau!

Sincerly Robert

EDIT: Added resolution information of my image stream

einrob avatar Nov 19 '16 14:11 einrob