HI all,
For 10Micron mount modelling we need to add the following functionality to the driver :
First store the temperature and pressure. This will get used by :newalpt and/or :endalig# lateron.
- :SRTMPsTTT.T# Sets the tempreature at the location of the telescope used in the refraction model to sTTT.T degrees Celsius. Returns 1# if OK, 0# on error.
- :SRPRSPPPP.P# Sets the atmospheric pressure at the location of the telescope used in the refraction model to PPPP.P hPa. Returns 1# if OK, 0# on error.
Begin a new alignment specification. (This will not clear the active alignment model the mount is using.)
Next loop over up to 100 alignment points, per point get mount RA/DEC, pier side, local sidereal time, plate-solved RA/DEC (*) and store :newalpt
- :GR# get mount right ascension. Returns HH:MM:SS.SS# (hours, minutes, seconds and hundredths of seconds)
- :GD# get mount declination. Returns sDD:MM:SS.S# (degrees, arcminutes, arcseconds and tenths of arcsecond)
- :pS# Pier side. Returns string "East#" or "West#"
- :GS# Get local sidereal time
- :newalptMRA,MDEC,MSIDE,PRA,PDEC,SIDTIME# Returns nnn# if OK with nnn the number of active points, E# if not
With
- MRA - the mount-reported right ascension, expressed as HH:MM:SS.S
- MDEC - the mount-reported declination, expressed as sDD:MM:SS
- MSIDE - the mount-reported pier side (the letter 'E' or 'W', as reported by the :pS# command)
- PRA - the plate-solved right ascension (i.e. the right ascension the telescope was effectively pointing to), expressed as HH:MM:SS.S
- PDEC - the plate-solved declination (i.e. the declination the telescope was effectively pointing to), expressed as sDD:MM:SS
- SIDTIME - the local sidereal time at the time of the measurement of the point, expressed as HH:MM:SS.S
End the new alignment model and compute a new alignment from the given alignment points.
- :endalig# returns V# if new alignment model has been computed OK
Save the model.
- :modeldel0NAME# DELete a model with name NAME (up to 15 case sensitive characters, spaces allowed). Returns 1# if OK, 0# on error
- :modelsv0NAME# SaVe the model with name NAME. Returns 1# if OK, 0# on error
(*) We need to transform plate-solved J2000.0 coordinates to JNow as input for the :newalpt PRA ad PDEC parameters and JNow as SIDERES, however in this transformation we need to deliberately ignore everything that is related to refraction (like temperature, pressure, humidity, wavelength) and only correct for precession, nutation and light aberration. This can be done with SOFA/ERFA Atci13, or with Atco13 when all its refratcion parameters are set to 0.
The 10Micron mount then receives these 'half transformed' coordinates and corrects for refraction with the temperature and pressure it was given earlier with :SRTMP and :SRPRS (ignoring things like humidity and wavelength).
Lateron we can add functionality to manage the models with these
- :getalst# Gets the number of alignment stars used in the current alignment model. Returns n#
- :delalig# Deletes the current alignment model and stars. Returns #
- :getalpN# Gets alignment information for star number N. Returns: E# on error or "HH:MM:SS.SS,+dd*mm:ss.s,eeee.e,ppp#" where HH:MM:SS.SS is the hour angle of the alignment star in hours, minutes, seconds and hundredths of second (from 0h to 23h59m59.99s), +dd*mm:ss.s is the declination of the alignment star in degrees, arcminutes, arcseconds and tenths of arcsecond, eeee.e is the error between the star and the alignment model in arcseconds, ppp is the polar angle of the measured star with respect to the modeled star in the equatorial system in degrees from 0 to 359 (0 towards the north pole, 90 towards east).
- :delalstN# Delete alignment star N and recalculate the model. Returns 1# if OK, 0# on error
- :modelcnt# Gets the number of alignment models. Returns: n#
- :modelnamN# Returns the name of model number N or just # on error.
- :modelld0NAME# Loads the model with the given NAME. Returns 1# if OK, 0# on error
I intend to add all this to the INDI driver. Does this line up with the EKOS Mount Modelling tool ?
-- Hans