Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37262

Support the Functions of State Transition in M2 Python Controller

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:
    • Story Points:
      2
    • Sprint:
      TSSW Sprint - Dec 05 - Dec 19, TSSW Sprint - Dec 19 - Jan 02
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Support the functions of state transition in M2 Python controller (ts_m2com). This will issue the power/CLC/ILC related commands directly to the cell controller (ts_mtm2_cell). The target is to get ride of two state machines exist in the M2 server LabVIEW project (ts_mtm2). The M2 Python GUI (ts_m2gui) can use these new functions directly. For the M2 Python CSC (ts_m2), it may need to wait until I finished the update of M2 cell LabVIEW project (ts_mtm2_cell).

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            <ts_mtm2>

            [SequenceStepError.vi]

            In the loca mode, when there is the fault, reset the force (when needed), reset the step (when needed), set the CLC mode to Idle.

            In the remote mode, turn off the motor power.

            [LocalErrorisTrue.vi]

            [ManualClosedLoopSubstate.lvclass]

            1. Stop motion.
            2. Unload the script.
            3. Reset the Steps.
            4. Reset the Forces.
            5. CLC mode to TelemetryOnly.
            6. Turn off the motor power.

            [ManualOpenLoopSubstate.lvclass]

            Same as the ManualClosedLoopSubstate.lvclass.

            Show
            ttsai Te-Wei Tsai added a comment - - edited <ts_mtm2> [SequenceStepError.vi] In the loca mode, when there is the fault, reset the force (when needed), reset the step (when needed), set the CLC mode to Idle. In the remote mode, turn off the motor power. [LocalErrorisTrue.vi] [ManualClosedLoopSubstate.lvclass] 1. Stop motion. 2. Unload the script. 3. Reset the Steps. 4. Reset the Forces. 5. CLC mode to TelemetryOnly. 6. Turn off the motor power. [ManualOpenLoopSubstate.lvclass] Same as the ManualClosedLoopSubstate.lvclass.
            Hide
            ttsai Te-Wei Tsai added a comment -
            Show
            ttsai Te-Wei Tsai added a comment - Please help to review the PRs: 1. https://github.com/lsst-ts/ts_m2com/pull/18 2. https://github.com/lsst-ts/ts_m2gui/pull/28 Thanks!
            Hide
            ttsai Te-Wei Tsai added a comment -

            Thanks to review and approve the PRs!

            Show
            ttsai Te-Wei Tsai added a comment - Thanks to review and approve the PRs!

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Petr Kubanek
              Watchers:
              Petr Kubanek, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.