v0.5.10 builds on the v0.5.9 follow-direction latch and focuses on making the USB camera path more forgiving on the LinuxCNC/FabScan machine.
- Default camera size changed from
1280 x 720to800 x 600. - Saved legacy
1280 x 720camera settings are migrated to800 x 600on load. - Camera Capture and Camera Calibration now have resolution presets:
800 x 600640 x 4801280 x 9601600 x 12001280 x 720
- Camera status now reports requested size, actual size, backend, and format.
- Linux camera open explicitly requests the V4L2 backend.
- OpenCV asks for MJPG and a one-frame buffer when the backend supports it.
- Preview frame reads now happen in a background thread so slow/failing camera reads are less likely to freeze Tkinter.
- If no frames arrive, FabScan reports likely causes such as a metadata
/dev/videonode, unsupported resolution, busy camera, or disconnected camera. - Preview
PhotoImageobjects are tied to the dialog window, and preview callbacks are cancelled on close. - Removed confirmation popups for:
- enabling jog controls
- enabling controlled moves
- running camera calibration
Motion safety checks remain in place: FabScan still refuses guarded motion unless LinuxCNC status is acceptable for that motion path. FabScan remains X/Y only: no Z, no torch, no plasma, and no cycle start.
For the current microscope camera, start with:
Camera index: 0
Resolution: 800 x 600
Avoid 1280 x 720 unless the status line confirms the camera actually returns that size reliably.
Mode: Line center
Step: 0.050
Max correct: 0.010 or 0.015
Min conf: 55 or 60
Count: 10 to 50
If the first follow step goes the wrong way, change Direction and click Find Line / Edge again before running Follow N.