Skip to content

Commit

Permalink
Update the error code of rotator.
Browse files Browse the repository at this point in the history
  • Loading branch information
teweitsai committed Dec 16, 2024
1 parent 5eb1aa4 commit c92427c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/news/interface_changes/DM-47994.mtrotator.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update the ErrorCode enum in MTRotator.py.
10 changes: 10 additions & 0 deletions python/lsst/ts/xml/enums/MTRotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,18 @@ class ErrorCode(enum.IntEnum):
controller.
* NO_CONFIG: The CSC did not receive configuration from the low-level
controller shortly after connecting to it.
* NO_NEW_CCW_TELEMETRY: The CSC did not receive new telemetry from the
camera cable wrapper (CCW) before the timeout.
* OLD_CCW_TELEMETRY: The CCW telemetry was too old.
* CCW_FOLLOWING_ERROR: The CCW did not follow the rotator's movement.
* NO_NEW_TRACK_COMMAND: The CSC did not receive a new track command before
the timeout.
"""

CONTROLLER_FAULT = 1
CONNECTION_LOST = 2
NO_CONFIG = 3
NO_NEW_CCW_TELEMETRY = 4
OLD_CCW_TELEMETRY = 5
CCW_FOLLOWING_ERROR = 6
NO_NEW_TRACK_COMMAND = 7

0 comments on commit c92427c

Please sign in to comment.