Closed iandobbie closed 1 year ago
Turns out now I have the ludl stage running under cockpit there are a few issues.
1) bad error on startup as described above
2) stage size and position isnt properly returned after search for limits at stage startup.
The stage size issue is actually a cockpit problem. The stage doesn't know its limits until it has moved to them, but cockpit adds the axis to the positioner list before the limits are returned. Need to think about how best to solve this.
The ludl stage control code dies at line 159 if the return buffer is empty as there is no stage connected there. Maybe the cable fell out or the stage is not powered. Need a better error check to return a sensible error.