Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:1
-
Sprint:TSSW Sprint - Aug 19 - Aug 31
-
Team:Telescope and Site
Description
DM-20732 (soon to be merged) changes the XML to publish new values (essentially forwarded from the ATPng CSC) and publishes telemetry as arrays. The simulator needs to be updated to reflect this functionality.
Attachments
Issue Links
- relates to
-
DM-20732 Modify ATMCS Telemetry XML to use arrays to provide high-speed telemetry from drives and encoders
- Done
This required a bit of work because the telemetry topics now are arrays. I added an update_telemetry method to the CSC and a separate loop method that calls update_events at 10Hz (as before) and update_telemetry every 10 times through the loop.
I also took the liberty of removing tests for task.done() before canceling the task, since cancel is allowed (and is a no-op) if the task is already done.
Pull request: https://github.com/lsst-ts/ts_ATMCSSimulator/pull/10