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

initialTime   1394322327

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;

UPDATE_ENCODER 1394322327 AZIMUTH 1  31077256  0         0
UPDATE_ENCODER 1394322327 AZIMUTH 2  31069832  0         0
ms_off 1394322329 ALTITUDE
UPDATE_ENCODER 1394322329 ALTITUDE 1  7670968  -285         0
UPDATE_ENCODER 1394322329 ALTITUDE 2  7668363  -119         0
ms_off 1394322330 ROTATOR
UPDATE_ENCODER 1394322331 ROTATOR 1  -21  0         0
UPDATE_ENCODER 1394322331 ROTATOR 2  1903878934  0         0
ms_off 1394323114 AZIMUTH
ms_off 1394323114 ALTITUDE
ms_off 1394323114 ROTATOR
ms_on 1394323114 AZIMUTH
ms_on 1394323115 ALTITUDE
ms_on 1394323115 ROTATOR
ms_off 1394323121 ROTATOR
ms_off 1394323121 AZIMUTH
ms_off 1394323121 ALTITUDE
ms_off 1394324321 AZIMUTH
UPDATE_ENCODER 1394324321 AZIMUTH 1  31077258  0         0
UPDATE_ENCODER 1394324321 AZIMUTH 2  31069843  0         0
ms_off 1394324322 ALTITUDE
UPDATE_ENCODER 1394324323 ALTITUDE 1  7641115  0         0
UPDATE_ENCODER 1394324323 ALTITUDE 2  7638683  0         0
ms_off 1394324324 ROTATOR
UPDATE_ENCODER 1394324324 ROTATOR 1  -22  0         0
UPDATE_ENCODER 1394324324 ROTATOR 2  1904743572  0         0
ms_off 1394324332 AZIMUTH
UPDATE_ENCODER 1394324332 AZIMUTH 1  31077243  0         0
UPDATE_ENCODER 1394324332 AZIMUTH 2  31069830  0         0
ms_off 1394324333 ALTITUDE
UPDATE_ENCODER 1394324334 ALTITUDE 1  7601892  0         0
UPDATE_ENCODER 1394324334 ALTITUDE 2  7599617  0         0
ms_off 1394324335 ROTATOR
UPDATE_ENCODER 1394324335 ROTATOR 1  5323  0         0
UPDATE_ENCODER 1394324336 ROTATOR 2  1904747623  0         0
ms_off 1394324343 AZIMUTH
ms_off 1394324343 ALTITUDE
ms_off 1394324343 ROTATOR
ms_on 1394324343 AZIMUTH
ms_on 1394324343 ALTITUDE
ms_on 1394324343 ROTATOR
ALT_FIDUCIAL 1394324367    3   11869600  11864108   11870293  11865420    45.553       -420    385714  0 0
ALT_FIDUCIAL 1394324376    4   15533586  15525578   15534191  15527089    59.515      -3288    385714  0 0
ALT_FIDUCIAL 1394324386    5   19419312  19408660   19419833  19410362    73.585      -6178    385088  0 0
SET_FIDUCIAL_ERROR 1394324387 ALTITUDE 1  -521
SET_FIDUCIAL_ERROR 1394324387 ALTITUDE 2  -1702
ALT_FIDUCIAL 1394324400    6   22828312  22815324   22828183  22815423    88.355      -9212    113350  -521 -1702
SET_FIDUCIAL_ERROR 1394324400 ALTITUDE 1  129
SET_FIDUCIAL_ERROR 1394324400 ALTITUDE 2  -99
ms_off 1394324407 AZIMUTH
ms_off 1394324407 ALTITUDE
ms_off 1394324407 ROTATOR
ms_off 1394324413 AZIMUTH
ms_off 1394324413 ALTITUDE
ms_off 1394324413 ROTATOR
ms_on 1394324413 AZIMUTH
ms_on 1394324413 ALTITUDE
ms_on 1394324413 ROTATOR
ROT_FIDUCIAL 1394324422  -78   40188488  42592480   40618850 1944765567     3.664   40188453    229583  0 0
ROT_FIDUCIAL 1394324423   77   40989264  42592336   40989225 1944766321     5.857   40618850    289750  0 0
SET_FIDUCIAL_ERROR 1394324423 ROTATOR 1  39
SET_FIDUCIAL_ERROR 1394324423 ROTATOR 2  0
ROT_FIDUCIAL 1394324425  -77   40989264  42592336   41418863 1944766835     8.401   40989225    335076  39 0
ROT_FIDUCIAL 1394324426   76   41790048  42590936   41790047 1944767133    10.599   41418863    337778  39 0
SET_FIDUCIAL_ERROR 1394324426 ROTATOR 1  1
SET_FIDUCIAL_ERROR 1394324426 ROTATOR 2  0
ROT_FIDUCIAL 1394324427  -76   41790048  42590936   42218829 1944767519    13.138   41790047    311910  40 0
AZ_FIDUCIAL 1394324428   21   27561596  27556410   27561930  27556812   107.313   -513673  0 0
SET_FIDUCIAL_ERROR 1394324428 AZIMUTH 1  -334
SET_FIDUCIAL_ERROR 1394324428 AZIMUTH 2  -402
ROT_FIDUCIAL 1394324428   75   42590828  42590828   42590821 1944767914    15.340   42218829    256236  40 0
SET_FIDUCIAL_ERROR 1394324428 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1394324428 ROTATOR 2  0
ROT_FIDUCIAL 1394324430  -75   42590828  42590828   43018804 1944768337    17.874   42590821    172847  47 0
AZ_FIDUCIAL 1394324436   20   23703580  23701000   23703611  23701024    92.291   -513673  -334 -402
SET_FIDUCIAL_ERROR 1394324436 AZIMUTH 1  -31
SET_FIDUCIAL_ERROR 1394324436 AZIMUTH 2  -24
ms_off 1394324447 ROTATOR
ms_off 1394324447 AZIMUTH
ms_off 1394324447 ALTITUDE
ms_off 1394324453 AZIMUTH
ms_off 1394324453 ALTITUDE
ms_off 1394324454 ROTATOR
ms_on 1394324454 AZIMUTH
ms_on 1394324454 ALTITUDE
ms_on 1394324454 ROTATOR
ROT_FIDUCIAL 1394324463   75   42590828  42590828   42590844 1944778223    15.341   43018812   -258875  47 0
SET_FIDUCIAL_ERROR 1394324463 ROTATOR 1  -16
SET_FIDUCIAL_ERROR 1394324463 ROTATOR 2  0
ROT_FIDUCIAL 1394324464  -75   42590828  42590828   42218840 1944778850    13.138   42590844   -313961  31 0
ROT_FIDUCIAL 1394324466   76   41790048  42590936   41790059 1944779348    10.599   42218840   -337778  31 0
SET_FIDUCIAL_ERROR 1394324466 ROTATOR 1  -11
SET_FIDUCIAL_ERROR 1394324466 ROTATOR 2  0
ROT_FIDUCIAL 1394324467  -76   41790048  42590936   41418863 1944779855     8.401   41790059   -334358  20 0
AZ_FIDUCIAL 1394324468   20   23703580  23701000   23703165  23700698    92.289    513673  -365 -426
SET_FIDUCIAL_ERROR 1394324468 AZIMUTH 1  415
SET_FIDUCIAL_ERROR 1394324468 AZIMUTH 2  302
ROT_FIDUCIAL 1394324472   78   40188488  42592480   40188497 1944781797     1.116   40618892   -123763  20 0
SET_FIDUCIAL_ERROR 1394324472 ROTATOR 1  -9
SET_FIDUCIAL_ERROR 1394324472 ROTATOR 2  0
AZ_FIDUCIAL 1394324475   21   27561596  27556410   27561668  27556518   107.312    513674  50 -124
SET_FIDUCIAL_ERROR 1394324475 AZIMUTH 1  -72
SET_FIDUCIAL_ERROR 1394324476 AZIMUTH 2  -108
ms_off 1394324488 AZIMUTH
ms_off 1394324488 ALTITUDE
ms_off 1394324488 ROTATOR
ms_off 1394324495 AZIMUTH
ms_off 1394324495 ALTITUDE
ms_off 1394324495 ROTATOR
ms_on 1394324495 AZIMUTH
ms_on 1394324495 ALTITUDE
ms_on 1394324495 ROTATOR
ALT_FIDUCIAL 1394324504    6   22828312  22815324   22828191  22815189    89.139      -9373   -114043  -392 -1801
SET_FIDUCIAL_ERROR 1394324504 ALTITUDE 1  121
SET_FIDUCIAL_ERROR 1394324504 ALTITUDE 2  135
ALT_FIDUCIAL 1394324517    5   19419312  19408660   19419318  19408503    75.926      -6659   -385302  -271 -1666
SET_FIDUCIAL_ERROR 1394324517 ALTITUDE 1  -6
SET_FIDUCIAL_ERROR 1394324517 ALTITUDE 2  157
ALT_FIDUCIAL 1394324527    4   15533586  15525578   15533696  15525460    61.969      -3792   -385713  -277 -1509
SET_FIDUCIAL_ERROR 1394324527 ALTITUDE 1  -110
SET_FIDUCIAL_ERROR 1394324527 ALTITUDE 2  118
ALT_FIDUCIAL 1394324537    3   11869600  11864108   11869748  11864037    48.060       -935   -385714  -387 -1391
SET_FIDUCIAL_ERROR 1394324537 ALTITUDE 1  -148
SET_FIDUCIAL_ERROR 1394324537 ALTITUDE 2  71
ms_off 1394324558 ALTITUDE
ms_off 1394324558 ROTATOR
ms_off 1394324558 AZIMUTH
