version       mcpVersion="$Name: v6_6_6$|Dec 23 2010|16:35:56"  # MCP version
mjd           55675

initialTime   1303600779

typedef enum {
   azimuth = 0,
   altitude = 1,
   rotator = 2,
} AXIS;

typedef struct {
   int time;
   int fididx;
   int true1;
   int true2;
   int pos1;
   int pos2;
   float deg;
   float alt_pos;
   float velocity;
   int encoder_error1;
   int encoder_error2;
} ALT_FIDUCIAL;

typedef struct {
   int time;
   int fididx;
   int true1;
   int true2;
   int pos1;
   int pos2;
   float deg;
   float velocity;
   int encoder_error1;
   int encoder_error2;
} AZ_FIDUCIAL;

typedef struct {
   int time;
   int fididx;
   int true1;
   int true2;
   int pos1;
   int pos2;
   float deg;
   int latch;
   float velocity;
   int encoder_error1;
   int encoder_error2;
} ROT_FIDUCIAL;

typedef struct {
   int time;
   AXIS axis;
} DEFINE_FIDUCIALS;

typedef struct {
   int time;
   AXIS axis;
   int encoder;
   int error;
} SET_FIDUCIAL_ERROR;

typedef struct {
   int time;
   char mcpVersion[100];
} START_FIDUCIAL;

typedef struct {
   int time;
   AXIS axis;
   int encoder;
   int pos1;
   int error;
   float velocity;
} UPDATE_ENCODER;

typedef struct {
   int time;
   AXIS axis;
   int correction;
} DISABLE_MS_CORRECTION;

typedef struct {
   int time;
   AXIS axis;
} MS_ON;

typedef struct {
   int time;
   AXIS axis;
} MS_OFF;

typedef struct {
   int time;
   int dio316;
} BAD_DIO316;

ms_off 1303600779 AZIMUTH
ms_off 1303600779 ALTITUDE
ms_off 1303600779 ROTATOR
ms_on 1303600779 AZIMUTH
ms_on 1303600780 ALTITUDE
ms_on 1303600780 ROTATOR
ms_off 1303600782 AZIMUTH
ms_off 1303600782 ALTITUDE
ms_off 1303600782 ROTATOR
ms_off 1303601623 AZIMUTH
ms_off 1303601623 ALTITUDE
ms_off 1303601623 ROTATOR
ms_off 1303601623 AZIMUTH
ms_off 1303601623 ALTITUDE
ms_off 1303601623 ROTATOR
ms_off 1303604831 AZIMUTH
UPDATE_ENCODER 1303604831 AZIMUTH 1  31077445  0         0
UPDATE_ENCODER 1303604831 AZIMUTH 2  31069931  0         0
ms_off 1303604832 ALTITUDE
UPDATE_ENCODER 1303604833 ALTITUDE 1  7713417  -17         0
UPDATE_ENCODER 1303604833 ALTITUDE 2  7710829  19         0
ms_off 1303604834 ROTATOR
UPDATE_ENCODER 1303604834 ROTATOR 1  5545  0         0
UPDATE_ENCODER 1303604834 ROTATOR 2  0  0         0
ms_off 1303604847 AZIMUTH
ms_off 1303604847 ALTITUDE
ms_off 1303604848 ROTATOR
ms_on 1303604848 AZIMUTH
ms_on 1303604848 ALTITUDE
ms_on 1303604848 ROTATOR
ALT_FIDUCIAL 1303604880    4   15533330  15525427   15533489  15525566    58.858      -3153    385714  0 0
SET_FIDUCIAL_ERROR 1303604880 ALTITUDE 1  -159
SET_FIDUCIAL_ERROR 1303604880 ALTITUDE 2  -139
ALT_FIDUCIAL 1303604890    5   19418852  19408292   19418832  19408297    74.524      -6371    385131  -159 -139
SET_FIDUCIAL_ERROR 1303604891 ALTITUDE 1  20
SET_FIDUCIAL_ERROR 1303604891 ALTITUDE 2  -5
ALT_FIDUCIAL 1303604904    6   22827784  22814872   22827708  22814781    88.034      -9146    113143  -139 -144
SET_FIDUCIAL_ERROR 1303604904 ALTITUDE 1  76
SET_FIDUCIAL_ERROR 1303604904 ALTITUDE 2  91
ms_off 1303604911 AZIMUTH
ms_off 1303604911 ALTITUDE
ms_off 1303604911 ROTATOR
ms_off 1303605075 AZIMUTH
UPDATE_ENCODER 1303605075 AZIMUTH 1  31077527  0         0
UPDATE_ENCODER 1303605075 AZIMUTH 2  31069971  0         0
ms_off 1303605076 ALTITUDE
UPDATE_ENCODER 1303605077 ALTITUDE 1  23142325  -63         0
UPDATE_ENCODER 1303605077 ALTITUDE 2  23129191  -53         0
ms_off 1303605078 ROTATOR
UPDATE_ENCODER 1303605078 ROTATOR 1  7910  0         0
UPDATE_ENCODER 1303605079 ROTATOR 2  0  0         0
ms_off 1303605107 AZIMUTH
ms_off 1303605107 ALTITUDE
ms_off 1303605107 ROTATOR
ms_on 1303605107 AZIMUTH
ms_on 1303605108 ALTITUDE
ms_on 1303605108 ROTATOR
AZ_FIDUCIAL 1303605114   22   31414462  31406532   31414214  31406460   122.311    186850  0 0
SET_FIDUCIAL_ERROR 1303605114 AZIMUTH 1  248
SET_FIDUCIAL_ERROR 1303605114 AZIMUTH 2  72
ROT_FIDUCIAL 1303605117   77   40989328  42590828   40989336  40000000     5.858   40618931    289222  0 0
SET_FIDUCIAL_ERROR 1303605118 ROTATOR 1  -8
SET_FIDUCIAL_ERROR 1303605118 ROTATOR 2  0
ROT_FIDUCIAL 1303605119  -77   40989328  42590828   41418894  40000000     8.401   40989336    334900  -8 0
ROT_FIDUCIAL 1303605120   76   41790044  42590828   41790058  40000000    10.599   41418894    337778  -8 0
SET_FIDUCIAL_ERROR 1303605120 ROTATOR 1  -14
SET_FIDUCIAL_ERROR 1303605120 ROTATOR 2  0
ROT_FIDUCIAL 1303605121  -76   41790044  42590828   42218852  40000000    13.138   41790058    337778  -22 0
ROT_FIDUCIAL 1303605122   75   42590828  42590828   42590832  40000000    15.340   42218852    337778  -22 0
SET_FIDUCIAL_ERROR 1303605122 ROTATOR 1  -4
SET_FIDUCIAL_ERROR 1303605122 ROTATOR 2  0
AZ_FIDUCIAL 1303605124   23   35271076  35260464   35271162  35260688   137.328    513677  248 72
SET_FIDUCIAL_ERROR 1303605124 AZIMUTH 1  -86
SET_FIDUCIAL_ERROR 1303605124 AZIMUTH 2  -224
ROT_FIDUCIAL 1303605126  -74   43391588  42590828   43818791  40000000    22.611   43391604    322179  -26 0
ROT_FIDUCIAL 1303605127   73   44192380  42590828   44192385  40000000    24.823   43818791    270553  -26 0
SET_FIDUCIAL_ERROR 1303605127 ROTATOR 1  -5
SET_FIDUCIAL_ERROR 1303605127 ROTATOR 2  0
ROT_FIDUCIAL 1303605129  -73   44192380  42590828   44618777  40000000    27.348   44192385    192969  -31 0
ROT_FIDUCIAL 1303605132   72   44993152  42590828   44993158  40000000    29.565   44618777     76067  -31 0
SET_FIDUCIAL_ERROR 1303605132 ROTATOR 1  -6
SET_FIDUCIAL_ERROR 1303605132 ROTATOR 2  0
ms_off 1303605136 ROTATOR
ms_off 1303605136 AZIMUTH
ms_off 1303605137 ALTITUDE
ms_off 1303605144 AZIMUTH
ms_off 1303605145 ALTITUDE
ms_off 1303605145 ROTATOR
ms_on 1303605146 AZIMUTH
ms_on 1303605146 ALTITUDE
ms_on 1303605146 ROTATOR
ROT_FIDUCIAL 1303605153  -72   44993152  42590828   44618711  40000000    27.348   44993098   -194486  -37 0
ROT_FIDUCIAL 1303605154   73   44192380  42590828   44192318  40000000    24.823   44618711   -271806  -37 0
SET_FIDUCIAL_ERROR 1303605154 ROTATOR 1  62
SET_FIDUCIAL_ERROR 1303605154 ROTATOR 2  0
ROT_FIDUCIAL 1303605156  -73   44192380  42590828   43818789  40000000    22.611   44192318   -323519  25 0
ROT_FIDUCIAL 1303605157   74   43391588  42590828   43391594  40000000    20.082   43818789   -337778  25 0
SET_FIDUCIAL_ERROR 1303605157 ROTATOR 1  -6
SET_FIDUCIAL_ERROR 1303605157 ROTATOR 2  0
ROT_FIDUCIAL 1303605158  -74   43391588  42590828   43018783  40000000    17.874   43391594   -337778  19 0
ROT_FIDUCIAL 1303605159   75   42590828  42590828   42590809  40000000    15.340   43018783   -337778  19 0
SET_FIDUCIAL_ERROR 1303605159 ROTATOR 1  19
SET_FIDUCIAL_ERROR 1303605160 ROTATOR 2  0
ROT_FIDUCIAL 1303605160  -75   42590828  42590828   42218851  40000000    13.138   42590809   -337778  38 0
ROT_FIDUCIAL 1303605162   76   41790044  42590828   41790041  40000000    10.599   42218851   -337778  38 0
SET_FIDUCIAL_ERROR 1303605162 ROTATOR 1  3
SET_FIDUCIAL_ERROR 1303605162 ROTATOR 2  0
ROT_FIDUCIAL 1303605163  -76   41790044  42590828   41418887  40000000     8.401   41790041   -334447  41 0
ROT_FIDUCIAL 1303605164   77   40989328  42590828   40989341  40000000     5.858   41418887   -287111  41 0
SET_FIDUCIAL_ERROR 1303605164 ROTATOR 1  -13
SET_FIDUCIAL_ERROR 1303605164 ROTATOR 2  0
ROT_FIDUCIAL 1303605166  -77   40989328  42590828   40618918  40000000     3.665   40989341   -227208  28 0
ROT_FIDUCIAL 1303605168   78   40188496  42590828   40188513  40000000     1.116   40618918   -123763  28 0
SET_FIDUCIAL_ERROR 1303605168 ROTATOR 1  -17
SET_FIDUCIAL_ERROR 1303605168 ROTATOR 2  0
AZ_FIDUCIAL 1303605169   22   31414462  31406532   31414796  31406677   122.314   -184924  162 -152
SET_FIDUCIAL_ERROR 1303605169 AZIMUTH 1  -334
SET_FIDUCIAL_ERROR 1303605169 AZIMUTH 2  -145
ms_off 1303605173 ROTATOR
ms_off 1303605173 AZIMUTH
ms_off 1303605173 ALTITUDE
ms_off 1303605178 AZIMUTH
ms_off 1303605179 ALTITUDE
ms_off 1303605179 ROTATOR
ms_on 1303605179 AZIMUTH
ms_on 1303605179 ALTITUDE
ms_on 1303605179 ROTATOR
ALT_FIDUCIAL 1303605188    6   22827784  22814872   22827809  22814867    88.929      -9330   -114171  0 0
SET_FIDUCIAL_ERROR 1303605188 ALTITUDE 1  -25
SET_FIDUCIAL_ERROR 1303605188 ALTITUDE 2  5
ALT_FIDUCIAL 1303605201    5   19418852  19408292   19418789  19408239    77.172      -6915   -385273  -25 5
SET_FIDUCIAL_ERROR 1303605201 ALTITUDE 1  63
SET_FIDUCIAL_ERROR 1303605201 ALTITUDE 2  53
ALT_FIDUCIAL 1303605211    4   15533330  15525427   15533346  15525432    61.521      -3700   -385713  38 58
SET_FIDUCIAL_ERROR 1303605211 ALTITUDE 1  -16
SET_FIDUCIAL_ERROR 1303605211 ALTITUDE 2  -5
ms_off 1303605232 AZIMUTH
ms_off 1303605232 ALTITUDE
ms_off 1303605232 ROTATOR
ms_off 1303605311 AZIMUTH
UPDATE_ENCODER 1303605311 AZIMUTH 1  31077495  -172         0
UPDATE_ENCODER 1303605311 AZIMUTH 2  31069803  -297         0
ms_off 1303605312 ALTITUDE
UPDATE_ENCODER 1303605313 ALTITUDE 1  11609339  22         0
UPDATE_ENCODER 1303605313 ALTITUDE 2  11604108  53         0
ms_off 1303605314 ROTATOR
UPDATE_ENCODER 1303605314 ROTATOR 1  10  11         0
UPDATE_ENCODER 1303605314 ROTATOR 2  0  0         0
ms_off 1303605323 AZIMUTH
ms_off 1303605323 ALTITUDE
ms_off 1303605324 ROTATOR
ms_on 1303605324 AZIMUTH
ms_on 1303605324 ALTITUDE
ms_on 1303605324 ROTATOR
ms_off 1303605355 AZIMUTH
ms_off 1303605355 ALTITUDE
ms_off 1303605355 ROTATOR
ms_off 1303605359 AZIMUTH
ms_off 1303605359 ALTITUDE
ms_off 1303605359 ROTATOR
ms_off 1303605360 AZIMUTH
ms_off 1303605360 ALTITUDE
ms_off 1303605360 ROTATOR
