Ignore:
Timestamp:
12/18/02 20:35:52 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1275 r1691  
    66#include "network.h"
    77#include "MThread.h"
     8#include "MBending.h"
    89
    910#define kDEG ((char)0x9c)  // Linux 'ø'
    1011
    11 #define WM_WAIT      WM_NULL
    12 #define WM_PRESET    0x1000
    13 #define WM_POSITION  0x1001
    14 #define WM_TRACK     0x1002
    15 #define WM_STOP      0x1003
    16 #define WM_POLARIS   0x1004
     12#define WM_WAIT        WM_NULL
     13#define WM_PRESET      0x1000
     14#define WM_POSITION    0x1001
     15#define WM_TRACK       0x1002
     16#define WM_STOP        0x1003
     17#define WM_CALIB       0x1004
     18#define WM_TPOINT      0x1005
     19#define WM_NEWTRACK    0x1006
     20#define WM_LOADBENDING 0x1007
     21#define WM_CALCALTAZ   0x1008
    1722
    1823class ShaftEncoder;
     
    7580    ZdAz  fVelocity;      // Actual velocity of Tracking
    7681
     82    XY kGearRatio;        // describing the gear of the system [re/se]
     83    XY kGearRatio2;       // describing the gear of the system [re/deg]
     84
     85    MBending fBending;
     86
    7787    UInt_t fStatus;
     88
     89    ofstream *tpout;
     90
     91    double Rad2SE(double rad) const;
     92    double Rad2ZdRE(double rad) const;
     93    double Rad2AzRE(double rad) const;
     94    double Deg2ZdRE(double rad) const;
     95    double Deg2AzRE(double rad) const;
    7896
    7997    void SetStatus(UInt_t stat) { fStatus = stat; }
     
    107125    void WaitForEndMovement();
    108126
     127    void Constructor();
     128    void ConstructorSE();
     129    void ConstructorDemo();
     130
     131    void ReadConfig();
     132
    109133public:
    110     MCosy(const char *dev, const int baud, MLog &out=gLog);
     134    MCosy(int mode, const char *dev, const int baud, MLog &out=gLog);
    111135    ~MCosy();
    112136
Note: See TracChangeset for help on using the changeset viewer.