version       mcpVersion="$Name: v6_6_15$|Aug 11 2012|01:31:25"  # MCP version
mjd           56249

initialTime   1353197139

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 1353197139 AZIMUTH
UPDATE_ENCODER 1353197140 AZIMUTH 1  31077539  0         0
UPDATE_ENCODER 1353197140 AZIMUTH 2  31070065  0         0
ms_off 1353197141 ALTITUDE
UPDATE_ENCODER 1353197141 ALTITUDE 1  7714330  56         0
UPDATE_ENCODER 1353197141 ALTITUDE 2  7711873  -24         0
ms_off 1353197143 ROTATOR
UPDATE_ENCODER 1353197143 ROTATOR 1  5264  0         0
UPDATE_ENCODER 1353197143 ROTATOR 2  1095918689  0         0
ms_off 1353197148 AZIMUTH
ms_off 1353197148 ALTITUDE
ms_off 1353197149 ROTATOR
ms_on 1353197149 AZIMUTH
ms_on 1353197149 ALTITUDE
ms_on 1353197149 ROTATOR
ALT_FIDUCIAL 1353197172    3   11869558  11864275   11869532  11864312    44.516       -207    385714  0 0
SET_FIDUCIAL_ERROR 1353197172 ALTITUDE 1  26
SET_FIDUCIAL_ERROR 1353197172 ALTITUDE 2  -37
ALT_FIDUCIAL 1353197181    4   15533577  15525887   15533606  15525886    58.429      -3065    385714  26 -37
SET_FIDUCIAL_ERROR 1353197182 ALTITUDE 1  -29
SET_FIDUCIAL_ERROR 1353197182 ALTITUDE 2  1
ALT_FIDUCIAL 1353197192    5   19419298  19409032   19419287  19409034    74.174      -6299    385037  -3 -36
SET_FIDUCIAL_ERROR 1353197192 ALTITUDE 1  11
SET_FIDUCIAL_ERROR 1353197192 ALTITUDE 2  -2
ALT_FIDUCIAL 1353197205    6   22828328  22815780   22828279  22815743    88.530      -9248    113268  8 -38
SET_FIDUCIAL_ERROR 1353197205 ALTITUDE 1  49
SET_FIDUCIAL_ERROR 1353197205 ALTITUDE 2  37
ms_off 1353197212 AZIMUTH
ms_off 1353197212 ALTITUDE
ms_off 1353197212 ROTATOR
ms_off 1353197216 AZIMUTH
ms_off 1353197216 ALTITUDE
ms_off 1353197216 ROTATOR
ms_on 1353197216 AZIMUTH
ms_on 1353197216 ALTITUDE
ms_on 1353197217 ROTATOR
ROT_FIDUCIAL 1353197225  -77   40989248  42722692   40618863 1136139206     3.664   40189274    228792  0 0
ROT_FIDUCIAL 1353197226   77   40989248  42722692   40989255 1136143030     5.857   40618863    289222  0 0
SET_FIDUCIAL_ERROR 1353197226 ROTATOR 1  -7
SET_FIDUCIAL_ERROR 1353197226 ROTATOR 2  0
ROT_FIDUCIAL 1353197228  -77   40989248  42722692   41418853 1136146589     8.401   40989255    334986  -7 0
ROT_FIDUCIAL 1353197229   76   41790032  42590904   41790032 1136149824    10.599   41418853    337778  -7 0
ROT_FIDUCIAL 1353197230  -76   41790032  42590904   42218816 1136153757    13.138   41790032    337778  -7 0
ROT_FIDUCIAL 1353197231   75   42590828  42590828   42590812 1136156643    15.340   42218816    337778  -7 0
SET_FIDUCIAL_ERROR 1353197231 ROTATOR 1  16
SET_FIDUCIAL_ERROR 1353197231 ROTATOR 2  0
ROT_FIDUCIAL 1353197233  -75   42590828  42590828   43018808 1136160718    17.875   42590812    337778  9 0
ROT_FIDUCIAL 1353197234   74   43391612  42591488   43391600 1136164077    20.082   43018808    337778  9 0
SET_FIDUCIAL_ERROR 1353197234 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1353197234 ROTATOR 2  0
ROT_FIDUCIAL 1353197235  -74   43391612  42591488   43818807 1136167836    22.611   43391600    337778  21 0
ROT_FIDUCIAL 1353197236   73   44192412  42592040   44192403 1136171047    24.823   43818807    337778  21 0
SET_FIDUCIAL_ERROR 1353197236 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1353197236 ROTATOR 2  0
ROT_FIDUCIAL 1353197237  -73   44192412  42592040   44618800 1136175057    27.348   44192403    325576  30 0
ROT_FIDUCIAL 1353197238   72   44993196  42592296   44993193 1136179174    29.565   44618800    277347  30 0
SET_FIDUCIAL_ERROR 1353197239 ROTATOR 1  3
SET_FIDUCIAL_ERROR 1353197239 ROTATOR 2  0
ROT_FIDUCIAL 1353197240  -72   44993196  42592296   45418794 1136184450    32.085   44993193    202667  33 0
ROT_FIDUCIAL 1353197243   71   45793984  42592432   45793982 1136191405    34.306   45418794     97375  33 0
SET_FIDUCIAL_ERROR 1353197243 ROTATOR 1  2
SET_FIDUCIAL_ERROR 1353197243 ROTATOR 2  0
AZ_FIDUCIAL 1353197248   19   19853640  19853640   19854309  19854279    77.302   -244961  0 0
ms_off 1353197253 AZIMUTH
ms_off 1353197253 ALTITUDE
ms_off 1353197253 ROTATOR
SET_FIDUCIAL_ERROR 1353197265 AZIMUTH 1  -669
SET_FIDUCIAL_ERROR 1353197265 AZIMUTH 2  -639
ms_off 1353197268 AZIMUTH
UPDATE_ENCODER 1353197268 AZIMUTH 1  19262412  -669         0
UPDATE_ENCODER 1353197268 AZIMUTH 2  19262816  -639         0
ms_off 1353197269 ALTITUDE
UPDATE_ENCODER 1353197270 ALTITUDE 1  23142814  57         0
UPDATE_ENCODER 1353197270 ALTITUDE 2  23130071  -1         0
ms_off 1353197271 ROTATOR
UPDATE_ENCODER 1353197271 ROTATOR 1  5911109  35         0
UPDATE_ENCODER 1353197271 ROTATOR 2  1096270836  0         0
ms_off 1353197275 AZIMUTH
ms_off 1353197275 ALTITUDE
ms_off 1353197275 ROTATOR
ms_on 1353197275 AZIMUTH
ms_on 1353197276 ALTITUDE
ms_on 1353197276 ROTATOR
AZ_FIDUCIAL 1353197283   19   19853640  19853640   19853278  19853321    77.298    247209  0 0
SET_FIDUCIAL_ERROR 1353197283 AZIMUTH 1  362
SET_FIDUCIAL_ERROR 1353197283 AZIMUTH 2  319
ROT_FIDUCIAL 1353197287  -72   44993196  42592296   44618790 1136301599    27.348   44993185   -327303  0 0
ROT_FIDUCIAL 1353197288   73   44192412  42592040   44192391 1136303829    24.823   44618790   -337778  0 0
SET_FIDUCIAL_ERROR 1353197288 ROTATOR 1  21
SET_FIDUCIAL_ERROR 1353197288 ROTATOR 2  0
ROT_FIDUCIAL 1353197289  -73   44192412  42592040   43818809 1136305829    22.611   44192391   -337778  21 0
ROT_FIDUCIAL 1353197290   74   43391612  42591488   43391612 1136308345    20.082   43818809   -337778  21 0
ROT_FIDUCIAL 1353197291  -74   43391612  42591488   43018832 1136310787    17.875   43391612   -337778  21 0
AZ_FIDUCIAL 1353197292   20   23703644  23701030   23703583  23701060    92.289    513680  362 319
SET_FIDUCIAL_ERROR 1353197292 AZIMUTH 1  61
SET_FIDUCIAL_ERROR 1353197292 AZIMUTH 2  -30
ROT_FIDUCIAL 1353197293   75   42590828  42590828   42590852 1136313640    15.341   43018832   -337778  21 0
SET_FIDUCIAL_ERROR 1353197293 ROTATOR 1  -24
SET_FIDUCIAL_ERROR 1353197293 ROTATOR 2  0
ROT_FIDUCIAL 1353197294  -75   42590828  42590828   42218832 1136316459    13.138   42590852   -337778  -3 0
ROT_FIDUCIAL 1353197295   76   41790032  42590904   41790050 1136319546    10.599   42218832   -337778  -3 0
SET_FIDUCIAL_ERROR 1353197295 ROTATOR 1  -18
SET_FIDUCIAL_ERROR 1353197295 ROTATOR 2  0
ROT_FIDUCIAL 1353197296  -76   41790032  42590904   41418851 1136321855     8.401   41790050   -334358  -21 0
ROT_FIDUCIAL 1353197297   77   40989248  42722692   40989246 1136325275     5.857   41418851   -287639  -21 0
SET_FIDUCIAL_ERROR 1353197297 ROTATOR 1  2
SET_FIDUCIAL_ERROR 1353197297 ROTATOR 2  0
ROT_FIDUCIAL 1353197299  -77   40989248  42722692   40618867 1136328523     3.664   40989246   -227472  -19 0
AZ_FIDUCIAL 1353197300   21   27561746  27556544   27561713  27556513   107.311    513680  423 289
SET_FIDUCIAL_ERROR 1353197300 AZIMUTH 1  33
SET_FIDUCIAL_ERROR 1353197300 AZIMUTH 2  31
ROT_FIDUCIAL 1353197301   78   40188752  42808888   40188480 1136334075     1.116   40618867   -124027  -19 0
ms_off 1353197312 ROTATOR
ms_off 1353197312 AZIMUTH
ms_off 1353197312 ALTITUDE
ms_off 1353197323 AZIMUTH
ms_off 1353197324 ALTITUDE
ms_off 1353197324 ROTATOR
ms_on 1353197324 AZIMUTH
ms_on 1353197324 ALTITUDE
ms_on 1353197324 ROTATOR
ALT_FIDUCIAL 1353197333    6   22828328  22815780   22828212  22815653    89.217      -9389   -114300  0 0
SET_FIDUCIAL_ERROR 1353197333 ALTITUDE 1  116
SET_FIDUCIAL_ERROR 1353197333 ALTITUDE 2  127
ALT_FIDUCIAL 1353197346    5   19419298  19409032   19419276  19409036    76.486      -6774   -385273  116 127
SET_FIDUCIAL_ERROR 1353197346 ALTITUDE 1  22
SET_FIDUCIAL_ERROR 1353197346 ALTITUDE 2  -4
ALT_FIDUCIAL 1353197356    4   15533577  15525887   15533572  15525944    60.771      -3546   -385714  138 123
SET_FIDUCIAL_ERROR 1353197356 ALTITUDE 1  5
SET_FIDUCIAL_ERROR 1353197356 ALTITUDE 2  -57
ALT_FIDUCIAL 1353197366    3   11869558  11864275   11869584  11864388    46.673       -650   -385714  143 66
SET_FIDUCIAL_ERROR 1353197366 ALTITUDE 1  -26
SET_FIDUCIAL_ERROR 1353197366 ALTITUDE 2  -113
ms_off 1353197387 AZIMUTH
ms_off 1353197387 ALTITUDE
ms_off 1353197387 ROTATOR
ms_off 1353197670 AZIMUTH
UPDATE_ENCODER 1353197671 AZIMUTH 1  31077507  456         0
UPDATE_ENCODER 1353197671 AZIMUTH 2  31069961  320         0
ms_off 1353197672 ALTITUDE
UPDATE_ENCODER 1353197672 ALTITUDE 1  7824814  117         0
UPDATE_ENCODER 1353197672 ALTITUDE 2  7822261  -47         0
ms_off 1353197673 ROTATOR
UPDATE_ENCODER 1353197674 ROTATOR 1  10  -19         0
UPDATE_ENCODER 1353197674 ROTATOR 2  1097026169  0         0
ms_off 1353197680 AZIMUTH
ms_off 1353197680 ALTITUDE
ms_off 1353197681 ROTATOR
ms_on 1353197681 AZIMUTH
ms_on 1353197681 ALTITUDE
ms_on 1353197681 ROTATOR
ms_off 1353197688 ALTITUDE
ms_off 1353197688 ROTATOR
ms_off 1353197688 AZIMUTH
