Ignore:
Timestamp:
02/24/08 11:26:09 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MSlewing.h

    r8869 r8875  
    2323    Float_t fDec;
    2424
     25    Float_t fMaxResidual; // [rev] Maximum residual deviation to stop pointin
     26
    2527    void DoRelPos(const ZdAz &rd, const Bool_t axe1, const Bool_t axe2);
    2628    void SetPosVelocity(const Float_t ratio, Float_t vel);
    2729
    2830public:
    29     MSlewing(MCosy *cosy) : fCosy(cosy), fVel(0.1), fAcc(0.2), fDec(0.1) { }
     31    MSlewing(MCosy *cosy) : fCosy(cosy), fVel(0.1), fAcc(0.2), fDec(0.1), fMaxResidual(1./16384) { }
    3032
    3133    void SetPointAccDec(Float_t acc, Float_t dec) { fAcc = acc; fDec = dec; }
    3234    void SetPointVelocity(Float_t vel) { fVel = vel; }
    3335    int  SetPosition(const ZdAz &dst, Bool_t track=kFALSE);
     36    void SetMaxResidual(Float_t ac) { fMaxResidual = ac; }
    3437
    3538    ClassDef(MSlewing, 0)
Note: See TracChangeset for help on using the changeset viewer.