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

initialTime   1290987845

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 1290987845 AZIMUTH
UPDATE_ENCODER 1290987845 AZIMUTH 1  31076742  0         0
UPDATE_ENCODER 1290987845 AZIMUTH 2  31068992  0         0
ms_off 1290987846 ALTITUDE
UPDATE_ENCODER 1290987847 ALTITUDE 1  7708845  -95         0
UPDATE_ENCODER 1290987847 ALTITUDE 2  7706262  -88         0
ms_off 1290987848 ROTATOR
UPDATE_ENCODER 1290987848 ROTATOR 1  5397  0         0
UPDATE_ENCODER 1290987848 ROTATOR 2  -18511531  0         0
ms_off 1290987869 AZIMUTH
ms_off 1290987869 ALTITUDE
ms_off 1290987870 ROTATOR
ms_on 1290987870 AZIMUTH
ms_on 1290987870 ALTITUDE
ms_on 1290987870 ROTATOR
ROT_FIDUCIAL 1290987878  -78   40188568  42590828   40618966  21488469     3.665   40188562    228000  0 0
ROT_FIDUCIAL 1290987880   77   40989304  42590828   40989341  21488469     5.858   40618966    288958  0 0
SET_FIDUCIAL_ERROR 1290987880 ROTATOR 1  -37
SET_FIDUCIAL_ERROR 1290987880 ROTATOR 2  0
ROT_FIDUCIAL 1290987881  -77   40989304  42590828   41418878  21488469     8.401   40989341    334725  -37 0
ROT_FIDUCIAL 1290987882   76   41790040  42590828   41790067  21488469    10.599   41418878    337778  -37 0
SET_FIDUCIAL_ERROR 1290987882 ROTATOR 1  -27
SET_FIDUCIAL_ERROR 1290987882 ROTATOR 2  0
ROT_FIDUCIAL 1290987884  -76   41790040  42590828   42218833  21488469    13.138   41790067    337778  -64 0
ROT_FIDUCIAL 1290987885   75   42590828  42590828   42590834  21488469    15.340   42218833    337778  -64 0
SET_FIDUCIAL_ERROR 1290987885 ROTATOR 1  -6
SET_FIDUCIAL_ERROR 1290987885 ROTATOR 2  0
ROT_FIDUCIAL 1290987886  -75   42590828  42590828   43018800  21488469    17.874   42590834    337778  -70 0
ROT_FIDUCIAL 1290987887   74   43391608  42590828   43391587  21488469    20.082   43018800    337778  -70 0
SET_FIDUCIAL_ERROR 1290987887 ROTATOR 1  21
SET_FIDUCIAL_ERROR 1290987887 ROTATOR 2  0
ROT_FIDUCIAL 1290987888  -74   43391608  42590828   43818796  21488469    22.611   43391587    321607  -49 0
ROT_FIDUCIAL 1290987890   73   44192400  42590828   44192388  21488469    24.823   43818796    270075  -49 0
SET_FIDUCIAL_ERROR 1290987890 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1290987890 ROTATOR 2  0
ROT_FIDUCIAL 1290987891  -73   44192400  42590828   44618777  21488469    27.348   44192388    192228  -37 0
ALT_FIDUCIAL 1290987893    3   11869351  11863870   11869339  11863829    43.975        -96    385714  0 0
SET_FIDUCIAL_ERROR 1290987893 ALTITUDE 1  12
SET_FIDUCIAL_ERROR 1290987893 ALTITUDE 2  41
ROT_FIDUCIAL 1290987894   72   44993200  42590828   44993149  21488469    29.565   44618777     76381  -37 0
SET_FIDUCIAL_ERROR 1290987894 ROTATOR 1  51
SET_FIDUCIAL_ERROR 1290987894 ROTATOR 2  0
ALT_FIDUCIAL 1290987903    4   15533194  15525190   15533253  15525198    59.690      -3324    385714  12 41
SET_FIDUCIAL_ERROR 1290987903 ALTITUDE 1  -59
SET_FIDUCIAL_ERROR 1290987903 ALTITUDE 2  -8
ALT_FIDUCIAL 1290987913    5   19418678  19408000   19418700  19407975    73.901      -6243    385141  -47 33
SET_FIDUCIAL_ERROR 1290987913 ALTITUDE 1  -22
SET_FIDUCIAL_ERROR 1290987913 ALTITUDE 2  25
ALT_FIDUCIAL 1290987926    6   22827596  22814596   22827519  22814500    88.496      -9241    113432  -69 58
SET_FIDUCIAL_ERROR 1290987926 ALTITUDE 1  77
SET_FIDUCIAL_ERROR 1290987926 ALTITUDE 2  96
ms_off 1290987933 AZIMUTH
ms_off 1290987933 ALTITUDE
ms_off 1290987933 ROTATOR
ms_off 1290987941 AZIMUTH
ms_off 1290987941 ALTITUDE
ms_off 1290987941 ROTATOR
ms_on 1290987941 AZIMUTH
ms_on 1290987941 ALTITUDE
ms_on 1290987941 ROTATOR
ROT_FIDUCIAL 1290987949  -72   44993200  42590828   44618474  21488469    27.346   44992862   -195014  14 0
ROT_FIDUCIAL 1290987951   73   44192400  42590828   44192076  21488469    24.821   44618474   -272861  14 0
SET_FIDUCIAL_ERROR 1290987951 ROTATOR 1  324
SET_FIDUCIAL_ERROR 1290987951 ROTATOR 2  0
ROT_FIDUCIAL 1290987952  -73   44192400  42590828   43818808  21488469    22.611   44192076   -323129  338 0
ROT_FIDUCIAL 1290987953   74   43391608  42590828   43391608  21488469    20.082   43818808   -337778  338 0
ROT_FIDUCIAL 1290987954  -74   43391608  42590828   43018811  21488469    17.875   43391608   -337778  338 0
ROT_FIDUCIAL 1290987956   75   42590828  42590828   42590818  21488469    15.340   43018811   -337778  338 0
SET_FIDUCIAL_ERROR 1290987956 ROTATOR 1  10
SET_FIDUCIAL_ERROR 1290987956 ROTATOR 2  0
AZ_FIDUCIAL 1290987956   21   27561724  27556338   27562187  27556710   107.315   -438198  0 0
SET_FIDUCIAL_ERROR 1290987956 AZIMUTH 1  -463
SET_FIDUCIAL_ERROR 1290987956 AZIMUTH 2  -372
ROT_FIDUCIAL 1290987957  -75   42590828  42590828   42218845  21488469    13.138   42590818   -337778  348 0
ROT_FIDUCIAL 1290987958   76   41790040  42590828   41790056  21488469    10.599   42218845   -337778  348 0
SET_FIDUCIAL_ERROR 1290987958 ROTATOR 1  -16
SET_FIDUCIAL_ERROR 1290987958 ROTATOR 2  0
ROT_FIDUCIAL 1290987959  -76   41790040  42590828   41418842  21488469     8.401   41790056   -334358  332 0
ROT_FIDUCIAL 1290987960   77   40989304  42590828   40989297  21488469     5.858   41418842   -287639  332 0
SET_FIDUCIAL_ERROR 1290987960 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1290987960 ROTATOR 2  0
ROT_FIDUCIAL 1290987962  -77   40989304  42590828   40618961  21488469     3.665   40989297   -227472  339 0
ROT_FIDUCIAL 1290987964   78   40188568  42590828   40188574  21488469     1.117   40618961   -124556  339 0
SET_FIDUCIAL_ERROR 1290987964 ROTATOR 1  -6
SET_FIDUCIAL_ERROR 1290987964 ROTATOR 2  0
ms_off 1290987968 ROTATOR
ms_off 1290987968 AZIMUTH
ms_off 1290987968 ALTITUDE
ms_off 1290988008 AZIMUTH
ms_off 1290988008 ALTITUDE
ms_off 1290988008 ROTATOR
ms_on 1290988008 AZIMUTH
ms_on 1290988009 ALTITUDE
ms_on 1290988009 ROTATOR
AZ_FIDUCIAL 1290988020   21   27561724  27556338   27561462  27556186   107.313    440791  -463 -372
SET_FIDUCIAL_ERROR 1290988020 AZIMUTH 1  262
SET_FIDUCIAL_ERROR 1290988020 AZIMUTH 2  152
ms_off 1290988032 ROTATOR
ms_off 1290988032 AZIMUTH
ms_off 1290988032 ALTITUDE
ms_off 1290988111 AZIMUTH
ms_off 1290988111 ALTITUDE
ms_off 1290988111 ROTATOR
ms_on 1290988112 AZIMUTH
ms_on 1290988112 ALTITUDE
ms_on 1290988112 ROTATOR
ALT_FIDUCIAL 1290988120    6   22827596  22814596   22827531  22814530    89.314      -9409   -114300  8 154
SET_FIDUCIAL_ERROR 1290988120 ALTITUDE 1  65
SET_FIDUCIAL_ERROR 1290988120 ALTITUDE 2  66
ALT_FIDUCIAL 1290988134    5   19418678  19408000   19418554  19407933    76.695      -6817   -385273  73 220
SET_FIDUCIAL_ERROR 1290988134 ALTITUDE 1  124
SET_FIDUCIAL_ERROR 1290988134 ALTITUDE 2  67
ALT_FIDUCIAL 1290988144    4   15533194  15525190   15533222  15525216    60.917      -3576   -385713  197 287
SET_FIDUCIAL_ERROR 1290988144 ALTITUDE 1  -28
SET_FIDUCIAL_ERROR 1290988144 ALTITUDE 2  -26
ALT_FIDUCIAL 1290988153    3   11869351  11863870   11869330  11863902    46.687       -653   -385714  169 261
SET_FIDUCIAL_ERROR 1290988153 ALTITUDE 1  21
SET_FIDUCIAL_ERROR 1290988153 ALTITUDE 2  -32
ms_off 1290988175 AZIMUTH
ms_off 1290988175 ALTITUDE
ms_off 1290988175 ROTATOR
