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

Make GenericCamera configurable

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      TSSW Sprint - Jun 10 - Jun 22, TSSW Sprint - Jun 24 - Jul 6
    • Team:
      Telescope and Site

      Description

      For this task I'll convert the GenericCamera CSC to use ConfigurableCSC. I'll also add some tests.

        Attachments

          Activity

          Hide
          tribeiro Tiago Ribeiro added a comment -

          These are the PRs involved in this task:

           

          https://github.com/lsst-ts/ts_GenericCamera/pull/1

          https://github.com/lsst-ts/ts_xml/pull/96

          https://github.com/lsst-ts/ts_config_ocs/pull/2

          I only tested the CSC with the default simulator camera. As I was mentioning to James Buffill [X] earlier today it is very likely that the driver for the ZWO and Andor camera will need some tweaks to work and to make them asyncio friendly. To run the CSC with different cameras, we will need to write appropriate configuration files. 

           

          You can test the software using the docker develop-env environment. The procedure is:

           

          $ docker run -it --rm --name GenCam lsstts/develop-env:20190610_sal3.10.0_salobj4
          ...
          [saluser@99872d0a99e5 ~]$ cd repos/
          [saluser@99872d0a99e5 repos]$ git clone https://github.com/lsst-ts/ts_GenericCamera
          [saluser@99872d0a99e5 repos]$ cd ts_GenericCamera/
          [saluser@99872d0a99e5 ts_GenericCamera]$ git checkout tickets/DM-20121
          saluser@99872d0a99e5 ts_GenericCamera]$ eups declare -r . -t $USER
          Warning: path /home/saluser/repos/ts_GenericCamera is absolute, not relative to location on EUPS_PATH
          [saluser@99872d0a99e5 ts_GenericCamera]$ setup ts_GenericCamera -t $USER
          [saluser@99872d0a99e5 ts_GenericCamera]$ cd ~/repos/ts_xml/
          [saluser@99872d0a99e5 ts_xml]$ git pull
          [saluser@99872d0a99e5 ts_xml]$ git checkout tickets/DM-20121
          [saluser@99872d0a99e5 ts_xml]$ cd ~/repos/ts_config_ocs/
          [saluser@99872d0a99e5 ts_config_ocs]$ git pull
          [saluser@99872d0a99e5 ts_config_ocs]$ git checkout tickets/DM-20121
          [saluser@99872d0a99e5 ts_config_ocs]$ cd ~/repos/ts_GenericCamera/
          [saluser@99872d0a99e5 ts_GenericCamera]$ conda install -y pillow
          [saluser@99872d0a99e5 ts_GenericCamera]$ make_idl_files.py GenericCamera
          [saluser@99872d0a99e5 ts_GenericCamera]$ scons
          

           

           

          Show
          tribeiro Tiago Ribeiro added a comment - These are the PRs involved in this task:   https://github.com/lsst-ts/ts_GenericCamera/pull/1 https://github.com/lsst-ts/ts_xml/pull/96 https://github.com/lsst-ts/ts_config_ocs/pull/2 I only tested the CSC with the default simulator camera. As I was mentioning to James Buffill [X] earlier today it is very likely that the driver for the ZWO and Andor camera will need some tweaks to work and to make them asyncio friendly. To run the CSC with different cameras, we will need to write appropriate configuration files.    You can test the software using the docker develop-env environment. The procedure is:   $ docker run -it --rm --name GenCam lsstts/develop-env:20190610_sal3.10.0_salobj4 ... [saluser@99872d0a99e5 ~]$ cd repos/ [saluser@99872d0a99e5 repos]$ git clone https://github.com/lsst-ts/ts_GenericCamera [saluser@99872d0a99e5 repos]$ cd ts_GenericCamera/ [saluser@99872d0a99e5 ts_GenericCamera]$ git checkout tickets/DM-20121 saluser@99872d0a99e5 ts_GenericCamera]$ eups declare -r . -t $USER Warning: path /home/saluser/repos/ts_GenericCamera is absolute, not relative to location on EUPS_PATH [saluser@99872d0a99e5 ts_GenericCamera]$ setup ts_GenericCamera -t $USER [saluser@99872d0a99e5 ts_GenericCamera]$ cd ~/repos/ts_xml/ [saluser@99872d0a99e5 ts_xml]$ git pull [saluser@99872d0a99e5 ts_xml]$ git checkout tickets/DM-20121 [saluser@99872d0a99e5 ts_xml]$ cd ~/repos/ts_config_ocs/ [saluser@99872d0a99e5 ts_config_ocs]$ git pull [saluser@99872d0a99e5 ts_config_ocs]$ git checkout tickets/DM-20121 [saluser@99872d0a99e5 ts_config_ocs]$ cd ~/repos/ts_GenericCamera/ [saluser@99872d0a99e5 ts_GenericCamera]$ conda install -y pillow [saluser@99872d0a99e5 ts_GenericCamera]$ make_idl_files.py GenericCamera [saluser@99872d0a99e5 ts_GenericCamera]$ scons    
          Hide
          jbuffill James Buffill [X] (Inactive) added a comment -

          Reviewed

          Show
          jbuffill James Buffill [X] (Inactive) added a comment - Reviewed
          Hide
          jbuffill James Buffill [X] (Inactive) added a comment -

          Done

          Show
          jbuffill James Buffill [X] (Inactive) added a comment - Done

            People

            Assignee:
            tribeiro Tiago Ribeiro
            Reporter:
            tribeiro Tiago Ribeiro
            Reviewers:
            James Buffill [X] (Inactive)
            Watchers:
            Andy Clements, Brian Stalder, Christopher Contaxis [X] (Inactive), James Buffill [X] (Inactive), Patrick Ingraham, Tiago Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.