so-90prime / 90prime

General repo for everything related to 90Prime (docs, diagrams, thoughts)
2 stars 0 forks source link

Add in Az/El functionality into observe script associated with Azcam #49

Closed dsand closed 2 years ago

dsand commented 2 years ago

@griffin-h and @mplesser have been going back and forth about adding in Az/El coordinates to the standard observe script run alongside Azcam, which normally only takes RA/Dec inputs. This will be useful for mapping focus across the sky.

Will keep track of progress here in terms of the 90Prime project, although the observe code has its own repo.

dsand commented 2 years ago

on the 2/15/2022 engineering night, we test the azcam function telescope.move_azalt(az, alt) which will take an Az, Alt coordinate, translate it to an RA, DEC for a given time, and then slew the telescope there. This is a critical first step prior to getting this functionality into the standard observe script. A typical call might look like this:

telescope.move_azalt(110.,60.)

dsand commented 2 years ago

Just an update here. During the Feb 2022 run, we were able to get the new 'move_azalt' function to run, after a little debugging. @griffin-h did a little editing on the mountain, so hopefully that version is on the 'main branch'.

The next step is to incorporate this into the GUI version of 'observe', @mplesser's utility.

dsand commented 2 years ago

Note from @mplesser today says we can test functionality of this tonight. I'll first use this test catalog that Mike provided:

set azalt_mode 1 obs 1.0 dark "test dark1" 1 R 180.0 45. obs 2.0 dark "test dark2" 1 R 190.0 40.

dsand commented 2 years ago

We were able to load several catalogs with Az/Alt information and the telescope slewed to those parts of the sky while changing filters, etc. This was using the 'observe' GUI of @mplesser.

I am going to close this issue for now, but will reopen if any issues come up related to this.