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

initialTime   1289858188

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 1289858188 AZIMUTH
UPDATE_ENCODER 1289858188 AZIMUTH 1  31077605  0         0
UPDATE_ENCODER 1289858188 AZIMUTH 2  31070086  0         0
ms_off 1289858190 ALTITUDE
UPDATE_ENCODER 1289858190 ALTITUDE 1  7712396  98         0
UPDATE_ENCODER 1289858190 ALTITUDE 2  7710075  278         0
ms_off 1289858191 ROTATOR
UPDATE_ENCODER 1289858192 ROTATOR 1  -148  0         0
UPDATE_ENCODER 1289858192 ROTATOR 2  -18511531  0         0
ms_off 1289858201 AZIMUTH
ms_off 1289858201 ALTITUDE
ms_off 1289858201 ROTATOR
ms_on 1289858201 AZIMUTH
ms_on 1289858202 ALTITUDE
ms_on 1289858202 ROTATOR
ms_off 1289858204 ROTATOR
ms_off 1289858204 AZIMUTH
ms_off 1289858205 ALTITUDE
ms_off 1289860216 AZIMUTH
UPDATE_ENCODER 1289860216 AZIMUTH 1  31077667  0         0
UPDATE_ENCODER 1289860216 AZIMUTH 2  31070135  0         0
ms_off 1289860218 ALTITUDE
UPDATE_ENCODER 1289860218 ALTITUDE 1  7712997  0         0
UPDATE_ENCODER 1289860218 ALTITUDE 2  7710612  0         0
ms_off 1289860219 ROTATOR
UPDATE_ENCODER 1289860220 ROTATOR 1  5966  0         0
UPDATE_ENCODER 1289860220 ROTATOR 2  -18511531  0         0
ms_off 1289860231 AZIMUTH
ms_off 1289860231 ALTITUDE
ms_off 1289860231 ROTATOR
ms_on 1289860232 AZIMUTH
ms_on 1289860232 ALTITUDE
ms_on 1289860232 ROTATOR
ALT_FIDUCIAL 1289860255    3   11532675  11527858   11869328  11864034    44.472       -198    385714  0 0
ALT_FIDUCIAL 1289860264    4   15533542  15526194   15533230  15525400    58.410      -3061    385714  0 0
SET_FIDUCIAL_ERROR 1289860264 ALTITUDE 1  312
SET_FIDUCIAL_ERROR 1289860264 ALTITUDE 2  794
ALT_FIDUCIAL 1289860274    5   19419140  19409336   19419054  19409041    74.237      -6312    385088  312 794
SET_FIDUCIAL_ERROR 1289860274 ALTITUDE 1  86
SET_FIDUCIAL_ERROR 1289860274 ALTITUDE 2  295
ALT_FIDUCIAL 1289860288    6   22828114  22816110   22827999  22815863    88.671      -9277    112953  398 1089
SET_FIDUCIAL_ERROR 1289860288 ALTITUDE 1  115
SET_FIDUCIAL_ERROR 1289860288 ALTITUDE 2  247
ms_off 1289860295 ROTATOR
ms_off 1289860295 AZIMUTH
ms_off 1289860295 ALTITUDE
ms_off 1289860303 AZIMUTH
ms_off 1289860303 ALTITUDE
ms_off 1289860303 ROTATOR
ms_on 1289860303 AZIMUTH
ms_on 1289860303 ALTITUDE
ms_on 1289860303 ROTATOR
ROT_FIDUCIAL 1289860312  -78   40188552  42590828   40618649  21488469     3.663   40188244    228792  0 0
ROT_FIDUCIAL 1289860313   77   40989296  42590828   40988996  21488469     5.856   40618649    289222  0 0
SET_FIDUCIAL_ERROR 1289860313 ROTATOR 1  300
SET_FIDUCIAL_ERROR 1289860313 ROTATOR 2  0
ROT_FIDUCIAL 1289860315  -77   40989296  42590828   41418824  21488469     8.401   40988996    334900  300 0
ROT_FIDUCIAL 1289860316   76   41790048  42590828   41790010  21488469    10.599   41418824    337778  300 0
SET_FIDUCIAL_ERROR 1289860316 ROTATOR 1  38
SET_FIDUCIAL_ERROR 1289860316 ROTATOR 2  0
ROT_FIDUCIAL 1289860317  -76   41790048  42590828   42218839  21488469    13.138   41790010    311389  338 0
ROT_FIDUCIAL 1289860318   75   42590828  42590828   42590839  21488469    15.340   42218839    255972  338 0
SET_FIDUCIAL_ERROR 1289860318 ROTATOR 1  -11
SET_FIDUCIAL_ERROR 1289860318 ROTATOR 2  0
ROT_FIDUCIAL 1289860320  -75   42590828  42590828   43018816  21488469    17.875   42590839    172847  327 0
AZ_FIDUCIAL 1289860327   20   23703636  23701062   23704099  23701503    92.291   -244641  0 0
SET_FIDUCIAL_ERROR 1289860327 AZIMUTH 1  -463
SET_FIDUCIAL_ERROR 1289860327 AZIMUTH 2  -441
ms_off 1289860332 ROTATOR
ms_off 1289860332 AZIMUTH
ms_off 1289860332 ALTITUDE
ms_off 1289860351 AZIMUTH
ms_off 1289860351 ALTITUDE
ms_off 1289860351 ROTATOR
ms_on 1289860352 AZIMUTH
ms_on 1289860352 ALTITUDE
ms_on 1289860352 ROTATOR
AZ_FIDUCIAL 1289860359   20   23703636  23701062   23703279  23700775    92.288    246246  -463 -441
SET_FIDUCIAL_ERROR 1289860359 AZIMUTH 1  357
SET_FIDUCIAL_ERROR 1289860360 AZIMUTH 2  287
ROT_FIDUCIAL 1289860361   75   42590828  42590828   42590827  21488469    15.340   43018814   -258083  327 0
SET_FIDUCIAL_ERROR 1289860361 ROTATOR 1  1
SET_FIDUCIAL_ERROR 1289860361 ROTATOR 2  0
ROT_FIDUCIAL 1289860362  -75   42590828  42590828   42218821  21488469    13.138   42590827   -313961  328 0
ROT_FIDUCIAL 1289860363   76   41790048  42590828   41790020  21488469    10.599   42218821   -337777  328 0
SET_FIDUCIAL_ERROR 1289860364 ROTATOR 1  28
SET_FIDUCIAL_ERROR 1289860364 ROTATOR 2  0
ROT_FIDUCIAL 1289860365  -76   41790048  42590828   41418866  21488469     8.401   41790020   -334358  356 0
ROT_FIDUCIAL 1289860366   77   40989296  42590828   40989301  21488469     5.858   41418866   -287111  356 0
SET_FIDUCIAL_ERROR 1289860366 ROTATOR 1  -5
SET_FIDUCIAL_ERROR 1289860366 ROTATOR 2  0
ROT_FIDUCIAL 1289860367  -77   40989296  42590828   40618950  21488469     3.665   40989301   -227472  351 0
ROT_FIDUCIAL 1289860370   78   40188552  42590828   40188586  21488469     1.117   40618950   -123764  351 0
SET_FIDUCIAL_ERROR 1289860370 ROTATOR 1  -34
SET_FIDUCIAL_ERROR 1289860370 ROTATOR 2  0
ms_off 1289860380 AZIMUTH
ms_off 1289860380 ALTITUDE
ms_off 1289860380 ROTATOR
ms_off 1289860397 AZIMUTH
ms_off 1289860398 ALTITUDE
ms_off 1289860398 ROTATOR
ms_on 1289860398 AZIMUTH
ms_on 1289860398 ALTITUDE
ms_on 1289860398 ROTATOR
ALT_FIDUCIAL 1289860407    6   22828114  22816110   22827978  22815954    89.202      -9386   -114043  513 1336
SET_FIDUCIAL_ERROR 1289860407 ALTITUDE 1  136
SET_FIDUCIAL_ERROR 1289860407 ALTITUDE 2  156
ALT_FIDUCIAL 1289860420    5   19419140  19409336   19419109  19409473    76.058      -6686   -385302  649 1492
SET_FIDUCIAL_ERROR 1289860420 ALTITUDE 1  31
SET_FIDUCIAL_ERROR 1289860420 ALTITUDE 2  -137
ALT_FIDUCIAL 1289860430    4   15533542  15526194   15533643  15526524    61.745      -3746   -385713  680 1355
SET_FIDUCIAL_ERROR 1289860430 ALTITUDE 1  -101
SET_FIDUCIAL_ERROR 1289860430 ALTITUDE 2  -330
ALT_FIDUCIAL 1289860440    3   11532675  11527858   11869712  11864875    47.675       -856   -385714  579 1025
ms_off 1289860461 ROTATOR
ms_off 1289860461 AZIMUTH
ms_off 1289860461 ALTITUDE
