[INSTRM-1220] persist and regenerate motor positions and fpaMoved dates Created: 30/Mar/21  Updated: 15/Jan/22

Status: Open
Project: Instrument control development
Component/s: ics_xcuActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Unresolved Votes: 0
Labels: SM1, SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-557 add motors focus command and keyword Done
relates to INSTRM-215 persist ccd motor positions Done
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

 Description   

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.

Generated at Sat Feb 10 16:33:06 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.