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

Camera Hexapod: State machine reaction upon sending "clearError" command.

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Sprint:
      TSSW Sprint - Jun 21 - Jul 05, TSSW Sprint - Jul 05 - Jul 19
    • Team:
      Telescope and Site

      Description

      This was encountered during the execution of test case

      https://jira.lsstcorp.org/secure/Tests.jspa#/testCase/LVV-T1599

      the execution is:

      https://jira.lsstcorp.org/secure/Tests.jspa#/testPlayer/testExecution/LVV-E1228

       

      After unplugging and replugging the motor encoder cable:

      Test Step:
      Send the "clearError" trigger and bring the system to the Enabled/Stationary state.

      Expected Result:

      The system is in the Enabled/Stationary state and ready to be commanded.

      Actual Result:

      Sending the "clearError" command cleared the "Drive fault" but not the "Simulink" fault and transitioned the state machine into standbyState.

      After transitioning the state machine, using the EUI, into disabledState the system allowed to clear the Simulink fault by sending the "clearError" command.

        Attachments

          Activity

          Hide
          ttsai Te-Wei Tsai added a comment -

          The update of branch DM-29788-2 will break the state machine transition and I tried another method in branch 3.

          Show
          ttsai Te-Wei Tsai added a comment - The update of branch DM-29788 -2 will break the state machine transition and I tried another method in branch 3.
          Hide
          hdrass Holger Drass added a comment -

          – ClearError did not work from DDS:

          await hexapod_csc.cmd_clearError.set_start(timeout=10.) # This clears the error

          This was the answer:

          AckError: msg='Command failed', ackcmd=(ackcmd private_seqNum=159701259, ack=<SalRetCode.CMD_FAILED: -302>, error=1, result='Failed: Failed: final state is <State.FAULT: 3> instead of <State.STANDBY: 5>')

          – ClearError send from the EUI also does not work.

          Show
          hdrass Holger Drass added a comment - – ClearError did not work from DDS: await hexapod_csc.cmd_clearError.set_start(timeout=10.) # This clears the error This was the answer: AckError: msg='Command failed', ackcmd=(ackcmd private_seqNum=159701259, ack=<SalRetCode.CMD_FAILED: -302>, error=1, result='Failed: Failed: final state is <State.FAULT: 3> instead of <State.STANDBY: 5>') – ClearError send from the EUI also does not work.
          Hide
          ttsai Te-Wei Tsai added a comment -

          After the discussion with Holger, this fault comes from the low-level drive fault (actuator 5). The clearError command does clear the error and go to the Standby state. But it comes back to the Fault again because of the drive fault is still there.

          Show
          ttsai Te-Wei Tsai added a comment - After the discussion with Holger, this fault comes from the low-level drive fault (actuator 5). The clearError command does clear the error and go to the Standby state. But it comes back to the Fault again because of the drive fault is still there.
          Hide
          ttsai Te-Wei Tsai added a comment -

          Please help to review the PR:
          https://github.com/lsst-ts/ts_hexapod_controller/pull/18

          Thanks!

          Show
          ttsai Te-Wei Tsai added a comment - Please help to review the PR: https://github.com/lsst-ts/ts_hexapod_controller/pull/18 Thanks!
          Hide
          rowen Russell Owen added a comment -

          Reviewed on github

          Show
          rowen Russell Owen added a comment - Reviewed on github

            People

            Assignee:
            ttsai Te-Wei Tsai
            Reporter:
            hdrass Holger Drass
            Reviewers:
            Russell Owen
            Watchers:
            Bo Xin [X] (Inactive), Holger Drass, Russell Owen, Te-Wei Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Start date:
              End date:

                Jenkins

                No builds found.