bob_central.art_observer_node
Art Observer Node.
Monitors artwork files and streams them to the dashboard without flickering. Uses a persistent buffer to ensure seamless transitions.
Classes
ROS 2 node for monitoring and streaming artwork seamlessly. |
Functions
|
Run art observer. |
Module Contents
- class bob_central.art_observer_node.ArtObserverNode
Bases:
rclpy.node.NodeROS 2 node for monitoring and streaming artwork seamlessly.
- image_path
- pipe_path
- fps
- img_size
- img_pos
- register_dashboard
- pub_events
- last_mtime = 0
- image_buffer = None
- buffer_lock
- running = True
- stream_thread
- register_layer()
Register the artwork layer with the streamer.
- _streaming_loop()
Persist loop to push frames into the pipe at a steady rate.
- check_art()
Check for file changes and update buffer.
- bob_central.art_observer_node.main(args=None)
Run art observer.