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

initialTime   1394835237

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 1394835237 AZIMUTH
ms_off 1394835237 ALTITUDE
ms_off 1394835237 ROTATOR
SET_FIDUCIAL_ERROR 1394835237 AZIMUTH 1  -264
SET_FIDUCIAL_ERROR 1394835237 AZIMUTH 2  -232
ms_on 1394835237 AZIMUTH
SET_FIDUCIAL_ERROR 1394835237 ALTITUDE 1  23
SET_FIDUCIAL_ERROR 1394835237 ALTITUDE 2  -331
ms_on 1394835237 ALTITUDE
SET_FIDUCIAL_ERROR 1394835237 ROTATOR 1  246
SET_FIDUCIAL_ERROR 1394835237 ROTATOR 2  0
ms_on 1394835238 ROTATOR
ms_off 1394835244 AZIMUTH
ms_off 1394835245 ROTATOR
ms_off 1394835245 ALTITUDE
ms_off 1394836713 AZIMUTH
UPDATE_ENCODER 1394836713 AZIMUTH 1  31077081  -264         0
UPDATE_ENCODER 1394836714 AZIMUTH 2  31069542  -232         0
ms_off 1394836715 ALTITUDE
UPDATE_ENCODER 1394836715 ALTITUDE 1  7631829  -117         0
UPDATE_ENCODER 1394836716 ALTITUDE 2  7629265  -521         0
ms_off 1394836717 ROTATOR
UPDATE_ENCODER 1394836717 ROTATOR 1  11719  246         0
UPDATE_ENCODER 1394836717 ROTATOR 2  2077639035  0         0
ms_off 1394836723 AZIMUTH
ms_off 1394836723 ALTITUDE
ms_off 1394836723 ROTATOR
ms_on 1394836723 AZIMUTH
ms_on 1394836724 ALTITUDE
ms_on 1394836724 ROTATOR
ALT_FIDUCIAL 1394836747    3   11869600  11864108   11869527  11864293    45.061       -319    385713  0 0
SET_FIDUCIAL_ERROR 1394836748 ALTITUDE 1  73
SET_FIDUCIAL_ERROR 1394836748 ALTITUDE 2  -185
ALT_FIDUCIAL 1394836756    4   15533586  15525578   15533553  15525789    58.907      -3163    385713  73 -185
SET_FIDUCIAL_ERROR 1394836757 ALTITUDE 1  33
SET_FIDUCIAL_ERROR 1394836757 ALTITUDE 2  -211
ALT_FIDUCIAL 1394836766    5   19419312  19408660   19419239  19408781    74.461      -6358    385108  106 -396
SET_FIDUCIAL_ERROR 1394836767 ALTITUDE 1  73
SET_FIDUCIAL_ERROR 1394836767 ALTITUDE 2  -121
ms_off 1394836787 ALTITUDE
ms_off 1394836788 ROTATOR
ms_off 1394836789 AZIMUTH
ms_off 1394836828 AZIMUTH
ms_off 1394836828 ALTITUDE
ms_off 1394836828 ROTATOR
ms_on 1394836828 AZIMUTH
ms_on 1394836828 ALTITUDE
ms_on 1394836828 ROTATOR
ROT_FIDUCIAL 1394836837  -78   40188488  42592480   40618867 2117666486     3.664   40188467    229583  0 0
ROT_FIDUCIAL 1394836838   77   40989264  42592336   40989251 2117666910     5.857   40618867    289750  0 0
SET_FIDUCIAL_ERROR 1394836838 ROTATOR 1  13
SET_FIDUCIAL_ERROR 1394836838 ROTATOR 2  0
ROT_FIDUCIAL 1394836839  -77   40989264  42592336   41418852 2117667318     8.401   40989251    335076  13 0
ROT_FIDUCIAL 1394836840   76   41790048  42590936   41790038 2117667499    10.599   41418852    337778  13 0
SET_FIDUCIAL_ERROR 1394836841 ROTATOR 1  10
SET_FIDUCIAL_ERROR 1394836841 ROTATOR 2  0
ROT_FIDUCIAL 1394836842  -76   41790048  42590936   42218836 2117667884    13.138   41790038    337778  23 0
ROT_FIDUCIAL 1394836843   75   42590828  42590828   42590826 2117668201    15.340   42218836    337778  23 0
SET_FIDUCIAL_ERROR 1394836843 ROTATOR 1  2
SET_FIDUCIAL_ERROR 1394836843 ROTATOR 2  0
ROT_FIDUCIAL 1394836844  -75   42590828  42590828   43018806 2117668815    17.875   42590826    337778  25 0
ROT_FIDUCIAL 1394836845   74   43391608  42590824   43391605 2117669287    20.082   43018806    337778  25 0
SET_FIDUCIAL_ERROR 1394836845 ROTATOR 1  3
SET_FIDUCIAL_ERROR 1394836845 ROTATOR 2  0
ROT_FIDUCIAL 1394836847  -74   43391608  42590824   43818799 2117669753    22.611   43391605    337778  28 0
ROT_FIDUCIAL 1394836848   73   44192396  42590920   44192385 2117669984    24.823   43818799    337778  28 0
SET_FIDUCIAL_ERROR 1394836850 ROTATOR 1  11
SET_FIDUCIAL_ERROR 1394836851 ROTATOR 2  0
BAD_DIO316 1394836851 10
ROT_FIDUCIAL 1394836854   71   45793960  42590768   45793947 2117671636    34.306   45418755     97111  39 0
SET_FIDUCIAL_ERROR 1394836854 ROTATOR 1  13
SET_FIDUCIAL_ERROR 1394836855 ROTATOR 2  0
AZ_FIDUCIAL 1394836859   19   19853640  19853640   19853776  19853649    77.301   -245279  0 0
SET_FIDUCIAL_ERROR 1394836860 AZIMUTH 1  -136
SET_FIDUCIAL_ERROR 1394836860 AZIMUTH 2  -9
ms_off 1394836865 AZIMUTH
ms_off 1394836865 ALTITUDE
ms_off 1394836865 ROTATOR
ms_off 1394836869 AZIMUTH
ms_off 1394836870 ALTITUDE
ms_off 1394836870 ROTATOR
ms_on 1394836870 AZIMUTH
ms_on 1394836870 ALTITUDE
ms_on 1394836870 ROTATOR
AZ_FIDUCIAL 1394836878   19   19853640  19853640   19853212  19853265    77.299    246884  -136 -9
SET_FIDUCIAL_ERROR 1394836878 AZIMUTH 1  428
SET_FIDUCIAL_ERROR 1394836878 AZIMUTH 2  375
ROT_FIDUCIAL 1394836881  -72   44993180  42590872   44618825 2117678972    27.348   44993207   -327137  52 0
ROT_FIDUCIAL 1394836882   73   44192396  42590920   44192442 2117679563    24.824   44618825   -337778  52 0
SET_FIDUCIAL_ERROR 1394836882 ROTATOR 1  -46
SET_FIDUCIAL_ERROR 1394836882 ROTATOR 2  0
ROT_FIDUCIAL 1394836883  -73   44192396  42590920   43818810 2117680099    22.611   44192442   -337778  6 0
AZ_FIDUCIAL 1394836887   20   23703580  23701000   23703560  23701069    92.290    513674  292 366
SET_FIDUCIAL_ERROR 1394836887 AZIMUTH 1  20
SET_FIDUCIAL_ERROR 1394836887 AZIMUTH 2  -69
ROT_FIDUCIAL 1394836889   76   41790048  42590936   41790066 2117682115    10.599   42218854   -337778  6 0
SET_FIDUCIAL_ERROR 1394836889 ROTATOR 1  -18
SET_FIDUCIAL_ERROR 1394836889 ROTATOR 2  0
ROT_FIDUCIAL 1394836890  -76   41790048  42590936   41418859 2117682347     8.401   41790066   -334447  -12 0
ROT_FIDUCIAL 1394836892   77   40989264  42592336   40989265 2117682845     5.857   41418859   -287637  -12 0
SET_FIDUCIAL_ERROR 1394836892 ROTATOR 1  -1
SET_FIDUCIAL_ERROR 1394836892 ROTATOR 2  0
ROT_FIDUCIAL 1394836893  -77   40989264  42592336   40618878 2117683350     3.664   40989265   -227471  -13 0
AZ_FIDUCIAL 1394836894   21   27561596  27556410   27561690  27556562   107.312    513674  312 297
SET_FIDUCIAL_ERROR 1394836895 AZIMUTH 1  -94
SET_FIDUCIAL_ERROR 1394836896 AZIMUTH 2  -152
ms_off 1394836907 ALTITUDE
ms_off 1394836907 ROTATOR
ms_off 1394836907 AZIMUTH
ms_off 1394836918 AZIMUTH
ms_off 1394836919 ALTITUDE
ms_off 1394836919 ROTATOR
ms_on 1394836920 AZIMUTH
ms_on 1394836920 ALTITUDE
ms_on 1394836921 ROTATOR
ALT_FIDUCIAL 1394836940    5   19419312  19408660   19419107  19408480    76.822      -6843   -385302  179 -517
SET_FIDUCIAL_ERROR 1394836940 ALTITUDE 1  205
SET_FIDUCIAL_ERROR 1394836940 ALTITUDE 2  180
ALT_FIDUCIAL 1394836950    4   15533586  15525578   15533651  15525476    61.506      -3697   -385713  384 -337
SET_FIDUCIAL_ERROR 1394836950 ALTITUDE 1  -65
SET_FIDUCIAL_ERROR 1394836950 ALTITUDE 2  102
ALT_FIDUCIAL 1394836960    3   11869600  11864108   11869701  11864013    47.612       -843   -385714  319 -235
SET_FIDUCIAL_ERROR 1394836960 ALTITUDE 1  -101
SET_FIDUCIAL_ERROR 1394836960 ALTITUDE 2  95
ms_off 1394836981 AZIMUTH
ms_off 1394836981 ALTITUDE
ms_off 1394836981 ROTATOR
