version       mcpVersion="$Name: v6_6_16$|Nov 27 2012|20:44:05"  # MCP version
mjd           56489

initialTime   1373927872

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 1373927872 AZIMUTH
UPDATE_ENCODER 1373927872 AZIMUTH 1  31077507  0         0
UPDATE_ENCODER 1373927872 AZIMUTH 2  31070223  0         0
ms_off 1373927874 ALTITUDE
UPDATE_ENCODER 1373927874 ALTITUDE 1  7702552  -145         0
UPDATE_ENCODER 1373927874 ALTITUDE 2  7700012  21         0
ms_off 1373927876 ROTATOR
UPDATE_ENCODER 1373927876 ROTATOR 1  -40  0         0
UPDATE_ENCODER 1373927876 ROTATOR 2  -1389930412  0         0
ms_off 1373927886 AZIMUTH
ms_off 1373927886 ALTITUDE
ms_off 1373927886 ROTATOR
ms_on 1373927886 AZIMUTH
ms_on 1373927886 ALTITUDE
ms_on 1373927886 ROTATOR
ms_off 1373927890 ROTATOR
ms_off 1373927890 AZIMUTH
ms_off 1373927890 ALTITUDE
ms_off 1373928358 AZIMUTH
UPDATE_ENCODER 1373928358 AZIMUTH 1  31077538  0         0
UPDATE_ENCODER 1373928358 AZIMUTH 2  31070237  0         0
ms_off 1373928359 ALTITUDE
UPDATE_ENCODER 1373928360 ALTITUDE 1  7725926  0         0
UPDATE_ENCODER 1373928360 ALTITUDE 2  7722927  0         0
ms_off 1373928361 ROTATOR
UPDATE_ENCODER 1373928362 ROTATOR 1  5538  0         0
UPDATE_ENCODER 1373928362 ROTATOR 2  -1389843899  0         0
ms_off 1373928368 AZIMUTH
ms_off 1373928368 ALTITUDE
ms_off 1373928369 ROTATOR
ms_on 1373928369 AZIMUTH
ms_on 1373928369 ALTITUDE
ms_on 1373928369 ROTATOR
ALT_FIDUCIAL 1373928392    3   11869553  11864118   11868858  11863301    44.341       -171    385714  0 0
ALT_FIDUCIAL 1373928401    4   15533524  15525594   15532904  15525052    58.108      -2999    385713  0 0
ALT_FIDUCIAL 1373928411    5   19419260  19408680   19418646  19408366    73.774      -6217    385129  0 0
ALT_FIDUCIAL 1373928425    6   22828272  22815332   22827645  22815194    88.228      -9186    113134  0 0
ms_off 1373928432 AZIMUTH
ms_off 1373928432 ALTITUDE
ms_off 1373928432 ROTATOR
SET_FIDUCIAL_ERROR 1373928454 ALTITUDE 1  627
SET_FIDUCIAL_ERROR 1373928455 ALTITUDE 2  138
ms_off 1373928465 AZIMUTH
UPDATE_ENCODER 1373928466 AZIMUTH 1  31077661  0         0
UPDATE_ENCODER 1373928467 AZIMUTH 2  31070356  0         0
ms_off 1373928468 ALTITUDE
UPDATE_ENCODER 1373928468 ALTITUDE 1  23142999  627         0
UPDATE_ENCODER 1373928469 ALTITUDE 2  23129842  138         0
ms_off 1373928470 ROTATOR
UPDATE_ENCODER 1373928470 ROTATOR 1  9713  0         0
UPDATE_ENCODER 1373928470 ROTATOR 2  -1389851234  0         0
ms_off 1373928485 AZIMUTH
ms_off 1373928485 ALTITUDE
ms_off 1373928485 ROTATOR
ms_on 1373928485 AZIMUTH
ms_on 1373928485 ALTITUDE
ms_on 1373928485 ROTATOR
ROT_FIDUCIAL 1373928495   77   40989256  42630048   40989076 -1349848040     5.856   40618694    288695  0 0
SET_FIDUCIAL_ERROR 1373928495 ROTATOR 1  180
SET_FIDUCIAL_ERROR 1373928495 ROTATOR 2  0
ROT_FIDUCIAL 1373928496  -77   40989256  42630048   41418856 -1349848082     8.401   40989076    334813  180 0
ROT_FIDUCIAL 1373928497   76   41790032  42592404   41790044 -1349847816    10.599   41418856    337778  180 0
SET_FIDUCIAL_ERROR 1373928498 ROTATOR 1  -12
SET_FIDUCIAL_ERROR 1373928498 ROTATOR 2  0
ROT_FIDUCIAL 1373928499  -76   41790032  42592404   42218814 -1349847607    13.138   41790044    337778  168 0
ROT_FIDUCIAL 1373928500   75   42590828  42590828   42590816 -1349847487    15.340   42218814    337778  168 0
SET_FIDUCIAL_ERROR 1373928500 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1373928500 ROTATOR 2  0
ROT_FIDUCIAL 1373928501  -75   42590828  42590828   43018806 -1349847251    17.875   42590816    337778  180 0
ROT_FIDUCIAL 1373928502   74   43391608  42588824   43391603 -1349847031    20.082   43018806    337778  180 0
SET_FIDUCIAL_ERROR 1373928503 ROTATOR 1  5
SET_FIDUCIAL_ERROR 1373928504 ROTATOR 2  0
ROT_FIDUCIAL 1373928506  -73   44192400  42586884   44618781 -1349846700    27.348   44192390    326178  185 0
ROT_FIDUCIAL 1373928507   72   44993188  42584728   44993181 -1349846462    29.565   44618781    277453  185 0
SET_FIDUCIAL_ERROR 1373928507 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1373928508 ROTATOR 2  0
ROT_FIDUCIAL 1373928509  -72   44993188  42584728   45418798 -1349846176    32.085   44993181    202508  192 0
ROT_FIDUCIAL 1373928511   71   45793968  42582544   45793996 -1349845768    34.307   45418798     97480  192 0
SET_FIDUCIAL_ERROR 1373928512 ROTATOR 1  -28
SET_FIDUCIAL_ERROR 1373928512 ROTATOR 2  0
AZ_FIDUCIAL 1373928516   19   19853640  19853640   19854037  19854201    77.301   -244636  0 0
SET_FIDUCIAL_ERROR 1373928516 AZIMUTH 1  -397
SET_FIDUCIAL_ERROR 1373928516 AZIMUTH 2  -561
ms_off 1373928522 AZIMUTH
ms_off 1373928522 ALTITUDE
ms_off 1373928522 ROTATOR
ms_off 1373928529 AZIMUTH
ms_off 1373928530 ALTITUDE
ms_off 1373928530 ROTATOR
ms_on 1373928531 AZIMUTH
ms_on 1373928531 ALTITUDE
ms_on 1373928531 ROTATOR
AZ_FIDUCIAL 1373928537   19   19853640  19853640   19853208  19853257    77.298    247530  -397 -561
SET_FIDUCIAL_ERROR 1373928537 AZIMUTH 1  432
SET_FIDUCIAL_ERROR 1373928537 AZIMUTH 2  383
BAD_DIO316 1373928537 10
ROT_FIDUCIAL 1373928540  -72   44993188  42584728   44618794 -1349841620    27.348   44993192   -327137  164 0
ROT_FIDUCIAL 1373928542   73   44192400  42586884   44192400 -1349841426    24.823   44618794   -337778  164 0
ROT_FIDUCIAL 1373928543  -73   44192400  42586884   43818818 -1349841256    22.611   44192400   -337778  164 0
ROT_FIDUCIAL 1373928544   74   43391608  42588824   43391617 -1349841081    20.082   43818818   -337778  164 0
SET_FIDUCIAL_ERROR 1373928544 ROTATOR 1  -9
SET_FIDUCIAL_ERROR 1373928544 ROTATOR 2  0
ROT_FIDUCIAL 1373928545  -74   43391608  42588824   43018825 -1349840912    17.875   43391617   -337778  155 0
AZ_FIDUCIAL 1373928546   20   23703668  23701100   23703688  23701194    92.290    513681  35 -178
SET_FIDUCIAL_ERROR 1373928546 AZIMUTH 1  -20
SET_FIDUCIAL_ERROR 1373928546 AZIMUTH 2  -94
ROT_FIDUCIAL 1373928549   76   41790032  42592404   41790051 -1349840240    10.599   42218831   -337778  155 0
SET_FIDUCIAL_ERROR 1373928549 ROTATOR 1  -19
SET_FIDUCIAL_ERROR 1373928549 ROTATOR 2  0
ROT_FIDUCIAL 1373928550  -76   41790032  42592404   41418844 -1349840141     8.401   41790051   -334164  136 0
AZ_FIDUCIAL 1373928553   21   27561732  27556556   27561790  27556651   107.311    513681  15 -272
SET_FIDUCIAL_ERROR 1373928554 AZIMUTH 1  -58
SET_FIDUCIAL_ERROR 1373928555 AZIMUTH 2  -95
ms_off 1373928566 AZIMUTH
ms_off 1373928566 ALTITUDE
ms_off 1373928566 ROTATOR
ms_off 1373928575 AZIMUTH
ms_off 1373928576 ALTITUDE
ms_off 1373928576 ROTATOR
ms_on 1373928576 AZIMUTH
ms_on 1373928576 ALTITUDE
ms_on 1373928576 ROTATOR
ALT_FIDUCIAL 1373928584    6   22828272  22815332   22828099  22815124    88.657      -9274   -113914  0 0
SET_FIDUCIAL_ERROR 1373928585 ALTITUDE 1  173
SET_FIDUCIAL_ERROR 1373928585 ALTITUDE 2  208
ALT_FIDUCIAL 1373928598    5   19419260  19408680   19419168  19408458    76.837      -6846   -385273  173 208
SET_FIDUCIAL_ERROR 1373928598 ALTITUDE 1  92
SET_FIDUCIAL_ERROR 1373928598 ALTITUDE 2  222
ALT_FIDUCIAL 1373928608    4   15533524  15525594   15533525  15525413    61.282      -3651   -385713  265 430
SET_FIDUCIAL_ERROR 1373928608 ALTITUDE 1  -1
SET_FIDUCIAL_ERROR 1373928608 ALTITUDE 2  181
ALT_FIDUCIAL 1373928618    3   11869553  11864118   11869551  11863972    47.437       -807   -385714  264 611
SET_FIDUCIAL_ERROR 1373928618 ALTITUDE 1  2
SET_FIDUCIAL_ERROR 1373928618 ALTITUDE 2  146
ms_off 1373928639 AZIMUTH
ms_off 1373928639 ALTITUDE
ms_off 1373928639 ROTATOR
