add configurable output rate, different from camera poll rate#52
add configurable output rate, different from camera poll rate#52chataign wants to merge 3 commits intoros-drivers:masterfrom chataign:separate-publish-and-poll-rates
Conversation
|
I'd be grateful if you'd copy the indentation style of the rest of the file, when making modifications. No particular style is better than any other, but consistency is good for readability. |
Conflicts: src/nodes/driver1394.cpp src/nodes/driver1394.h
|
Hi, I just fixed the indents and cleaned up the code I added. Let me know if you have any issues reviewing this code. While looking at the code I noticed that a new image message ( Regards, |
|
If I remember correctly, the reason is that the Image message gets passed to ROS on the |
Added
output_rate_hzparameter to control the output rate (ie. images processed and published) vs the camera poll rate (frame_rate). On most cameras the poll rate indirectly controls device properties such as exposure and affects the imagery. This change allows users to downsample the publication rate without affecting the quality of the imagery.output_rate_hz=0disables the feature