From 8e5d0aec942fb9c49040fc525f0d697fd24d7c2f Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Thu, 7 May 2026 13:42:30 -0600 Subject: Added Motion Capture plugin Tracks a user-selected point via webcam (OpenCV CSRT tracker) and streams x_pos / y_pos pixel coordinates as live channels into the acquisition pipeline. Falls back to a Lissajous figure simulation when opencv-python is not installed, so the plugin works immediately without hardware. - tracker.py: background thread, real camera + sim modes, thread-safe API - device.py: BaseDevice reading x/y from tracker, wires into engine - filter.py: custom pixel_to_mm filter (registered in FILTER_CLASSES) - window.py: floating tool window, live feed, click-to-track ROI selection - plugin.py: LabPlugin wiring all pieces together, toolbar button, settings widget, profile save/restore Also: PluginAction.button_ref_callback lets plugins store a ref to their toolbar button so they can uncheck it when their window closes. opencv-python install note added to requirements.txt. Co-Authored-By: Claude Sonnet 4.6 --- .../motion_capture/__pycache__/tracker.cpython-314.pyc | Bin 0 -> 16806 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 plugins/motion_capture/__pycache__/tracker.cpython-314.pyc (limited to 'plugins/motion_capture/__pycache__/tracker.cpython-314.pyc') diff --git a/plugins/motion_capture/__pycache__/tracker.cpython-314.pyc b/plugins/motion_capture/__pycache__/tracker.cpython-314.pyc new file mode 100644 index 0000000..064af3c Binary files /dev/null and b/plugins/motion_capture/__pycache__/tracker.cpython-314.pyc differ -- cgit v1.2.3