| Line | |
|---|
| 1 | #ifndef COSY_MTracking
|
|---|
| 2 | #define COSY_MTracking
|
|---|
| 3 |
|
|---|
| 4 | #ifndef COSY_MPointing
|
|---|
| 5 | #include "MPointing.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef COSY_MThread
|
|---|
| 9 | #include "MThread.h"
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MTracking : public MPointing, public MThread
|
|---|
| 13 | {
|
|---|
| 14 | private:
|
|---|
| 15 | Float_t fTrackAcc;
|
|---|
| 16 | Float_t fTrackDec;
|
|---|
| 17 |
|
|---|
| 18 | bool SetVelocity(const ZdAz &v);
|
|---|
| 19 | bool InitTracking();
|
|---|
| 20 | bool LimitSpeed(ZdAz *vt, const ZdAz &vcalc) const;
|
|---|
| 21 |
|
|---|
| 22 | void *Thread();
|
|---|
| 23 |
|
|---|
| 24 | public:
|
|---|
| 25 | MTracking(MCosy *cosy, const Log &log) : MPointing(cosy, log), MThread(kFALSE), fTrackAcc(0.1), fTrackDec(0.1) { }
|
|---|
| 26 |
|
|---|
| 27 | void TrackPosition(const RaDec &dst); // ra, dec [rad]
|
|---|
| 28 | void SetTrackAccDec(Float_t acc, Float_t dec) { fTrackAcc=0.1; fTrackDec=0.1; }
|
|---|
| 29 |
|
|---|
| 30 | //void TalkThreadTracking();
|
|---|
| 31 |
|
|---|
| 32 | ClassDef(MTracking, 0)
|
|---|
| 33 | };
|
|---|
| 34 |
|
|---|
| 35 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.