version       mcpVersion="$Name: v6_6_11$|Dec 23 2011|21:16:25"  # MCP version
mjd           56061

initialTime   1336957431

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 1336957431 AZIMUTH
UPDATE_ENCODER 1336957432 AZIMUTH 1  31077446  -56         0
UPDATE_ENCODER 1336957432 AZIMUTH 2  31069850  -248         0
ms_off 1336957433 ALTITUDE
UPDATE_ENCODER 1336957433 ALTITUDE 1  7747432  119         0
UPDATE_ENCODER 1336957433 ALTITUDE 2  7744708  -216         0
ms_off 1336957435 ROTATOR
UPDATE_ENCODER 1336957435 ROTATOR 1  4113  221         0
UPDATE_ENCODER 1336957435 ROTATOR 2  931665021  0         0
ms_off 1336957447 AZIMUTH
UPDATE_ENCODER 1336957447 AZIMUTH 1  31077375  0         0
UPDATE_ENCODER 1336957447 AZIMUTH 2  31069779  0         0
ms_off 1336957448 ALTITUDE
UPDATE_ENCODER 1336957448 ALTITUDE 1  7717535  0         0
UPDATE_ENCODER 1336957448 ALTITUDE 2  7714510  0         0
ms_off 1336957450 ROTATOR
UPDATE_ENCODER 1336957450 ROTATOR 1  -42  0         0
UPDATE_ENCODER 1336957450 ROTATOR 2  931668163  0         0
ms_off 1336957582 AZIMUTH
UPDATE_ENCODER 1336957582 AZIMUTH 1  31077363  0         0
UPDATE_ENCODER 1336957582 AZIMUTH 2  31069770  0         0
ms_off 1336957583 ALTITUDE
UPDATE_ENCODER 1336957584 ALTITUDE 1  7612813  0         0
UPDATE_ENCODER 1336957584 ALTITUDE 2  7609811  0         0
ms_off 1336957585 ROTATOR
UPDATE_ENCODER 1336957585 ROTATOR 1  -51  0         0
UPDATE_ENCODER 1336957585 ROTATOR 2  931700167  0         0
ms_off 1336957594 AZIMUTH
ms_off 1336957594 ALTITUDE
ms_off 1336957594 ROTATOR
ms_on 1336957595 AZIMUTH
ms_on 1336957595 ALTITUDE
ms_on 1336957595 ROTATOR
ALT_FIDUCIAL 1336957618    3   11869383  11863991   11872029  11865824    45.046       -316    385713  0 0
ALT_FIDUCIAL 1336957628    4   15533313  15525438   15536028  15527524    58.941      -3170    385713  0 0
ALT_FIDUCIAL 1336957638    5   19418936  19408392   19421742  19410757    74.665      -6400    385105  0 0
ALT_FIDUCIAL 1336957651    6   22827900  22814990   22830709  22817542    87.970      -9133    112511  0 0
ms_off 1336957658 AZIMUTH
ms_off 1336957658 ROTATOR
ms_off 1336957658 ALTITUDE
SET_FIDUCIAL_ERROR 1336957688 ALTITUDE 1  -2809
SET_FIDUCIAL_ERROR 1336957688 ALTITUDE 2  -2552
ms_off 1336957719 AZIMUTH
ms_off 1336957719 ALTITUDE
ms_off 1336957719 ROTATOR
ms_on 1336957719 AZIMUTH
ms_on 1336957719 ALTITUDE
ms_on 1336957720 ROTATOR
AZ_FIDUCIAL 1336957734   21   27559024  27553748   27561613  27556316   107.311   -513676  0 0
AZ_FIDUCIAL 1336957742   20   23703614  23701000   23703645  23700920    92.290   -513676  0 0
SET_FIDUCIAL_ERROR 1336957742 AZIMUTH 1  -31
SET_FIDUCIAL_ERROR 1336957742 AZIMUTH 2  80
ms_off 1336957753 ALTITUDE
ms_off 1336957753 ROTATOR
ms_off 1336957753 AZIMUTH
ms_off 1336957763 AZIMUTH
ms_off 1336957764 ALTITUDE
ms_off 1336957764 ROTATOR
ms_on 1336957764 AZIMUTH
ms_on 1336957764 ALTITUDE
ms_on 1336957764 ROTATOR
ROT_FIDUCIAL 1336957770   78   40188472  42589560   40188475 971738777     1.116   39818646    126403  0 0
SET_FIDUCIAL_ERROR 1336957770 ROTATOR 1  -3
SET_FIDUCIAL_ERROR 1336957770 ROTATOR 2  0
ROT_FIDUCIAL 1336957773  -78   40188472  42589560   40618918 971739480     3.665   40188475    229583  -3 0
ROT_FIDUCIAL 1336957774   77   40989340  42589584   40989331 971739754     5.858   40618918    289750  -3 0
SET_FIDUCIAL_ERROR 1336957774 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1336957774 ROTATOR 2  0
ROT_FIDUCIAL 1336957775  -77   40989340  42589584   41418881 971740139     8.401   40989331    335159  6 0
ROT_FIDUCIAL 1336957776   76   41790032  42590800   41790033 971740443    10.599   41418881    337778  6 0
SET_FIDUCIAL_ERROR 1336957776 ROTATOR 1  -1
SET_FIDUCIAL_ERROR 1336957777 ROTATOR 2  0
ROT_FIDUCIAL 1336957778  -76   41790032  42590800   42218828 971740822    13.138   41790033    311389  5 0
AZ_FIDUCIAL 1336957778   20   23703614  23701000   23703229  23700689    92.289    513676  -31 80
SET_FIDUCIAL_ERROR 1336957778 AZIMUTH 1  385
SET_FIDUCIAL_ERROR 1336957778 AZIMUTH 2  311
ROT_FIDUCIAL 1336957779   75   42590828  42590828   42590836 971741153    15.340   42218828    256236  5 0
SET_FIDUCIAL_ERROR 1336957779 ROTATOR 1  -8
SET_FIDUCIAL_ERROR 1336957779 ROTATOR 2  0
ROT_FIDUCIAL 1336957781  -75   42590828  42590828   43018785 971741624    17.874   42590836    172847  -3 0
AZ_FIDUCIAL 1336957786   21   27559024  27553748   27561759  27556576   107.312    513676  354 391
ms_off 1336957798 ROTATOR
ms_off 1336957798 AZIMUTH
ms_off 1336957800 ALTITUDE
ms_off 1336957818 AZIMUTH
ms_off 1336957818 ALTITUDE
ms_off 1336957818 ROTATOR
ms_on 1336957818 AZIMUTH
ms_on 1336957818 ALTITUDE
ms_on 1336957818 ROTATOR
ALT_FIDUCIAL 1336957827    6   22827900  22814990   22827803  22814915    88.895      -9323   -114171  -2809 -2552
SET_FIDUCIAL_ERROR 1336957827 ALTITUDE 1  97
SET_FIDUCIAL_ERROR 1336957827 ALTITUDE 2  75
ROT_FIDUCIAL 1336957828   75   42590828  42590828   42590849 971751566    15.341   43018801   -257819  -3 0
SET_FIDUCIAL_ERROR 1336957828 ROTATOR 1  -21
SET_FIDUCIAL_ERROR 1336957828 ROTATOR 2  0
ROT_FIDUCIAL 1336957829  -75   42590828  42590828   42218819 971751808    13.138   42590849   -312972  -24 0
ROT_FIDUCIAL 1336957830   76   41790032  42590800   41790007 971751976    10.599   42218819   -337777  -24 0
SET_FIDUCIAL_ERROR 1336957830 ROTATOR 1  25
SET_FIDUCIAL_ERROR 1336957830 ROTATOR 2  0
ROT_FIDUCIAL 1336957831  -76   41790032  42590800   41418872 971752249     8.401   41790007   -334448  1 0
ROT_FIDUCIAL 1336957833   77   40989340  42589584   40989336 971752474     5.858   41418872   -287375  1 0
SET_FIDUCIAL_ERROR 1336957833 ROTATOR 1  4
SET_FIDUCIAL_ERROR 1336957833 ROTATOR 2  0
ROT_FIDUCIAL 1336957834  -77   40989340  42589584   40618939 971752643     3.665   40989336   -227208  5 0
ROT_FIDUCIAL 1336957836   78   40188472  42589560   40188513 971753080     1.116   40618939   -124028  5 0
SET_FIDUCIAL_ERROR 1336957837 ROTATOR 1  -41
SET_FIDUCIAL_ERROR 1336957837 ROTATOR 2  0
ALT_FIDUCIAL 1336957840    5   19418936  19408392   19418850  19408142    77.362      -6954   -385273  -2712 -2477
SET_FIDUCIAL_ERROR 1336957840 ALTITUDE 1  86
SET_FIDUCIAL_ERROR 1336957840 ALTITUDE 2  250
ALT_FIDUCIAL 1336957850    4   15533313  15525438   15533234  15525210    61.808      -3759   -385713  -2626 -2227
SET_FIDUCIAL_ERROR 1336957850 ALTITUDE 1  79
SET_FIDUCIAL_ERROR 1336957851 ALTITUDE 2  228
ALT_FIDUCIAL 1336957860    3   11869383  11863991   11869331  11863806    47.997       -922   -385714  -2547 -1999
SET_FIDUCIAL_ERROR 1336957860 ALTITUDE 1  52
SET_FIDUCIAL_ERROR 1336957860 ALTITUDE 2  185
ms_off 1336957881 ALTITUDE
ms_off 1336957881 ROTATOR
ms_off 1336957881 AZIMUTH
