[INSTRM-1603] Add mechanism to specify active/inactive cobras Created: 13/May/22  Updated: 19/Jun/22  Resolved: 19/Jun/22

Status: Done
Project: Instrument control development
Component/s: ics_fpsActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: chyan
Resolution: Done Votes: 0
Labels: EngRun
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-1616 Returning 2394 locations from FibreID... Done
relates to INSTRM-1612 We need to handle pfsDesign files tha... Done
Sprint: PreEngRun06June

 Description   

We need a way to specify which cobras should be enabled for moves and which should not be moved. For example, PSF characterization will want to hide all but a set of DCB fibers, or all but every fifth fiber, etc.

One proposed mechanism: add a <maskFile> argument to the main fps motion commands (home, moveToPfsDesign, moveThetaSteps, etc). This file would have rows with GFM fiberIds and a "masked" column to not move, in addition to the already masked broken cobras. We might later use this mechanism for other things, so probably best to have a named "masked" column for this purpose.

Not obvious whether/how we would reuse these. Another ticket for later.



 Comments   
Comment by arnaud.lefur [ 19/May/22 ]

So with IIC.dotRoach sequence, I'm now using this new argument with fps commands :
I"m passing a maskFile argument to moveToPfsDesign / cobraMoveSteps
maskFile being the path to a csv config file.
chyan
I created a few config already which are stored in /data/dotRoach/config if you want to try loading it, it's basically a csv file with 2394 rows and as columns :
cobraId fiberId scienceFiberId spectrographId bitMask

bitMask = 0 : ignore that cobraId/fiberId
bitMask = 1 : proceed with motion.

Comment by chyan [ 19/Jun/22 ]

This feature has been added together with INSTRM-1612.

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