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

Update ts_observatory_control to update slew_icrs, point_azel and create move_p2p_azel and move_p2p_azel

    XMLWordPrintable

Details

    Description

      This ticket contains two parts:

      • Update slew_icrs and poin_azel to consider M1M3 booster valves and 
        • We want those valves open when slewing
        • We want those valves closed when tracking or stopped
      • Create move_p2p_azel and move_p2p_radec
        • These commands should use mtmount.cmd_moveToTarget
        • Using the command above, we ensure that the velocity, acceleration, and jerk limits in the TMA EUI settings are used.
        • We need to make it explicit that this command will see elevation and azimuth in the mount space (without considering the pointing)

      Here is an example of code we used during M1M3 tests that might be useful to implement this:

       
          try:
              script.log.info(f"Open Booster Valves - Start")
              await mtcs.rem.mtm1m3.cmd_setAirSlewFlag.set_start(slewFlag=True)
              await asyncio.sleep(0.5)
              script.log.info(f"Open Booster Valves - Done")
              
              script.log.info(f"Slewing - Start")
              await mtcs.rem.mtmount.cmd_moveToTarget.set_start(
                  azimuth=azimuth,
                  elevation=el
              )
              script.log.info(f"Slewing - Done")
              
          finally:
              script.log.info(f"Close Booster Valves - Start")
              await mtcs.rem.mtm1m3.cmd_setAirSlewFlag.set_start(slewFlag=False)
              script.log.info(f"Close Booster Valves - Done")
      

       

      Attachments

        People

          tribeiro Tiago Ribeiro
          bquint Bruno Quint
          Wouter van Reeven
          Bruno Quint, Petr Kubanek, Tiago Ribeiro, Wouter van Reeven
          Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved:

            Jenkins

              No builds found.