version       mcpVersion="$Name: v6_6_18$|Feb 14 2014|00:10:08"  # MCP version
mjd           56844

initialTime   1404587315

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;

ALT_FIDUCIAL 1404587315    6   22828312  22815324   22828274  22816113    89.007      -9346   -125938  92 955
ALT_FIDUCIAL 1404587327    5   19419312  19408660   19419242  19409266    76.822      -6843   -350003  92 955
ALT_FIDUCIAL 1404587338    4   15533586  15525578   15533530  15525861    61.234      -3641   -350003  92 955
ALT_FIDUCIAL 1404587349    3   11869600  11864108   11869547  11864042    47.422       -804   -350003  92 955
ms_off 1404604419 AZIMUTH
UPDATE_ENCODER 1404604419 AZIMUTH 1  31077127  0         0
UPDATE_ENCODER 1404604419 AZIMUTH 2  31069651  0         0
ms_off 1404604421 ALTITUDE
UPDATE_ENCODER 1404604421 ALTITUDE 1  7714720  92         0
UPDATE_ENCODER 1404604421 ALTITUDE 2  7711759  955         0
ms_off 1404604422 ROTATOR
UPDATE_ENCODER 1404604423 ROTATOR 1  5076  0         0
UPDATE_ENCODER 1404604423 ROTATOR 2  338126991  0         0
ms_off 1404604481 AZIMUTH
ms_off 1404604481 ALTITUDE
ms_off 1404604481 ROTATOR
ms_on 1404604481 AZIMUTH
SET_FIDUCIAL_ERROR 1404604481 ALTITUDE 1  53
SET_FIDUCIAL_ERROR 1404604481 ALTITUDE 2  66
ms_on 1404604481 ALTITUDE
ms_on 1404604481 ROTATOR
ROT_FIDUCIAL 1404604490  -78   40188488  42592480   40618843 378141312     3.664   40188469    228000  0 0
ROT_FIDUCIAL 1404604491   77   40989264  42592336   40989234 378141643     5.857   40618843    289222  0 0
SET_FIDUCIAL_ERROR 1404604491 ROTATOR 1  30
SET_FIDUCIAL_ERROR 1404604491 ROTATOR 2  0
ROT_FIDUCIAL 1404604493  -77   40989264  42592336   41418862 378141798     8.401   40989234    334813  30 0
ROT_FIDUCIAL 1404604494   76   41790048  42590936   41790036 378142005    10.599   41418862    337778  30 0
SET_FIDUCIAL_ERROR 1404604494 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1404604494 ROTATOR 2  0
ROT_FIDUCIAL 1404604495  -76   41790048  42590936   42218833 378142346    13.138   41790036    337778  42 0
ROT_FIDUCIAL 1404604496   75   42590828  42590828   42590829 378142593    15.340   42218833    337778  42 0
SET_FIDUCIAL_ERROR 1404604496 ROTATOR 1  -1
SET_FIDUCIAL_ERROR 1404604496 ROTATOR 2  0
ROT_FIDUCIAL 1404604497  -75   42590828  42590828   43018804 378142765    17.874   42590829    337778  41 0
ROT_FIDUCIAL 1404604499   74   43391608  42590824   43391596 378142986    20.082   43018804    337778  41 0
SET_FIDUCIAL_ERROR 1404604499 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1404604499 ROTATOR 2  0
ROT_FIDUCIAL 1404604500  -74   43391608  42590824   43818798 378143107    22.611   43391596    321430  53 0
ROT_FIDUCIAL 1404604501   73   44192396  42590920   44192383 378143404    24.823   43818798    270643  53 0
SET_FIDUCIAL_ERROR 1404604501 ROTATOR 1  13
SET_FIDUCIAL_ERROR 1404604501 ROTATOR 2  0
ROT_FIDUCIAL 1404604503  -73   44192396  42590920   44618775 378143646    27.348   44192383    193060  66 0
ALT_FIDUCIAL 1404604504    3   11869600  11864108   11869707  11864217    44.102       -122    385714  53 66
SET_FIDUCIAL_ERROR 1404604505 ALTITUDE 1  -107
SET_FIDUCIAL_ERROR 1404604505 ALTITUDE 2  -109
ROT_FIDUCIAL 1404604506   72   44993180  42590872   44993154 378144095    29.565   44618775     76157  66 0
SET_FIDUCIAL_ERROR 1404604506 ROTATOR 1  26
SET_FIDUCIAL_ERROR 1404604506 ROTATOR 2  0
ALT_FIDUCIAL 1404604514    4   15533586  15525578   15533596  15525875    59.656      -3317    385714  -54 -43
SET_FIDUCIAL_ERROR 1404604515 ALTITUDE 1  -10
SET_FIDUCIAL_ERROR 1404604515 ALTITUDE 2  -297
ALT_FIDUCIAL 1404604524    5   19419312  19408660   19419323  19408994    73.424      -6145    384998  -64 -340
SET_FIDUCIAL_ERROR 1404604524 ALTITUDE 1  -11
SET_FIDUCIAL_ERROR 1404604524 ALTITUDE 2  -334
ALT_FIDUCIAL 1404604538    6   22828312  22815324   22828249  22815519    88.053      -9150    112861  -75 -674
SET_FIDUCIAL_ERROR 1404604538 ALTITUDE 1  63
SET_FIDUCIAL_ERROR 1404604538 ALTITUDE 2  -195
ms_off 1404604544 ROTATOR
ms_off 1404604544 AZIMUTH
ms_off 1404604544 ALTITUDE
ms_off 1404604555 AZIMUTH
ms_off 1404604555 ALTITUDE
ms_off 1404604555 ROTATOR
ms_on 1404604555 AZIMUTH
ms_on 1404604555 ALTITUDE
ms_on 1404604556 ROTATOR
AZ_FIDUCIAL 1404604562   22   31414400  31406592   31414536  31406800   122.313    186528  0 0
SET_FIDUCIAL_ERROR 1404604562 AZIMUTH 1  -136
SET_FIDUCIAL_ERROR 1404604562 AZIMUTH 2  -208
ROT_FIDUCIAL 1404604563  -72   44993180  42590872   44618634 378154167    27.347   44993016   -194486  92 0
ROT_FIDUCIAL 1404604565   73   44192396  42590920   44192254 378154360    24.823   44618634   -272070  92 0
SET_FIDUCIAL_ERROR 1404604565 ROTATOR 1  142
SET_FIDUCIAL_ERROR 1404604565 ROTATOR 2  0
ROT_FIDUCIAL 1404604566  -73   44192396  42590920   43818807 378154536    22.611   44192254   -323325  234 0
ROT_FIDUCIAL 1404604568   74   43391608  42590824   43391612 378154818    20.082   43818807   -337778  234 0
SET_FIDUCIAL_ERROR 1404604568 ROTATOR 1  -4
SET_FIDUCIAL_ERROR 1404604568 ROTATOR 2  0
ROT_FIDUCIAL 1404604569  -74   43391608  42590824   43018812 378154949    17.875   43391612   -337778  230 0
ROT_FIDUCIAL 1404604570   75   42590828  42590828   42590827 378155239    15.340   43018812   -337778  230 0
SET_FIDUCIAL_ERROR 1404604570 ROTATOR 1  1
SET_FIDUCIAL_ERROR 1404604570 ROTATOR 2  0
ROT_FIDUCIAL 1404604571  -75   42590828  42590828   42218833 378155436    13.138   42590827   -337778  231 0
ROT_FIDUCIAL 1404604572   76   41790048  42590936   41790043 378155687    10.599   42218833   -337778  231 0
SET_FIDUCIAL_ERROR 1404604572 ROTATOR 1  5
SET_FIDUCIAL_ERROR 1404604572 ROTATOR 2  0
AZ_FIDUCIAL 1404604572   23   35271000  35260536   35271025  35260652   137.329    309166  -136 -208
SET_FIDUCIAL_ERROR 1404604572 AZIMUTH 1  -25
SET_FIDUCIAL_ERROR 1404604572 AZIMUTH 2  -116
ROT_FIDUCIAL 1404604573  -76   41790048  42590936   41418864 378155962     8.401   41790043   -334358  236 0
ROT_FIDUCIAL 1404604575   77   40989264  42592336   40989267 378156368     5.857   41418864   -287111  236 0
SET_FIDUCIAL_ERROR 1404604575 ROTATOR 1  -3
SET_FIDUCIAL_ERROR 1404604575 ROTATOR 2  0
ROT_FIDUCIAL 1404604576  -77   40989264  42592336   40618874 378156840     3.664   40989267   -227208  233 0
ROT_FIDUCIAL 1404604579   78   40188488  42592480   40188482 378157427     1.116   40618874   -124292  233 0
SET_FIDUCIAL_ERROR 1404604579 ROTATOR 1  6
SET_FIDUCIAL_ERROR 1404604579 ROTATOR 2  0
ms_off 1404604582 ALTITUDE
ms_off 1404604582 ROTATOR
ms_off 1404604582 AZIMUTH
ms_off 1404604589 AZIMUTH
ms_off 1404604589 ALTITUDE
ms_off 1404604589 ROTATOR
ms_on 1404604589 AZIMUTH
ms_on 1404604589 ALTITUDE
ms_on 1404604589 ROTATOR
AZ_FIDUCIAL 1404604598   23   35271000  35260536   35271445  35260858   137.330   -312057  -161 -324
SET_FIDUCIAL_ERROR 1404604598 AZIMUTH 1  -445
SET_FIDUCIAL_ERROR 1404604598 AZIMUTH 2  -322
AZ_FIDUCIAL 1404604609   22   31414400  31406592   31414254  31406366   122.312   -184279  -606 -646
SET_FIDUCIAL_ERROR 1404604609 AZIMUTH 1  146
SET_FIDUCIAL_ERROR 1404604609 AZIMUTH 2  226
ms_off 1404604613 AZIMUTH
ms_off 1404604613 ALTITUDE
ms_off 1404604613 ROTATOR
ms_off 1404605282 AZIMUTH
UPDATE_ENCODER 1404605282 AZIMUTH 1  31077273  -460         0
UPDATE_ENCODER 1404605282 AZIMUTH 2  31069689  -420         0
ms_off 1404605283 ALTITUDE
UPDATE_ENCODER 1404605284 ALTITUDE 1  23142802  -12         0
UPDATE_ENCODER 1404605284 ALTITUDE 2  23129611  -869         0
ms_off 1404605285 ROTATOR
UPDATE_ENCODER 1404605285 ROTATOR 1  6177  239         0
UPDATE_ENCODER 1404605285 ROTATOR 2  338636129  0         0
ms_off 1404605295 AZIMUTH
ms_off 1404605295 ALTITUDE
ms_off 1404605295 ROTATOR
ms_on 1404605295 AZIMUTH
ms_on 1404605295 ALTITUDE
ms_on 1404605295 ROTATOR
ALT_FIDUCIAL 1404605304    6   22828312  22815324   22828170  22815176    88.993      -9343   -114043  0 0
SET_FIDUCIAL_ERROR 1404605304 ALTITUDE 1  142
SET_FIDUCIAL_ERROR 1404605304 ALTITUDE 2  148
ALT_FIDUCIAL 1404605317    5   19419312  19408660   19419295  19408486    76.311      -6738   -385273  142 148
SET_FIDUCIAL_ERROR 1404605317 ALTITUDE 1  17
SET_FIDUCIAL_ERROR 1404605317 ALTITUDE 2  174
ALT_FIDUCIAL 1404605327    4   15533586  15525578   15533600  15525249    60.664      -3524   -385713  159 322
SET_FIDUCIAL_ERROR 1404605328 ALTITUDE 1  -14
SET_FIDUCIAL_ERROR 1404605328 ALTITUDE 2  329
ALT_FIDUCIAL 1404605337    3   11869600  11864108   11869626  11863782    46.833       -683   -385714  145 651
SET_FIDUCIAL_ERROR 1404605337 ALTITUDE 1  -26
SET_FIDUCIAL_ERROR 1404605337 ALTITUDE 2  326
ms_off 1404605358 ALTITUDE
ms_off 1404605358 ROTATOR
ms_off 1404605358 AZIMUTH
