version       mcpVersion="$Name: v6_6_15$|Aug 11 2012|01:31:25"  # MCP version
mjd           56179

initialTime   1347146834

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 1347146834 AZIMUTH
UPDATE_ENCODER 1347146835 AZIMUTH 1  31077401  0         0
UPDATE_ENCODER 1347146835 AZIMUTH 2  31070024  0         0
ms_off 1347146836 ALTITUDE
UPDATE_ENCODER 1347146836 ALTITUDE 1  7724386  0         0
UPDATE_ENCODER 1347146837 ALTITUDE 2  7721546  0         0
ms_off 1347146838 ROTATOR
UPDATE_ENCODER 1347146838 ROTATOR 1  16838  0         0
UPDATE_ENCODER 1347146838 ROTATOR 2  1047622417  0         0
ms_off 1347146845 AZIMUTH
ms_off 1347146845 ALTITUDE
ms_off 1347146846 ROTATOR
ms_on 1347146846 AZIMUTH
ms_on 1347146846 ALTITUDE
ms_on 1347146846 ROTATOR
ALT_FIDUCIAL 1347146869    3   11869558  11864275   11869774  11864293    45.202       -348    385714  0 0
SET_FIDUCIAL_ERROR 1347146869 ALTITUDE 1  -216
SET_FIDUCIAL_ERROR 1347146869 ALTITUDE 2  -18
ALT_FIDUCIAL 1347146878    4   15533577  15525887   15533574  15525952    59.067      -3196    385714  -216 -18
SET_FIDUCIAL_ERROR 1347146879 ALTITUDE 1  3
SET_FIDUCIAL_ERROR 1347146879 ALTITUDE 2  -65
ALT_FIDUCIAL 1347146889    5   19419298  19409032   19419312  19409184    74.475      -6361    385100  -213 -83
SET_FIDUCIAL_ERROR 1347146889 ALTITUDE 1  -14
SET_FIDUCIAL_ERROR 1347146889 ALTITUDE 2  -152
ALT_FIDUCIAL 1347146902    6   22828328  22815780   22828284  22815858    87.907      -9120    112885  -227 -235
SET_FIDUCIAL_ERROR 1347146902 ALTITUDE 1  44
SET_FIDUCIAL_ERROR 1347146902 ALTITUDE 2  -78
ms_off 1347146909 ROTATOR
ms_off 1347146909 AZIMUTH
ms_off 1347146909 ALTITUDE
ms_off 1347146914 AZIMUTH
ms_off 1347146914 ALTITUDE
ms_off 1347146914 ROTATOR
ms_on 1347146914 AZIMUTH
ms_on 1347146915 ALTITUDE
ms_on 1347146915 ROTATOR
ROT_FIDUCIAL 1347146921   78   40188752  42808888   40189271 1087825437     1.121   39819493    126403  0 0
AZ_FIDUCIAL 1347146921   22   31414432  31406620   31414117  31406636   122.310    186209  0 0
SET_FIDUCIAL_ERROR 1347146921 AZIMUTH 1  315
SET_FIDUCIAL_ERROR 1347146921 AZIMUTH 2  -16
ROT_FIDUCIAL 1347146923  -77   40989248  42722692   40618864 1087832293     3.664   40189271    229583  0 0
ROT_FIDUCIAL 1347146925   77   40989248  42722692   40989255 1087836493     5.857   40618864    289750  0 0
SET_FIDUCIAL_ERROR 1347146925 ROTATOR 1  -7
SET_FIDUCIAL_ERROR 1347146925 ROTATOR 2  0
ROT_FIDUCIAL 1347146926  -77   40989248  42722692   41418840 1087840114     8.401   40989255    335159  -7 0
ROT_FIDUCIAL 1347146927   76   41790032  42590904   41790037 1087842533    10.599   41418840    337778  -7 0
SET_FIDUCIAL_ERROR 1347146927 ROTATOR 1  -5
SET_FIDUCIAL_ERROR 1347146927 ROTATOR 2  0
ROT_FIDUCIAL 1347146928  -76   41790032  42590904   42218829 1087845855    13.138   41790037    337778  -12 0
ROT_FIDUCIAL 1347146929   75   42590828  42590828   42590813 1087848929    15.340   42218829    337778  -12 0
SET_FIDUCIAL_ERROR 1347146929 ROTATOR 1  15
SET_FIDUCIAL_ERROR 1347146929 ROTATOR 2  0
ROT_FIDUCIAL 1347146931  -75   42590828  42590828   43018810 1087852661    17.875   42590813    337778  3 0
AZ_FIDUCIAL 1347146931   23   35271200  35260744   35270983  35260604   137.327    513680  315 -16
SET_FIDUCIAL_ERROR 1347146931 AZIMUTH 1  217
SET_FIDUCIAL_ERROR 1347146931 AZIMUTH 2  140
ROT_FIDUCIAL 1347146932   74   43391612  42591488   43391623 1087855837    20.082   43018810    337778  3 0
SET_FIDUCIAL_ERROR 1347146932 ROTATOR 1  -11
SET_FIDUCIAL_ERROR 1347146932 ROTATOR 2  0
ROT_FIDUCIAL 1347146933  -74   43391612  42591488   43818787 1087858397    22.611   43391623    337778  -8 0
ROT_FIDUCIAL 1347146934   73   44192412  42592040   44192380 1087860741    24.823   43818787    337778  -8 0
SET_FIDUCIAL_ERROR 1347146934 ROTATOR 1  32
SET_FIDUCIAL_ERROR 1347146934 ROTATOR 2  0
ROT_FIDUCIAL 1347146935  -73   44192412  42592040   44618818 1087863241    27.348   44192380    325750  24 0
ROT_FIDUCIAL 1347146937   72   44993196  42592296   44993188 1087865737    29.565   44618818    276819  24 0
SET_FIDUCIAL_ERROR 1347146937 ROTATOR 1  8
SET_FIDUCIAL_ERROR 1347146937 ROTATOR 2  0
ROT_FIDUCIAL 1347146938  -72   44993196  42592296   45418791 1087869633    32.085   44993188    201875  32 0
ROT_FIDUCIAL 1347146941   71   45793984  42592432   45793996 1087874382    34.307   45418791     97375  32 0
SET_FIDUCIAL_ERROR 1347146941 ROTATOR 1  -12
SET_FIDUCIAL_ERROR 1347146941 ROTATOR 2  0
ms_off 1347146944 AZIMUTH
ms_off 1347146944 ALTITUDE
ms_off 1347146944 ROTATOR
ms_off 1347146951 AZIMUTH
ms_off 1347146951 ALTITUDE
ms_off 1347146951 ROTATOR
ms_on 1347146951 AZIMUTH
ms_on 1347146951 ALTITUDE
ms_on 1347146951 ROTATOR
ROT_FIDUCIAL 1347146959  -71   45793984  42592432   45418741 1087906179    32.085   45793952   -204778  20 0
ROT_FIDUCIAL 1347146961   72   44993196  42592296   44993145 1087909266    29.565   45418741   -278931  20 0
SET_FIDUCIAL_ERROR 1347146961 ROTATOR 1  51
SET_FIDUCIAL_ERROR 1347146961 ROTATOR 2  0
ROT_FIDUCIAL 1347146962  -72   44993196  42592296   44618820 1087911561    27.348   44993145   -327303  71 0
ROT_FIDUCIAL 1347146963   73   44192412  42592040   44192410 1087914919    24.823   44618820   -337778  71 0
SET_FIDUCIAL_ERROR 1347146963 ROTATOR 1  2
SET_FIDUCIAL_ERROR 1347146963 ROTATOR 2  0
ROT_FIDUCIAL 1347146964  -73   44192412  42592040   43818821 1087917419    22.611   44192410   -337778  73 0
AZ_FIDUCIAL 1347146965   23   35271200  35260744   35271559  35260953   137.329   -513680  532 124
SET_FIDUCIAL_ERROR 1347146966 AZIMUTH 1  -359
SET_FIDUCIAL_ERROR 1347146966 AZIMUTH 2  -209
ROT_FIDUCIAL 1347146966   74   43391612  42591488   43391644 1087920085    20.082   43818821   -337778  73 0
SET_FIDUCIAL_ERROR 1347146966 ROTATOR 1  -32
SET_FIDUCIAL_ERROR 1347146966 ROTATOR 2  0
ROT_FIDUCIAL 1347146967  -74   43391612  42591488   43018802 1087922157    17.874   43391644   -337778  41 0
ROT_FIDUCIAL 1347146968   75   42590828  42590828   42590819 1087925212    15.340   43018802   -337778  41 0
SET_FIDUCIAL_ERROR 1347146968 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1347146968 ROTATOR 2  0
ROT_FIDUCIAL 1347146969  -75   42590828  42590828   42218848 1087928252    13.138   42590819   -337778  50 0
ROT_FIDUCIAL 1347146970   76   41790032  42590904   41790053 1087931597    10.599   42218848   -337778  50 0
SET_FIDUCIAL_ERROR 1347146970 ROTATOR 1  -21
SET_FIDUCIAL_ERROR 1347146971 ROTATOR 2  0
ROT_FIDUCIAL 1347146972  -76   41790032  42590904   41418832 1087934693     8.401   41790053   -334447  29 0
ROT_FIDUCIAL 1347146973   77   40989248  42722692   40989244 1087938316     5.857   41418832   -287902  29 0
SET_FIDUCIAL_ERROR 1347146973 ROTATOR 1  4
SET_FIDUCIAL_ERROR 1347146973 ROTATOR 2  0
ROT_FIDUCIAL 1347146974  -77   40989248  42722692   40618858 1087941854     3.664   40989244   -226944  33 0
AZ_FIDUCIAL 1347146975   22   31414432  31406620   31414569  31406757   122.312   -183641  173 -85
SET_FIDUCIAL_ERROR 1347146975 AZIMUTH 1  -137
SET_FIDUCIAL_ERROR 1347146975 AZIMUTH 2  -137
ROT_FIDUCIAL 1347146977   78   40188752  42808888   40188467 1087947387     1.116   40618858   -124555  33 0
ms_off 1347146980 AZIMUTH
ms_off 1347146980 ALTITUDE
ms_off 1347146980 ROTATOR
ms_off 1347146985 AZIMUTH
ms_off 1347146985 ALTITUDE
ms_off 1347146985 ROTATOR
ms_on 1347146985 AZIMUTH
ms_on 1347146986 ALTITUDE
ms_on 1347146986 ROTATOR
ALT_FIDUCIAL 1347146994    6   22828328  22815780   22828243  22815685    89.202      -9386   -114043  -183 -313
SET_FIDUCIAL_ERROR 1347146994 ALTITUDE 1  85
SET_FIDUCIAL_ERROR 1347146994 ALTITUDE 2  95
ALT_FIDUCIAL 1347147008    5   19419298  19409032   19419213  19408927    76.710      -6820   -385302  -98 -218
SET_FIDUCIAL_ERROR 1347147008 ALTITUDE 1  85
SET_FIDUCIAL_ERROR 1347147008 ALTITUDE 2  105
ALT_FIDUCIAL 1347147018    4   15533577  15525887   15533602  15525796    61.219      -3638   -385713  -13 -113
SET_FIDUCIAL_ERROR 1347147018 ALTITUDE 1  -25
SET_FIDUCIAL_ERROR 1347147018 ALTITUDE 2  91
ALT_FIDUCIAL 1347147027    3   11869558  11864275   11869574  11864244    47.038       -725   -385714  -38 -22
SET_FIDUCIAL_ERROR 1347147027 ALTITUDE 1  -16
SET_FIDUCIAL_ERROR 1347147027 ALTITUDE 2  31
ms_off 1347147049 ALTITUDE
ms_off 1347147049 AZIMUTH
ms_off 1347147049 ROTATOR
ms_off 1347148025 AZIMUTH
UPDATE_ENCODER 1347148025 AZIMUTH 1  31077733  36         0
UPDATE_ENCODER 1347148025 AZIMUTH 2  31070178  -222         0
ms_off 1347148027 ALTITUDE
UPDATE_ENCODER 1347148027 ALTITUDE 1  7727491  -54         0
UPDATE_ENCODER 1347148027 ALTITUDE 2  7724880  9         0
ms_off 1347148028 ROTATOR
UPDATE_ENCODER 1347148029 ROTATOR 1  9  33         0
UPDATE_ENCODER 1347148029 ROTATOR 2  1050292137  0         0
ms_off 1347148034 AZIMUTH
ms_off 1347148034 ALTITUDE
ms_off 1347148035 ROTATOR
ms_on 1347148035 AZIMUTH
ms_on 1347148035 ALTITUDE
ms_on 1347148035 ROTATOR
ms_off 1347148038 ALTITUDE
ms_off 1347148038 ROTATOR
ms_off 1347148038 AZIMUTH
