Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.apo.nmsu.edu/Telescopes/TCC/html/namespacetcc_1_1axis_1_1check_axes_for_slew.html
Дата изменения: Tue Sep 15 02:25:39 2015 Дата индексирования: Sun Apr 10 05:21:45 2016 Кодировка: Поисковые слова: sts-64 |
lsst.tcc
1.2.2-3-g89ecb63
|
Functions | |
def | checkAxesForSlew |
Apply wrap preference and verify that position is in bounds, preparatory to a slew. More... | |
Variables | |
list | __all__ = ["checkAxesForSlew"] |
def tcc.axis.checkAxesForSlew.checkAxesForSlew | ( | desObj, | |
perfect, | |||
doRestart, | |||
isHalted, | |||
isNewObj, | |||
isNewRot, | |||
rotExists, | |||
nullSysFlag | |||
) |
Apply wrap preference and verify that position is in bounds, preparatory to a slew.
[in] | desObj | object block; information about the desired object in: userSys, rotType, targetMount, axisErrCode out: axisErrCode |
[in] | perfect | if True, all existing axes must be able to move, else badAxis and sigBad are set true |
[in] | doRestart | (3 bools) restart axis, if possible? (ignored for rotator if no rotator) |
[in] | isHalted | (3 bools) true if axis is presently halted |
[in] | isNewObj | are you acquiring a new object? |
[in] | isNewRot | are you setting a new rotator angle; if True and rotExists then the rot axis is "significant" |
[in] | rotExists | is there a rotator axis? |
[in] | nullSysFlag | how to set badAxis if coordSys (for az, alt) or rotType (for rot) is none: -1: reject all such cases (badAxis=true); use if you cannot handle this situation 0: accept only if halted or halting (isHalted or desObj.targetMount and desObj.axisErrCode are both OK) 1: accept for all such cases; useful for a preliminary check, if you are going to handle halting later |
Sets desObj.axisErrCode as follows; the first appropriate condition listed is used:
*halt wanted:
Definition at line 11 of file checkAxesForSlew.py.
list tcc.axis.checkAxesForSlew.__all__ = ["checkAxesForSlew"] |
Definition at line 9 of file checkAxesForSlew.py.