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

initialTime   1293749102

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 1293749102 AZIMUTH
ms_off 1293749102 ALTITUDE
ms_off 1293749102 ROTATOR
ms_off 1293749102 AZIMUTH
ms_off 1293749102 ALTITUDE
ms_off 1293749102 ROTATOR
ms_off 1293751567 AZIMUTH
UPDATE_ENCODER 1293751567 AZIMUTH 1  31076796  0         0
UPDATE_ENCODER 1293751567 AZIMUTH 2  31068950  0         0
ms_off 1293751569 ALTITUDE
UPDATE_ENCODER 1293751569 ALTITUDE 1  7766783  57         0
UPDATE_ENCODER 1293751569 ALTITUDE 2  7764192  122         0
ms_off 1293751570 ROTATOR
UPDATE_ENCODER 1293751571 ROTATOR 1  6089  0         0
UPDATE_ENCODER 1293751571 ROTATOR 2  -18511531  0         0
ms_off 1293751596 AZIMUTH
ms_off 1293751596 ALTITUDE
ms_off 1293751596 ROTATOR
ms_on 1293751596 AZIMUTH
ms_on 1293751596 ALTITUDE
ms_on 1293751596 ROTATOR
ms_off 1293751619 AZIMUTH
UPDATE_ENCODER 1293751619 AZIMUTH 1  31076874  0         0
UPDATE_ENCODER 1293751619 AZIMUTH 2  31069076  0         0
ms_off 1293751620 ALTITUDE
UPDATE_ENCODER 1293751620 ALTITUDE 1  7768947  0         0
UPDATE_ENCODER 1293751620 ALTITUDE 2  7766260  0         0
ms_off 1293751622 ROTATOR
UPDATE_ENCODER 1293751622 ROTATOR 1  -3  0         0
UPDATE_ENCODER 1293751622 ROTATOR 2  -18511531  0         0
ms_off 1293751627 AZIMUTH
ms_off 1293751627 ALTITUDE
ms_off 1293751627 ROTATOR
ms_on 1293751627 AZIMUTH
ms_on 1293751627 ALTITUDE
ms_on 1293751628 ROTATOR
ALT_FIDUCIAL 1293751650    3   11869351  11863870   11869435  11863895    44.341       -171    385714  0 0
SET_FIDUCIAL_ERROR 1293751651 ALTITUDE 1  -84
SET_FIDUCIAL_ERROR 1293751651 ALTITUDE 2  -25
ALT_FIDUCIAL 1293751660    4   15533194  15525190   15533244  15525241    58.283      -3035    385714  -84 -25
SET_FIDUCIAL_ERROR 1293751660 ALTITUDE 1  -50
SET_FIDUCIAL_ERROR 1293751660 ALTITUDE 2  -51
ALT_FIDUCIAL 1293751670    5   19418678  19408000   19418739  19408059    74.013      -6266    385080  -134 -76
SET_FIDUCIAL_ERROR 1293751670 ALTITUDE 1  -61
SET_FIDUCIAL_ERROR 1293751670 ALTITUDE 2  -59
ALT_FIDUCIAL 1293751684    6   22827596  22814596   22827523  22814530    88.628      -9268    113312  -195 -135
SET_FIDUCIAL_ERROR 1293751684 ALTITUDE 1  73
SET_FIDUCIAL_ERROR 1293751684 ALTITUDE 2  66
ms_off 1293751690 ALTITUDE
ms_off 1293751690 ROTATOR
ms_off 1293751690 AZIMUTH
ms_off 1293751702 AZIMUTH
ms_off 1293751702 ALTITUDE
ms_off 1293751702 ROTATOR
ms_on 1293751702 AZIMUTH
ms_on 1293751703 ALTITUDE
ms_on 1293751703 ROTATOR
AZ_FIDUCIAL 1293751709   22   31414376  31406332   31414345  31406324   122.314    187489  0 0
SET_FIDUCIAL_ERROR 1293751709 AZIMUTH 1  31
SET_FIDUCIAL_ERROR 1293751709 AZIMUTH 2  8
ROT_FIDUCIAL 1293751711  -78   40188568  42590828   40619005  21488469     3.665   40188596    228792  0 0
ROT_FIDUCIAL 1293751712   77   40989304  42590828   40989365  21488469     5.858   40619005    289486  0 0
SET_FIDUCIAL_ERROR 1293751712 ROTATOR 1  -61
SET_FIDUCIAL_ERROR 1293751713 ROTATOR 2  0
ROT_FIDUCIAL 1293751714  -77   40989304  42590828   41418832  21488469     8.401   40989365    334900  -61 0
ROT_FIDUCIAL 1293751715   76   41790040  42590828   41789997  21488469    10.599   41418832    337778  -61 0
SET_FIDUCIAL_ERROR 1293751715 ROTATOR 1  43
SET_FIDUCIAL_ERROR 1293751715 ROTATOR 2  0
ROT_FIDUCIAL 1293751716  -76   41790040  42590828   42218837  21488469    13.138   41789997    337778  -18 0
ROT_FIDUCIAL 1293751717   75   42590828  42590828   42590816  21488469    15.340   42218837    337778  -18 0
SET_FIDUCIAL_ERROR 1293751717 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1293751717 ROTATOR 2  0
ROT_FIDUCIAL 1293751719  -75   42590828  42590828   43018818  21488469    17.875   42590816    337778  -6 0
AZ_FIDUCIAL 1293751719   23   35270988  35260240   35270928  35260255   137.330    513668  31 8
SET_FIDUCIAL_ERROR 1293751719 AZIMUTH 1  60
SET_FIDUCIAL_ERROR 1293751719 AZIMUTH 2  -15
ROT_FIDUCIAL 1293751720   74   43391608  42590828   43391616  21488469    20.082   43018818    337778  -6 0
SET_FIDUCIAL_ERROR 1293751720 ROTATOR 1  -8
SET_FIDUCIAL_ERROR 1293751720 ROTATOR 2  0
ROT_FIDUCIAL 1293751721  -74   43391608  42590828   43818814  21488469    22.611   43391616    321926  -14 0
ROT_FIDUCIAL 1293751722   73   44192400  42590828   44192401  21488469    24.823   43818814    269958  -14 0
SET_FIDUCIAL_ERROR 1293751722 ROTATOR 1  -1
SET_FIDUCIAL_ERROR 1293751722 ROTATOR 2  0
ROT_FIDUCIAL 1293751724  -73   44192400  42590828   44618793  21488469    27.348   44192401    192375  -15 0
ROT_FIDUCIAL 1293751727   72   44993200  42590828   44993186  21488469    29.565   44618793     76528  -15 0
SET_FIDUCIAL_ERROR 1293751727 ROTATOR 1  14
SET_FIDUCIAL_ERROR 1293751727 ROTATOR 2  0
ms_off 1293751731 ALTITUDE
ms_off 1293751731 ROTATOR
ms_off 1293751731 AZIMUTH
ms_off 1293751753 AZIMUTH
ms_off 1293751754 ALTITUDE
ms_off 1293751754 ROTATOR
ms_on 1293751754 AZIMUTH
ms_on 1293751754 ALTITUDE
ms_on 1293751754 ROTATOR
ROT_FIDUCIAL 1293751762  -72   44993200  42590828   44618762  21488469    27.348   44993165   -194750  -1 0
ROT_FIDUCIAL 1293751764   73   44192400  42590828   44192370  21488469    24.823   44618762   -272333  -1 0
SET_FIDUCIAL_ERROR 1293751764 ROTATOR 1  30
SET_FIDUCIAL_ERROR 1293751764 ROTATOR 2  0
ROT_FIDUCIAL 1293751765  -73   44192400  42590828   43818815  21488469    22.611   44192370   -323129  29 0
ROT_FIDUCIAL 1293751766   74   43391608  42590828   43391603  21488469    20.082   43818815   -337778  29 0
SET_FIDUCIAL_ERROR 1293751766 ROTATOR 1  5
SET_FIDUCIAL_ERROR 1293751766 ROTATOR 2  0
ROT_FIDUCIAL 1293751767  -74   43391608  42590828   43018807  21488469    17.875   43391603   -337778  34 0
ROT_FIDUCIAL 1293751768   75   42590828  42590828   42590806  21488469    15.340   43018807   -337778  34 0
SET_FIDUCIAL_ERROR 1293751769 ROTATOR 1  22
SET_FIDUCIAL_ERROR 1293751769 ROTATOR 2  0
AZ_FIDUCIAL 1293751769   23   35270988  35260240   35271250  35260367   137.331   -513667  91 -7
SET_FIDUCIAL_ERROR 1293751769 AZIMUTH 1  -262
SET_FIDUCIAL_ERROR 1293751769 AZIMUTH 2  -127
ROT_FIDUCIAL 1293751770  -75   42590828  42590828   42218851  21488469    13.138   42590806   -337778  56 0
ROT_FIDUCIAL 1293751771   76   41790040  42590828   41790060  21488469    10.599   42218851   -337778  56 0
SET_FIDUCIAL_ERROR 1293751771 ROTATOR 1  -20
SET_FIDUCIAL_ERROR 1293751771 ROTATOR 2  0
ROT_FIDUCIAL 1293751772  -76   41790040  42590828   41418868  21488469     8.401   41790060   -334448  36 0
ROT_FIDUCIAL 1293751773   77   40989304  42590828   40989330  21488469     5.858   41418868   -287375  36 0
SET_FIDUCIAL_ERROR 1293751773 ROTATOR 1  -26
SET_FIDUCIAL_ERROR 1293751773 ROTATOR 2  0
ROT_FIDUCIAL 1293751775  -77   40989304  42590828   40618956  21488469     3.665   40989330   -227208  10 0
ROT_FIDUCIAL 1293751777   78   40188568  42590828   40188583  21488469     1.117   40618956   -123764  10 0
SET_FIDUCIAL_ERROR 1293751777 ROTATOR 1  -15
SET_FIDUCIAL_ERROR 1293751777 ROTATOR 2  0
AZ_FIDUCIAL 1293751778   22   31414376  31406332   31414418  31406342   122.314   -184599  -171 -134
SET_FIDUCIAL_ERROR 1293751778 AZIMUTH 1  -42
SET_FIDUCIAL_ERROR 1293751778 AZIMUTH 2  -10
ms_off 1293751782 ALTITUDE
ms_off 1293751782 ROTATOR
ms_off 1293751782 AZIMUTH
ms_off 1293751823 AZIMUTH
ms_off 1293751823 ALTITUDE
ms_off 1293751823 ROTATOR
ms_on 1293751823 AZIMUTH
ms_on 1293751823 ALTITUDE
ms_on 1293751823 ROTATOR
ALT_FIDUCIAL 1293751832    6   22827596  22814596   22827472  22814447    89.519      -9451   -114171  -122 -69
SET_FIDUCIAL_ERROR 1293751832 ALTITUDE 1  124
SET_FIDUCIAL_ERROR 1293751832 ALTITUDE 2  149
ALT_FIDUCIAL 1293751845    5   19418678  19408000   19418596  19407928    76.900      -6859   -385273  2 80
SET_FIDUCIAL_ERROR 1293751845 ALTITUDE 1  82
SET_FIDUCIAL_ERROR 1293751845 ALTITUDE 2  72
ALT_FIDUCIAL 1293751855    4   15533194  15525190   15533194  15525079    60.980      -3589   -385713  84 152
SET_FIDUCIAL_ERROR 1293751855 ALTITUDE 1  0
SET_FIDUCIAL_ERROR 1293751855 ALTITUDE 2  111
ms_off 1293751876 ALTITUDE
ms_off 1293751876 ROTATOR
ms_off 1293751876 AZIMUTH
ms_off 1293752044 AZIMUTH
UPDATE_ENCODER 1293752044 AZIMUTH 1  31076877  -213         0
UPDATE_ENCODER 1293752044 AZIMUTH 2  31069085  -144         0
ms_off 1293752045 ALTITUDE
UPDATE_ENCODER 1293752046 ALTITUDE 1  11529043  84         0
UPDATE_ENCODER 1293752046 ALTITUDE 2  11523822  263         0
ms_off 1293752047 ROTATOR
UPDATE_ENCODER 1293752047 ROTATOR 1  7  -5         0
UPDATE_ENCODER 1293752047 ROTATOR 2  -18511531  0         0
ms_off 1293752070 AZIMUTH
ms_off 1293752071 ALTITUDE
ms_off 1293752071 ROTATOR
ms_on 1293752071 AZIMUTH
ms_on 1293752071 ALTITUDE
ms_on 1293752071 ROTATOR
ms_off 1293752102 AZIMUTH
ms_off 1293752102 ALTITUDE
ms_off 1293752102 ROTATOR
ms_off 1293791498 AZIMUTH
ms_off 1293791498 ALTITUDE
ms_off 1293791498 ROTATOR
ms_off 1293791498 AZIMUTH
ms_off 1293791498 ALTITUDE
ms_off 1293791498 ROTATOR
