Extend-Robotics / camera_aravis

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

decouple application buffer processing from aravis #11

Closed bmegli closed 1 year ago

bmegli commented 1 year ago

Solution for problem in:

There are some options.

Ideally this should be thread-per-substream processor or thread-pool.

bmegli commented 1 year ago

Option "Internal ROS message"

Short description

This would be really simple hack.

Pros:

Cons:

bmegli commented 1 year ago

Option "Thread-per-substream"

Implement thread for each substream.

Those would just sleep, wake up on new data and sleep again.

Pros:

Cons:

This solution has many flavours like raw threads, glib threads (that could be passed the buffer signal).

bmegli commented 1 year ago

Implemented option "Thread-per-substream"