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

Fix the M2 Python CSC for the Possible Incomplete Telemetry

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:
    • Story Points:
      1
    • Epic Link:
    • Sprint:
      TSSW Sprint - May 08 - May 22
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Fix the M2 Python CSC for the possible incomplete telemetry. The following is the error message from the test at DM-39085:

      ---------------------------------------------------------------------------
      AckError                                  Traceback (most recent call last)
      Input In [4], in <cell line: 1>()
      ----> 1 await m2.cmd_standby.set_start(timeout=30)
       
      File /opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/lib/python3.10/site-packages/lsst/ts/salobj/topics/remote_command.py:414, in RemoteCommand.set_start(self, timeout, wait_done, **kwargs)
          373 """Create a new ``self.data``, set zero or more fields,
          374 and start the command.
          375 
         (...)
          411     If ``data`` is not None and not an instance of `DataType`.
          412 """
          413 self.set(**kwargs)
      --> 414 return await self.start(timeout=timeout, wait_done=wait_done)
       
      File /opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/lib/python3.10/site-packages/lsst/ts/salobj/topics/remote_command.py:485, in RemoteCommand.start(self, data, timeout, wait_done)
          482 finally:
          483     self._in_start = False
      --> 485 return await cmd_info.next_ackcmd(timeout=timeout)
       
      File /opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-6.0.0/lib/python3.10/site-packages/lsst/ts/salobj/topics/remote_command.py:191, in CommandInfo.next_ackcmd(self, timeout)
          189     ackcmd = await self._wait_task
          190     if ackcmd.ack in self.failed_ack_codes:
      --> 191         raise base.AckError(msg="Command failed", ackcmd=ackcmd)
          192     return ackcmd
          193 except asyncio.TimeoutError:
       
      AckError: msg='Command failed', ackcmd=(ackcmd private_seqNum=1764472279, ack=<SalRetCode.CMD_FAILED: -302>, error=1, result='Failed: tangentForce write(private_revCode: 79d78322, private_sndStamp: 1684348013.528974, private_rcvStamp: 0.0, private_seqNum: 3409, private_identity: MTM2, private_origin: 46483, lutGravity: [16.11, -131.72, -4.1, -30.39, -9.01, -28.96], lutTemperature: [0, 0, 0, 0, 0, 0], applied: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0], measured: [44.92, -112.03, 14.76, -2.32, 27.54, 4.16], hardpointCorrection: []) failed: probably at least one array field is too short')
      

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment -

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

            Thanks!

            Show
            ttsai Te-Wei Tsai added a comment - Please help to review the PR: https://github.com/lsst-ts/ts_m2/pull/44 Thanks!
            Hide
            tribeiro Tiago Ribeiro added a comment -

            PR approved on GH.

            Show
            tribeiro Tiago Ribeiro added a comment - PR approved on GH.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Tiago Ribeiro
              Watchers:
              Pablo Zorzi, Te-Wei Tsai, Tiago Ribeiro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.