State machine for guiding deviation
Next step of refactoring towards dedicated state machines: shift guide deviation handling to the capture state machine. This refactoring consists of the following changes:
- use Option values instead of UI widget values and ensure that they stay in sync
- shift guide deviation checks from
Capture
toCaptureModuleState
- trigger start/stop/abort/suspend actions in
Capture
by emitting corresponding signals inCaptureModuleState
To verify that no regressions are introduced, TestEkosCaptureWorkflow::testInitialGuidingLimitCapture()
has been refactored to cover initial guiding checks.
Edited by Wolfgang Reissenberger