#include "lsfTaskDev.h"
Include dependency graph for probePrtrk.h:
Go to the source code of this file.
Probe tracking task | |
#define | probeTRK_TASK "prtrk" |
ccsCOMPL_STAT | probePrtrkConstructor (ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkDestructor (ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkGetAv (vltDOUBLE *avAlpha, vltDOUBLE *avDelta, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkSetAv (const vltDOUBLE avAlpha, const vltDOUBLE avDelta, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkSetLam (const vltDOUBLE lambda, ccsERROR *error) |
vltDOUBLE | probePrtrkGetLam () |
ccsCOMPL_STAT | probePrtrk (const lsfTASKDEV_DATA *taskDevData, const char *taskDevName, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkProHook (const lsfTASKDEV_DATA *taskDevData, const char *taskDevName, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkEpiHook (const lsfTASKDEV_DATA *taskDevData, const char *taskDevName, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkCalcReady (ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkCalcValid (const vltUINT32 maxDelay, ccsTIMEVAL *time, ccsERROR *error) |
vltINT32 | probePrtrkGetBgCalcPeriod () |
ccsCOMPL_STAT | probePrtrkCheckCoord (const vltDOUBLE alphaGs, const vltDOUBLE deltaGs, const vltLOGICAL checkVignettingPos, const vltDOUBLE lamGs, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkSetProbeAD (const vltDOUBLE alphaGs, const vltDOUBLE deltaGs, const vltDOUBLE lamGs, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkCheckTracking (vltLOGICAL *tracking, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkBgCoord (vltDOUBLE *mjd, ccsERROR *error) |
ccsCOMPL_STAT | probePrtrkSetDiffTrk (const vltLOGICAL enable, ccsERROR *error) |
vltLOGICAL | probePrtrkGetDiffTrk () |
void | probePrtrkSetRecalcRef (const vltLOGICAL state) |
vltLOGICAL | probePrtrkGetRecalcRef () |
ccsCOMPL_STAT | probePrtrkSetGsSelected (const vltLOGICAL state, ccsERROR *error) |
vltLOGICAL | probePrtrkGetGsSelected () |
ccsCOMPL_STAT | probePrtrkProtectMove (ccsERROR *error) |
void | probePrtrkUnProtectMove () |
vltDOUBLE | probePrtrkGetMoveThr () |
|
|
|
Constructor of probe tracking task. The constructor has to be called before any use of the class. It sets up the internal structures |
|
Destructor of probe tracking task. Th destructor is called at the end of all activities. No access after calling it is allowed. |
|
Get current Additional velocity. The access is sempahore protected.
|
|
Set Additional velocity. The reference values are also updated in the database.
|
|
Set guide star observed wavelength. It's used for differential tracking and guidestar refraction calculations.
|
|
Get the current guide star lambda.
|
|
Main loop of probe tracking task |
|
Prolog function hook for probe tracking task |
|
Epilog function hook for probe tracking task |
|
Wait until probe differential tracking calculations have been done ONCE. It does NOT mean that the calculations are still done.
|
|
Check if the calculations have been updated within a defined time frame and that they are valid.
|
|
Get the period of the background calculations.
|
|
Check if the given alpha/delta coordinates of a guide star are valid.
|
|
Set guide probe to alpha/delta.
|
|
Check if the probe is tracking. The probe is tracking if: trkServer is in the substate tracking or preset and the last command from tracking was acmACTION_STAR
|
|
Perform background calculation with given MJD. |
|
Control differential tracking.
|
|
Get state of differential tracking.
|
|
Control state of recalculate reference coordinates. If set then the reference coordinates are derived from the actual position. This is used in the case where no reference coordinates are available; e.g. when no preset with alpha/delta has been done. |
|
Get state of recalculate reference coordinates |
|
Control state of guide star selected flag. The guide star selected flag is set, when the probe is preset to a new guide star. Only when this flag is set the probe is actually moved. |
|
Get state of guide star selected flag. |
|
Protect movement of guide probe in case there are independent accesses. |
|
Uprotect movement of guide probe. |
|
Retrieve Move Threshold.
|