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

initialTime   1293226155

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 1293226155 AZIMUTH
ms_off 1293226155 ALTITUDE
ms_off 1293226155 ROTATOR
ms_off 1293226155 AZIMUTH
ms_off 1293226156 ALTITUDE
ms_off 1293226156 ROTATOR
ms_off 1293231086 AZIMUTH
UPDATE_ENCODER 1293231087 AZIMUTH 1  31076740  257         0
UPDATE_ENCODER 1293231087 AZIMUTH 2  31068994  36         0
ms_off 1293231088 ALTITUDE
UPDATE_ENCODER 1293231088 ALTITUDE 1  7714668  133         0
UPDATE_ENCODER 1293231088 ALTITUDE 2  7712120  215         0
ms_off 1293231089 ROTATOR
UPDATE_ENCODER 1293231090 ROTATOR 1  7185  -129         0
UPDATE_ENCODER 1293231090 ROTATOR 2  -18511531  0         0
ms_off 1293231105 AZIMUTH
ms_off 1293231105 ALTITUDE
ms_off 1293231105 ROTATOR
ms_on 1293231105 AZIMUTH
ms_on 1293231105 ALTITUDE
ms_on 1293231106 ROTATOR
ALT_FIDUCIAL 1293231129    3   11869351  11863870   11869416  11864012    45.090       -325    385714  0 0
SET_FIDUCIAL_ERROR 1293231129 ALTITUDE 1  -65
SET_FIDUCIAL_ERROR 1293231129 ALTITUDE 2  -142
ALT_FIDUCIAL 1293231138    4   15533194  15525190   15533283  15525290    59.019      -3186    385714  -65 -142
SET_FIDUCIAL_ERROR 1293231138 ALTITUDE 1  -89
SET_FIDUCIAL_ERROR 1293231138 ALTITUDE 2  -100
ALT_FIDUCIAL 1293231148    5   19418678  19408000   19418763  19408073    74.651      -6397    385100  -154 -242
SET_FIDUCIAL_ERROR 1293231148 ALTITUDE 1  -85
SET_FIDUCIAL_ERROR 1293231148 ALTITUDE 2  -73
ALT_FIDUCIAL 1293231162    6   22827596  22814596   22827483  22814514    88.209      -9182    113400  -239 -315
SET_FIDUCIAL_ERROR 1293231162 ALTITUDE 1  113
SET_FIDUCIAL_ERROR 1293231162 ALTITUDE 2  82
ms_off 1293231169 ROTATOR
ms_off 1293231169 AZIMUTH
ms_off 1293231169 ALTITUDE
ms_off 1293231184 AZIMUTH
ms_off 1293231184 ALTITUDE
ms_off 1293231185 ROTATOR
ms_on 1293231185 AZIMUTH
ms_on 1293231185 ALTITUDE
ms_on 1293231185 ROTATOR
ROT_FIDUCIAL 1293231193  -78   40188568  42590828   40618969  21488469     3.665   40188566    228792  0 0
ROT_FIDUCIAL 1293231195   77   40989304  42590828   40989324  21488469     5.858   40618969    289222  0 0
SET_FIDUCIAL_ERROR 1293231195 ROTATOR 1  -20
SET_FIDUCIAL_ERROR 1293231195 ROTATOR 2  0
ROT_FIDUCIAL 1293231196  -77   40989304  42590828   41418865  21488469     8.401   40989324    334900  -20 0
ROT_FIDUCIAL 1293231197   76   41790040  42590828   41790057  21488469    10.599   41418865    337778  -20 0
SET_FIDUCIAL_ERROR 1293231197 ROTATOR 1  -17
SET_FIDUCIAL_ERROR 1293231197 ROTATOR 2  0
ROT_FIDUCIAL 1293231199  -76   41790040  42590828   42218829  21488469    13.138   41790057    311389  -37 0
AZ_FIDUCIAL 1293231200   21   27561724  27556338   27561958  27556527   107.314   -513667  0 0
SET_FIDUCIAL_ERROR 1293231200 AZIMUTH 1  -234
SET_FIDUCIAL_ERROR 1293231200 AZIMUTH 2  -189
ROT_FIDUCIAL 1293231200   75   42590828  42590828   42590820  21488469    15.340   42218829    256764  -37 0
SET_FIDUCIAL_ERROR 1293231200 ROTATOR 1  8
SET_FIDUCIAL_ERROR 1293231200 ROTATOR 2  0
ROT_FIDUCIAL 1293231202  -75   42590828  42590828   43018809  21488469    17.875   42590820    172847  -29 0
AZ_FIDUCIAL 1293231209   20   23703472  23700836   23703828  23701076    92.293   -244634  -234 -189
SET_FIDUCIAL_ERROR 1293231209 AZIMUTH 1  -356
SET_FIDUCIAL_ERROR 1293231209 AZIMUTH 2  -240
ms_off 1293231214 AZIMUTH
ms_off 1293231214 ALTITUDE
ms_off 1293231214 ROTATOR
ms_off 1293231238 AZIMUTH
ms_off 1293231238 ALTITUDE
ms_off 1293231238 ROTATOR
ms_on 1293231239 AZIMUTH
ms_on 1293231239 ALTITUDE
ms_on 1293231239 ROTATOR
AZ_FIDUCIAL 1293231246   20   23703472  23700836   23703119  23700545    92.290    246560  -590 -429
SET_FIDUCIAL_ERROR 1293231247 AZIMUTH 1  353
SET_FIDUCIAL_ERROR 1293231247 AZIMUTH 2  291
ROT_FIDUCIAL 1293231248   75   42590828  42590828   42590788  21488469    15.340   43018783   -258347  -29 0
SET_FIDUCIAL_ERROR 1293231248 ROTATOR 1  40
SET_FIDUCIAL_ERROR 1293231248 ROTATOR 2  0
ROT_FIDUCIAL 1293231249  -75   42590828  42590828   42218840  21488469    13.138   42590788   -313458  11 0
ROT_FIDUCIAL 1293231251   76   41790040  42590828   41790051  21488469    10.599   42218840   -337778  11 0
SET_FIDUCIAL_ERROR 1293231251 ROTATOR 1  -11
SET_FIDUCIAL_ERROR 1293231251 ROTATOR 2  0
ROT_FIDUCIAL 1293231252  -76   41790040  42590828   41418848  21488469     8.401   41790051   -334164  0 0
ROT_FIDUCIAL 1293231253   77   40989304  42590828   40989273  21488469     5.858   41418848   -287903  0 0
SET_FIDUCIAL_ERROR 1293231253 ROTATOR 1  31
SET_FIDUCIAL_ERROR 1293231253 ROTATOR 2  0
ROT_FIDUCIAL 1293231254  -77   40989304  42590828   40618966  21488469     3.665   40989273   -227208  31 0
AZ_FIDUCIAL 1293231255   21   27561724  27556338   27561554  27556334   107.313    513668  -237 -138
SET_FIDUCIAL_ERROR 1293231255 AZIMUTH 1  170
SET_FIDUCIAL_ERROR 1293231255 AZIMUTH 2  4
ROT_FIDUCIAL 1293231257   78   40188568  42590828   40188596  21488469     1.117   40618966   -124292  31 0
SET_FIDUCIAL_ERROR 1293231257 ROTATOR 1  -28
SET_FIDUCIAL_ERROR 1293231257 ROTATOR 2  0
ms_off 1293231267 ROTATOR
ms_off 1293231267 AZIMUTH
ms_off 1293231267 ALTITUDE
ms_off 1293231319 AZIMUTH
ms_off 1293231319 ALTITUDE
ms_off 1293231319 ROTATOR
ms_off 1293231320 AZIMUTH
ms_off 1293231320 ALTITUDE
ms_off 1293231320 ROTATOR
ms_off 1293231472 AZIMUTH
UPDATE_ENCODER 1293231472 AZIMUTH 1  31076755  -67         0
UPDATE_ENCODER 1293231472 AZIMUTH 2  31069006  -134         0
ms_off 1293231474 ALTITUDE
UPDATE_ENCODER 1293231474 ALTITUDE 1  23142771  -126         0
UPDATE_ENCODER 1293231474 ALTITUDE 2  23129543  -233         0
ms_off 1293231475 ROTATOR
UPDATE_ENCODER 1293231476 ROTATOR 1  12313  3         0
UPDATE_ENCODER 1293231476 ROTATOR 2  -18511531  0         0
ms_off 1293231481 AZIMUTH
ms_off 1293231481 ALTITUDE
ms_off 1293231481 ROTATOR
ms_on 1293231482 AZIMUTH
ms_on 1293231482 ALTITUDE
ms_on 1293231482 ROTATOR
ALT_FIDUCIAL 1293231490    6   22827596  22814596   22827505  22814465    89.139      -9373   -114171  0 0
SET_FIDUCIAL_ERROR 1293231490 ALTITUDE 1  91
SET_FIDUCIAL_ERROR 1293231490 ALTITUDE 2  131
ALT_FIDUCIAL 1293231504    5   19418678  19408000   19418639  19407957    77.538      -6990   -385273  91 131
SET_FIDUCIAL_ERROR 1293231504 ALTITUDE 1  39
SET_FIDUCIAL_ERROR 1293231504 ALTITUDE 2  43
ALT_FIDUCIAL 1293231514    4   15533194  15525190   15533207  15525108    61.745      -3746   -385714  130 174
SET_FIDUCIAL_ERROR 1293231514 ALTITUDE 1  -13
SET_FIDUCIAL_ERROR 1293231514 ALTITUDE 2  82
ms_off 1293231545 ALTITUDE
ms_off 1293231545 ROTATOR
ms_off 1293231545 AZIMUTH
ms_off 1293232116 AZIMUTH
ms_off 1293232116 ALTITUDE
ms_off 1293232116 ROTATOR
ms_off 1293232116 AZIMUTH
ms_off 1293232116 ALTITUDE
ms_off 1293232116 ROTATOR
ms_off 1293232335 AZIMUTH
ms_off 1293232335 ALTITUDE
ms_off 1293232335 ROTATOR
ms_off 1293232335 AZIMUTH
ms_off 1293232336 ALTITUDE
ms_off 1293232336 ROTATOR
ms_off 1293232524 AZIMUTH
ms_off 1293232524 ALTITUDE
ms_off 1293232524 ROTATOR
ms_off 1293232525 AZIMUTH
ms_off 1293232525 ALTITUDE
ms_off 1293232525 ROTATOR
