version       mcpVersion="$Name: v6_6_5$|Apr  1 2010|16:44:54"  # MCP version
mjd           55549

initialTime   1292713423

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 1292713423 AZIMUTH
UPDATE_ENCODER 1292713423 AZIMUTH 1  31076791  3         0
UPDATE_ENCODER 1292713423 AZIMUTH 2  31068995  -101         0
ms_off 1292713425 ALTITUDE
UPDATE_ENCODER 1292713425 ALTITUDE 1  7725479  -77         0
UPDATE_ENCODER 1292713425 ALTITUDE 2  7722895  -116         0
ms_off 1292713426 ROTATOR
UPDATE_ENCODER 1292713427 ROTATOR 1  4984  15         0
UPDATE_ENCODER 1292713427 ROTATOR 2  -18511531  0         0
ms_off 1292713433 AZIMUTH
ms_off 1292713433 ALTITUDE
ms_off 1292713434 ROTATOR
ms_on 1292713434 AZIMUTH
ms_on 1292713434 ALTITUDE
ms_on 1292713434 ROTATOR
ALT_FIDUCIAL 1292713457    3   11869351  11863870   11869406  11863984    44.691       -243    385714  0 0
SET_FIDUCIAL_ERROR 1292713457 ALTITUDE 1  -55
SET_FIDUCIAL_ERROR 1292713457 ALTITUDE 2  -114
ALT_FIDUCIAL 1292713466    4   15533194  15525190   15533274  15525266    58.619      -3104    385714  -55 -114
SET_FIDUCIAL_ERROR 1292713466 ALTITUDE 1  -80
SET_FIDUCIAL_ERROR 1292713466 ALTITUDE 2  -76
ALT_FIDUCIAL 1292713477    5   19418678  19408000   19418725  19408012    74.383      -6342    385112  -135 -190
SET_FIDUCIAL_ERROR 1292713477 ALTITUDE 1  -47
SET_FIDUCIAL_ERROR 1292713477 ALTITUDE 2  -12
ALT_FIDUCIAL 1292713490    6   22827596  22814596   22827480  22814507    88.019      -9143    113445  -182 -202
SET_FIDUCIAL_ERROR 1292713490 ALTITUDE 1  116
SET_FIDUCIAL_ERROR 1292713490 ALTITUDE 2  89
ms_off 1292713497 AZIMUTH
ms_off 1292713497 ALTITUDE
ms_off 1292713497 ROTATOR
ms_off 1292713498 AZIMUTH
ms_off 1292713498 ALTITUDE
ms_off 1292713498 ROTATOR
ms_on 1292713498 AZIMUTH
ms_on 1292713499 ALTITUDE
ms_on 1292713499 ROTATOR
ROT_FIDUCIAL 1292713507  -78   40188568  42590828   40619012  21488469     3.665   40188584    229056  0 0
ROT_FIDUCIAL 1292713509   77   40989304  42590828   40989351  21488469     5.858   40619012    289486  0 0
SET_FIDUCIAL_ERROR 1292713509 ROTATOR 1  -47
SET_FIDUCIAL_ERROR 1292713509 ROTATOR 2  0
ROT_FIDUCIAL 1292713510  -77   40989304  42590828   41418851  21488469     8.401   40989351    334986  -47 0
ROT_FIDUCIAL 1292713511   76   41790040  42590828   41790057  21488469    10.599   41418851    337778  -47 0
SET_FIDUCIAL_ERROR 1292713511 ROTATOR 1  -17
SET_FIDUCIAL_ERROR 1292713511 ROTATOR 2  0
ROT_FIDUCIAL 1292713512  -76   41790040  42590828   42218815  21488469    13.138   41790057    337778  -64 0
ROT_FIDUCIAL 1292713513   75   42590828  42590828   42590809  21488469    15.340   42218815    337778  -64 0
SET_FIDUCIAL_ERROR 1292713513 ROTATOR 1  19
SET_FIDUCIAL_ERROR 1292713513 ROTATOR 2  0
ROT_FIDUCIAL 1292713515  -75   42590828  42590828   43018822  21488469    17.875   42590809    337778  -45 0
ROT_FIDUCIAL 1292713516   74   43391608  42590828   43391613  21488469    20.082   43018822    337778  -45 0
SET_FIDUCIAL_ERROR 1292713516 ROTATOR 1  -5
SET_FIDUCIAL_ERROR 1292713516 ROTATOR 2  0
ROT_FIDUCIAL 1292713517  -74   43391608  42590828   43818813  21488469    22.611   43391613    322131  -50 0
ROT_FIDUCIAL 1292713518   73   44192400  42590828   44192409  21488469    24.823   43818813    270486  -50 0
SET_FIDUCIAL_ERROR 1292713518 ROTATOR 1  -9
SET_FIDUCIAL_ERROR 1292713518 ROTATOR 2  0
ROT_FIDUCIAL 1292713520  -73   44192400  42590828   44618784  21488469    27.348   44192409    192639  -59 0
AZ_FIDUCIAL 1292713521   20   23703472  23700836   23704075  23701230    92.293   -513667  0 0
ROT_FIDUCIAL 1292713523   72   44993200  42590828   44993180  21488469    29.565   44618784     76528  -59 0
SET_FIDUCIAL_ERROR 1292713523 ROTATOR 1  20
SET_FIDUCIAL_ERROR 1292713523 ROTATOR 2  0
AZ_FIDUCIAL 1292713529   19   19853640  19853640   19854250  19854026    77.304   -437580  0 0
ms_off 1292713538 ROTATOR
ms_off 1292713538 AZIMUTH
ms_off 1292713538 ALTITUDE
SET_FIDUCIAL_ERROR 1292713548 AZIMUTH 1  -610
SET_FIDUCIAL_ERROR 1292713548 AZIMUTH 2  -386
ms_off 1292713560 AZIMUTH
ms_off 1292713560 ALTITUDE
ms_off 1292713561 ROTATOR
ms_on 1292713561 AZIMUTH
ms_on 1292713561 ALTITUDE
ms_on 1292713561 ROTATOR
ROT_FIDUCIAL 1292713568  -72   44993200  42590828   44618777  21488469    27.348   44993177   -194750  -39 0
ROT_FIDUCIAL 1292713570   73   44192400  42590828   44192388  21488469    24.823   44618777   -272597  -39 0
SET_FIDUCIAL_ERROR 1292713570 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1292713570 ROTATOR 2  0
ROT_FIDUCIAL 1292713572  -73   44192400  42590828   43818798  21488469    22.611   44192388   -323129  -27 0
AZ_FIDUCIAL 1292713572   19   19853640  19853640   19853219  19853286    77.300    439507  -610 -386
SET_FIDUCIAL_ERROR 1292713572 AZIMUTH 1  421
SET_FIDUCIAL_ERROR 1292713572 AZIMUTH 2  354
ROT_FIDUCIAL 1292713573   74   43391608  42590828   43391591  21488469    20.082   43818798   -337778  -27 0
SET_FIDUCIAL_ERROR 1292713573 ROTATOR 1  17
SET_FIDUCIAL_ERROR 1292713573 ROTATOR 2  0
ROT_FIDUCIAL 1292713574  -74   43391608  42590828   43018817  21488469    17.875   43391591   -337778  -10 0
ROT_FIDUCIAL 1292713575   75   42590828  42590828   42590815  21488469    15.340   43018817   -337778  -10 0
SET_FIDUCIAL_ERROR 1292713575 ROTATOR 1  13
SET_FIDUCIAL_ERROR 1292713575 ROTATOR 2  0
ROT_FIDUCIAL 1292713576  -75   42590828  42590828   42218844  21488469    13.138   42590815   -337778  3 0
ROT_FIDUCIAL 1292713578   76   41790040  42590828   41790077  21488469    10.599   42218844   -337778  3 0
SET_FIDUCIAL_ERROR 1292713578 ROTATOR 1  -37
SET_FIDUCIAL_ERROR 1292713578 ROTATOR 2  0
ROT_FIDUCIAL 1292713579  -76   41790040  42590828   41418833  21488469     8.401   41790077   -334358  -34 0
AZ_FIDUCIAL 1292713580   20   23703472  23700836   23703578  23700963    92.292    513667  -189 -32
SET_FIDUCIAL_ERROR 1292713580 AZIMUTH 1  -106
SET_FIDUCIAL_ERROR 1292713580 AZIMUTH 2  -127
ROT_FIDUCIAL 1292713580   77   40989304  42590828   40989276  21488469     5.858   41418833   -287903  -34 0
SET_FIDUCIAL_ERROR 1292713580 ROTATOR 1  28
SET_FIDUCIAL_ERROR 1292713580 ROTATOR 2  0
ROT_FIDUCIAL 1292713582  -77   40989304  42590828   40618979  21488469     3.665   40989276   -226681  -6 0
ROT_FIDUCIAL 1292713584   78   40188568  42590828   40188575  21488469     1.117   40618979   -124556  -6 0
SET_FIDUCIAL_ERROR 1292713584 ROTATOR 1  -7
SET_FIDUCIAL_ERROR 1292713584 ROTATOR 2  0
AZ_FIDUCIAL 1292713587   21   27561724  27556338   27561561  27556301   107.313    513667  -295 -159
SET_FIDUCIAL_ERROR 1292713587 AZIMUTH 1  163
SET_FIDUCIAL_ERROR 1292713587 AZIMUTH 2  37
ms_off 1292713600 AZIMUTH
ms_off 1292713600 ROTATOR
ms_off 1292713600 ALTITUDE
ms_off 1292713604 AZIMUTH
ms_off 1292713604 ALTITUDE
ms_off 1292713604 ROTATOR
ms_on 1292713605 AZIMUTH
ms_on 1292713605 ALTITUDE
ms_on 1292713605 ROTATOR
ALT_FIDUCIAL 1292713613    6   22827596  22814596   22827543  22814519    89.153      -9376   -114171  -66 -113
SET_FIDUCIAL_ERROR 1292713613 ALTITUDE 1  53
SET_FIDUCIAL_ERROR 1292713613 ALTITUDE 2  77
ALT_FIDUCIAL 1292713627    5   19418678  19408000   19418594  19407935    77.572      -6997   -385374  -13 -36
SET_FIDUCIAL_ERROR 1292713627 ALTITUDE 1  84
SET_FIDUCIAL_ERROR 1292713627 ALTITUDE 2  65
ALT_FIDUCIAL 1292713637    4   15533194  15525190   15533215  15525153    61.842      -3766   -385714  71 29
SET_FIDUCIAL_ERROR 1292713637 ALTITUDE 1  -21
SET_FIDUCIAL_ERROR 1292713637 ALTITUDE 2  37
ms_off 1292713668 AZIMUTH
ms_off 1292713668 ALTITUDE
ms_off 1292713668 ROTATOR
