Changeset 1691 for trunk/MagicSoft/Cosy/main/MCosy.h
- Timestamp:
- 12/18/02 20:35:52 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MCosy.h
r1275 r1691 6 6 #include "network.h" 7 7 #include "MThread.h" 8 #include "MBending.h" 8 9 9 10 #define kDEG ((char)0x9c) // Linux 'ø' 10 11 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 17 22 18 23 class ShaftEncoder; … … 75 80 ZdAz fVelocity; // Actual velocity of Tracking 76 81 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 77 87 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; 78 96 79 97 void SetStatus(UInt_t stat) { fStatus = stat; } … … 107 125 void WaitForEndMovement(); 108 126 127 void Constructor(); 128 void ConstructorSE(); 129 void ConstructorDemo(); 130 131 void ReadConfig(); 132 109 133 public: 110 MCosy( const char *dev, const int baud, MLog &out=gLog);134 MCosy(int mode, const char *dev, const int baud, MLog &out=gLog); 111 135 ~MCosy(); 112 136
Note:
See TracChangeset
for help on using the changeset viewer.