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

Verify the M2 Hardpoint Configuration Files

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:

      Description

      Verify the M2 hardpoint configuration files in MATLAB scripts, especially for the different combination of actuators.

      Translate the calculation of hardpoint configuration files to Python code in ts_m2com. This helps the future's translation to C++ or LabVIEW.

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment -

            The idea of Harris's calculation of hardpoints is to make the x-, y-, and z-moments to be consistent when the related forces on hardpoints are 0. This makes sense on "flat" mirror as an edge case. For the condition of normal operation, a more completed algorithm might be needed (maybe consider how to translate the M1M3's algorithm to M2, which might take some time to figure out how).

            Show
            ttsai Te-Wei Tsai added a comment - The idea of Harris's calculation of hardpoints is to make the x-, y-, and z-moments to be consistent when the related forces on hardpoints are 0. This makes sense on "flat" mirror as an edge case. For the condition of normal operation, a more completed algorithm might be needed (maybe consider how to translate the M1M3's algorithm to M2, which might take some time to figure out how).
            Hide
            ttsai Te-Wei Tsai added a comment -

            I only translated the "reversed" part of hardpoint correction because the M2 Python simulator only supports this at this moment. After we figure out the "forwarded" part in M2 cell control algorithm, I should be able to translate it to Python code. But that will be another ticket.

            Show
            ttsai Te-Wei Tsai added a comment - I only translated the "reversed" part of hardpoint correction because the M2 Python simulator only supports this at this moment. After we figure out the "forwarded" part in M2 cell control algorithm, I should be able to translate it to Python code. But that will be another ticket.
            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            Please help to review the PRs:
            1. https://github.com/lsst-ts/ts_config_mttcs/pull/48
            2. https://github.com/lsst-ts/ts_m2com/pull/19

            Please note the value changes in the unit tests comes from the numerical error between the Python and MATLAB for the pseudo-inverse function.

            Thanks!

            Show
            ttsai Te-Wei Tsai added a comment - - edited Please help to review the PRs: 1. https://github.com/lsst-ts/ts_config_mttcs/pull/48 2. https://github.com/lsst-ts/ts_m2com/pull/19 Please note the value changes in the unit tests comes from the numerical error between the Python and MATLAB for the pseudo-inverse function. Thanks!
            Hide
            tribeiro Tiago Ribeiro added a comment -

            PRs approved in GH, I left a few comments for you to consider but everything looks good.

            Show
            tribeiro Tiago Ribeiro added a comment - PRs approved in GH, I left a few comments for you to consider but everything looks good.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Tiago Ribeiro
              Watchers:
              Andy Clements, 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.