version       mcpVersion="$Name: v6_6_16$|Nov 27 2012|20:44:05"  # MCP version
mjd           56491

initialTime   1374096805

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 1374096805 AZIMUTH
UPDATE_ENCODER 1374096805 AZIMUTH 1  31077554  -107         0
UPDATE_ENCODER 1374096805 AZIMUTH 2  31070056  -96         0
ms_off 1374096806 ALTITUDE
UPDATE_ENCODER 1374096807 ALTITUDE 1  7715143  -10         0
UPDATE_ENCODER 1374096807 ALTITUDE 2  7712425  -91         0
ms_off 1374096808 ROTATOR
UPDATE_ENCODER 1374096809 ROTATOR 1  9  -2         0
UPDATE_ENCODER 1374096809 ROTATOR 2  -1472216001  0         0
ms_off 1374096815 AZIMUTH
ms_off 1374096816 ALTITUDE
ms_off 1374096816 ROTATOR
ms_on 1374096816 AZIMUTH
ms_on 1374096816 ALTITUDE
ms_on 1374096816 ROTATOR
ms_off 1374096819 ALTITUDE
ms_off 1374096820 ROTATOR
ms_off 1374096820 AZIMUTH
ms_off 1374098437 AZIMUTH
UPDATE_ENCODER 1374098438 AZIMUTH 1  31077511  0         0
UPDATE_ENCODER 1374098438 AZIMUTH 2  31069993  0         0
ms_off 1374098439 ALTITUDE
UPDATE_ENCODER 1374098439 ALTITUDE 1  7721266  0         0
UPDATE_ENCODER 1374098440 ALTITUDE 2  7718353  0         0
ms_off 1374098442 ROTATOR
UPDATE_ENCODER 1374098442 ROTATOR 1  5971  0         0
UPDATE_ENCODER 1374098442 ROTATOR 2  -1472357075  0         0
ms_off 1374098447 AZIMUTH
ms_off 1374098447 ALTITUDE
ms_off 1374098447 ROTATOR
ms_on 1374098448 AZIMUTH
ms_on 1374098448 ALTITUDE
ms_on 1374098448 ROTATOR
ALT_FIDUCIAL 1374098471    3   11869553  11864118   11869451  11863830    44.935       -293    385714  0 0
SET_FIDUCIAL_ERROR 1374098472 ALTITUDE 1  102
SET_FIDUCIAL_ERROR 1374098473 ALTITUDE 2  288
ALT_FIDUCIAL 1374098480    4   15533524  15525594   15533552  15525807    58.653      -3111    385714  102 288
SET_FIDUCIAL_ERROR 1374098480 ALTITUDE 1  -28
SET_FIDUCIAL_ERROR 1374098480 ALTITUDE 2  -213
ALT_FIDUCIAL 1374098490    5   19419260  19408680   19419266  19408874    74.383      -6342    385072  74 75
SET_FIDUCIAL_ERROR 1374098491 ALTITUDE 1  -6
SET_FIDUCIAL_ERROR 1374098491 ALTITUDE 2  -194
ALT_FIDUCIAL 1374098504    6   22828272  22815332   22828252  22815481    87.858      -9110    113027  68 -119
SET_FIDUCIAL_ERROR 1374098504 ALTITUDE 1  20
SET_FIDUCIAL_ERROR 1374098504 ALTITUDE 2  -149
ms_off 1374098511 AZIMUTH
ms_off 1374098511 ALTITUDE
ms_off 1374098511 ROTATOR
ms_off 1374098524 AZIMUTH
ms_off 1374098524 ALTITUDE
ms_off 1374098524 ROTATOR
ms_on 1374098525 AZIMUTH
ms_on 1374098525 ALTITUDE
ms_on 1374098525 ROTATOR
ROT_FIDUCIAL 1374098533  -78   40188768  42644576   40618828 -1432343926     3.664   40188453    228792  0 0
ROT_FIDUCIAL 1374098535   77   40989256  42630048   40989211 -1432343622     5.857   40618828    289486  0 0
SET_FIDUCIAL_ERROR 1374098535 ROTATOR 1  45
SET_FIDUCIAL_ERROR 1374098535 ROTATOR 2  0
ROT_FIDUCIAL 1374098536  -77   40989256  42630048   41418859 -1432343370     8.401   40989211    334986  45 0
ROT_FIDUCIAL 1374098537   76   41790032  42592404   41790051 -1432343080    10.599   41418859    337778  45 0
SET_FIDUCIAL_ERROR 1374098538 ROTATOR 1  -19
SET_FIDUCIAL_ERROR 1374098538 ROTATOR 2  0
ROT_FIDUCIAL 1374098538  -76   41790032  42592404   42218816 -1432342881    13.138   41790051    337778  26 0
ROT_FIDUCIAL 1374098539   75   42590828  42590828   42590811 -1432342673    15.340   42218816    337778  26 0
SET_FIDUCIAL_ERROR 1374098541 ROTATOR 1  17
SET_FIDUCIAL_ERROR 1374098541 ROTATOR 2  0
BAD_DIO316 1374098541 10
ROT_FIDUCIAL 1374098543  -74   43391608  42588824   43818803 -1432342073    22.611   43391601    337778  43 0
ROT_FIDUCIAL 1374098544   73   44192400  42586884   44192389 -1432341941    24.823   43818803    337778  43 0
SET_FIDUCIAL_ERROR 1374098545 ROTATOR 1  11
SET_FIDUCIAL_ERROR 1374098545 ROTATOR 2  0
ROT_FIDUCIAL 1374098546  -73   44192400  42586884   44618796 -1432341723    27.348   44192389    325395  54 0
ROT_FIDUCIAL 1374098547 -114   11359240  42692484   45078191 -1432341556    30.068   44618796    263889  54 0
ROT_FIDUCIAL 1374098550  114   11359240  42692484   45418782 -1432341308    32.085   45078191    202667  54 0
ROT_FIDUCIAL 1374098551   71   45793968  42582544   45793977 -1432341034    34.306   45418782     97375  54 0
SET_FIDUCIAL_ERROR 1374098553 ROTATOR 1  -9
SET_FIDUCIAL_ERROR 1374098553 ROTATOR 2  0
AZ_FIDUCIAL 1374098556   19   19853640  19853640   19854027  19853915    77.301   -244320  0 0
SET_FIDUCIAL_ERROR 1374098556 AZIMUTH 1  -387
SET_FIDUCIAL_ERROR 1374098556 AZIMUTH 2  -275
ms_off 1374098561 ALTITUDE
ms_off 1374098561 ROTATOR
ms_off 1374098561 AZIMUTH
ms_off 1374098571 AZIMUTH
ms_off 1374098571 ALTITUDE
ms_off 1374098571 ROTATOR
ms_on 1374098571 AZIMUTH
ms_on 1374098571 ALTITUDE
ms_on 1374098571 ROTATOR
AZ_FIDUCIAL 1374098579   19   19853640  19853640   19853242  19853299    77.298    246567  -387 -275
SET_FIDUCIAL_ERROR 1374098579 AZIMUTH 1  398
SET_FIDUCIAL_ERROR 1374098580 AZIMUTH 2  341
ROT_FIDUCIAL 1374098582  -72   44993188  42584728   44618807 -1432335721    27.348   44993210   -327303  45 0
ROT_FIDUCIAL 1374098584   73   44192400  42586884   44192412 -1432335289    24.823   44618807   -337778  45 0
SET_FIDUCIAL_ERROR 1374098584 ROTATOR 1  -12
SET_FIDUCIAL_ERROR 1374098584 ROTATOR 2  0
ROT_FIDUCIAL 1374098585  -73   44192400  42586884   43818817 -1432335104    22.611   44192412   -337778  33 0
ROT_FIDUCIAL 1374098586   74   43391608  42588824   43391615 -1432334815    20.082   43818817   -337778  33 0
SET_FIDUCIAL_ERROR 1374098586 ROTATOR 1  -7
SET_FIDUCIAL_ERROR 1374098586 ROTATOR 2  0
ROT_FIDUCIAL 1374098587  -74   43391608  42588824   43018811 -1432334618    17.875   43391615   -337778  26 0
BAD_DIO316 1374098590 10
ROT_FIDUCIAL 1374098595  -77   40989256  42630048   40618880 -1432333518     3.664   40989271   -227472  26 0
AZ_FIDUCIAL 1374098596   21   27561732  27556556   27561744  27556676   107.311    513681  11 66
SET_FIDUCIAL_ERROR 1374098596 AZIMUTH 1  -12
SET_FIDUCIAL_ERROR 1374098596 AZIMUTH 2  -120
ROT_FIDUCIAL 1374098597   78   40188768  42644576   40188489 -1432333140     1.116   40618880   -124555  26 0
ms_off 1374098608 ROTATOR
ms_off 1374098608 AZIMUTH
ms_off 1374098608 ALTITUDE
ms_off 1374098610 AZIMUTH
ms_off 1374098610 ALTITUDE
ms_off 1374098610 ROTATOR
ms_on 1374098610 AZIMUTH
ms_on 1374098611 ALTITUDE
ms_on 1374098611 ROTATOR
ALT_FIDUCIAL 1374098619    6   22828272  22815332   22828170  22815217    88.740      -9291   -113914  88 -268
SET_FIDUCIAL_ERROR 1374098620 ALTITUDE 1  102
SET_FIDUCIAL_ERROR 1374098620 ALTITUDE 2  115
ALT_FIDUCIAL 1374098633    5   19419260  19408680   19419175  19408484    77.109      -6902   -385273  190 -153
SET_FIDUCIAL_ERROR 1374098633 ALTITUDE 1  85
SET_FIDUCIAL_ERROR 1374098633 ALTITUDE 2  196
ALT_FIDUCIAL 1374098643    4   15533524  15525594   15533527  15525434    61.506      -3697   -385713  275 43
SET_FIDUCIAL_ERROR 1374098643 ALTITUDE 1  -3
SET_FIDUCIAL_ERROR 1374098643 ALTITUDE 2  160
ALT_FIDUCIAL 1374098652    3   11869553  11864118   11869560  11863981    47.724       -866   -385714  272 203
SET_FIDUCIAL_ERROR 1374098652 ALTITUDE 1  -7
SET_FIDUCIAL_ERROR 1374098652 ALTITUDE 2  137
ms_off 1374098674 AZIMUTH
ms_off 1374098674 ALTITUDE
ms_off 1374098674 ROTATOR
