MindBuffer / smode_laser_plugin

Smode plugin for sending streams to LASER projectors
2 stars 2 forks source link

Add a frame message queue for safely sending frames across threads #14

Closed mitchmindtree closed 4 years ago

mitchmindtree commented 4 years ago

This allows for pushing frames to the laser device at an arbitrary rate.

The device callback will always use the most recently received frame to ensure minimal latency.

The queue is bounded in order to avoid the possibility of leaking.