-
Type: Task
-
Status: Open (View Workflow)
-
Priority: Normal
-
Resolution: Unresolved
-
Component/s: ics_xcuActor
-
Story Points:1
-
Sprint:SM1PD-2021 A 6, SM1PD-2021 A7, SM1PD-2021 A8, SM1PD-2021 A9, SM1PD-2021 A10, SM1PD-2021 A 11, SM1PD-2021 A 12, SM1PD-2021 A 13, SM1PD-2021 A 14
INSTRM-215 gave the mechanism, but we still need to handle the persistence and keys. In particular, we need to generate the keywords whenever the actor is restarted.
When the actor is started or some parts of it are reloaded:
- load persisted (date, pos)
- read actual motor positions from the controller
- if persisted and actual positions match, declare positions ok (i.e. set home flags to OK) and generate motor and date keys. This will be the normal case.
- if actual positions are real (> 0) but do not match the persisted positions, scream and invalidate everything.
- for the case when actual positions are == 0 and so indicate a power-cycled controller, add a command to allow human to declare that persisted positions are good, and to set the controller positions from them.
- relates to
-
INSTRM-557 add motors focus command and keyword
- Done
-
INSTRM-215 persist ccd motor positions
- Done