Extend-Robotics / camera_aravis

A ROS1 driver for GenICam based GigE and USB3 cameras.
Other
1 stars 1 forks source link

test performance with chunked data #22

Closed bmegli closed 1 year ago

bmegli commented 1 year ago

Related to:

Chunked transfer is currently not implemented (only multipart is).

The hope is that with chunked data device might start to send something without waiting for all data.

bmegli commented 1 year ago

I don't probably need fully working chunked data support.

Just getting the buffer and publishing anything (e.g. camera_info) should be enough to measure frequency

bmegli commented 1 year ago

Actually I can test it without implementing anything.

From Photoneo docs in chunked mode Intensity is transferred as Image payload and the rest are chunks.

We have Image payload implemented.

It is enough to disable multipart and measure image frequency.

bmegli commented 1 year ago

Default Intensity + Range

roslaunch camera_aravis photoneo_motioncam.launch
rostopic hz /camera/Intensity/image_raw

Result

average rate: 9.805
    min: 0.069s max: 0.168s std dev: 0.01454s window: 222

We would not get anything in ROS Range as we are currently not testing for chunks attached to Image payload

bmegli commented 1 year ago

Conclusion

No performance gain with chunked data transfer