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

initialTime   1356990309

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 1356990309 AZIMUTH
ms_off 1356990309 ALTITUDE
ms_off 1356990310 ROTATOR
ms_on 1356990310 AZIMUTH
ms_on 1356990310 ALTITUDE
ms_on 1356990310 ROTATOR
ms_off 1356990312 ALTITUDE
ms_off 1356990313 ROTATOR
ms_off 1356990313 AZIMUTH
ms_off 1356998442 AZIMUTH
UPDATE_ENCODER 1356998442 AZIMUTH 1  31077263  0         0
UPDATE_ENCODER 1356998442 AZIMUTH 2  31069620  0         0
ms_off 1356998443 ALTITUDE
UPDATE_ENCODER 1356998444 ALTITUDE 1  7722393  122         0
UPDATE_ENCODER 1356998444 ALTITUDE 2  7719998  -372         0
ms_off 1356998445 ROTATOR
UPDATE_ENCODER 1356998446 ROTATOR 1  4470  0         0
UPDATE_ENCODER 1356998446 ROTATOR 2  2109888076  0         0
ms_off 1356998457 AZIMUTH
UPDATE_ENCODER 1356998457 AZIMUTH 1  31077257  0         0
UPDATE_ENCODER 1356998457 AZIMUTH 2  31069695  0         0
ms_off 1356998458 ALTITUDE
UPDATE_ENCODER 1356998458 ALTITUDE 1  7722392  0         0
UPDATE_ENCODER 1356998458 ALTITUDE 2  7720007  0         0
ms_off 1356998459 ROTATOR
UPDATE_ENCODER 1356998459 ROTATOR 1  4470  0         0
UPDATE_ENCODER 1356998459 ROTATOR 2  2109898828  0         0
ms_off 1356998480 AZIMUTH
ms_off 1356998480 ALTITUDE
ms_off 1356998480 ROTATOR
ms_on 1356998480 AZIMUTH
ms_on 1356998480 ALTITUDE
ms_on 1356998480 ROTATOR
ROT_FIDUCIAL 1356998489  -77   40989280  42568432   40618949 2147483647     3.665   40189348    228264  0 0
ROT_FIDUCIAL 1356998490   77   40989280  42568432   40989348 2147483647     5.858   40618949    289222  0 0
SET_FIDUCIAL_ERROR 1356998490 ROTATOR 1  -68
SET_FIDUCIAL_ERROR 1356998490 ROTATOR 2  0
ROT_FIDUCIAL 1356998492  -77   40989280  42568432   41418880 2147483647     8.401   40989348    335240  -68 0
ROT_FIDUCIAL 1356998493   76   41790040  42589844   41790062 2147483647    10.599   41418880    337777  -68 0
SET_FIDUCIAL_ERROR 1356998493 ROTATOR 1  -22
SET_FIDUCIAL_ERROR 1356998493 ROTATOR 2  0
ROT_FIDUCIAL 1356998494  -76   41790040  42589844   42218824 2147483647    13.138   41790062    337777  -90 0
ROT_FIDUCIAL 1356998495   75   42590828  42590828   42590827 2147483647    15.340   42218824    337777  -90 0
SET_FIDUCIAL_ERROR 1356998495 ROTATOR 1  1
SET_FIDUCIAL_ERROR 1356998495 ROTATOR 2  0
ROT_FIDUCIAL 1356998496  -75   42590828  42590828   43018814 2147483647    17.875   42590827    337777  -89 0
ROT_FIDUCIAL 1356998497   74   43391608  42591804   43391598 2147483647    20.082   43018814    337778  -89 0
SET_FIDUCIAL_ERROR 1356998497 ROTATOR 1  10
SET_FIDUCIAL_ERROR 1356998497 ROTATOR 2  0
ROT_FIDUCIAL 1356998499  -74   43391608  42591804   43818811 2147483647    22.611   43391598    321903  -79 0
ROT_FIDUCIAL 1356998500   73   44192408  42592288   44192392 2147483647    24.823   43818811    269927  -79 0
SET_FIDUCIAL_ERROR 1356998500 ROTATOR 1  16
SET_FIDUCIAL_ERROR 1356998500 ROTATOR 2  0
ROT_FIDUCIAL 1356998502  -73   44192408  42592288   44618782 2147483647    27.348   44192392    192344  -63 0
ALT_FIDUCIAL 1356998503    3   11869589  11864125   11869742  11864378    44.165       -135    385714  0 0
SET_FIDUCIAL_ERROR 1356998503 ALTITUDE 1  -153
SET_FIDUCIAL_ERROR 1356998503 ALTITUDE 2  -253
ROT_FIDUCIAL 1356998504   72   44993200  42592392   44993165 2147483647    29.565   44618782     76233  -63 0
SET_FIDUCIAL_ERROR 1356998505 ROTATOR 1  35
SET_FIDUCIAL_ERROR 1356998505 ROTATOR 2  0
ALT_FIDUCIAL 1356998513    4   15533607  15525604   15533597  15525401    59.705      -3327    385714  -153 -253
SET_FIDUCIAL_ERROR 1356998513 ALTITUDE 1  10
SET_FIDUCIAL_ERROR 1356998513 ALTITUDE 2  203
ALT_FIDUCIAL 1356998523    5   19419330  19408634   19419291  19408384    73.550      -6171    385089  -143 -50
SET_FIDUCIAL_ERROR 1356998523 ALTITUDE 1  39
SET_FIDUCIAL_ERROR 1356998523 ALTITUDE 2  250
ALT_FIDUCIAL 1356998536    6   22828354  22815280   22828227  22815050    88.433      -9228    112838  -104 200
SET_FIDUCIAL_ERROR 1356998536 ALTITUDE 1  127
SET_FIDUCIAL_ERROR 1356998536 ALTITUDE 2  230
ms_off 1356998543 ALTITUDE
ms_off 1356998543 ROTATOR
ms_off 1356998543 AZIMUTH
ms_off 1356998549 AZIMUTH
ms_off 1356998549 ALTITUDE
ms_off 1356998549 ROTATOR
ms_on 1356998549 AZIMUTH
ms_on 1356998549 ALTITUDE
ms_on 1356998549 ROTATOR
AZ_FIDUCIAL 1356998556   22   31414452  31406518   31414395  31406624   122.312    186528  0 0
SET_FIDUCIAL_ERROR 1356998556 AZIMUTH 1  57
SET_FIDUCIAL_ERROR 1356998556 AZIMUTH 2  -106
ROT_FIDUCIAL 1356998557  -72   44993200  42592392   44618564 2147483647    27.347   44992977   -195278  -28 0
ROT_FIDUCIAL 1356998559   73   44192408  42592288   44192186 2147483647    24.822   44618564   -272069  -28 0
SET_FIDUCIAL_ERROR 1356998559 ROTATOR 1  222
SET_FIDUCIAL_ERROR 1356998559 ROTATOR 2  0
ROT_FIDUCIAL 1356998560  -73   44192408  42592288   43818821 2147483647    22.611   44192186   -323324  194 0
ROT_FIDUCIAL 1356998561   74   43391608  42591804   43391612 2147483647    20.082   43818821   -337778  194 0
SET_FIDUCIAL_ERROR 1356998562 ROTATOR 1  -4
SET_FIDUCIAL_ERROR 1356998562 ROTATOR 2  0
ROT_FIDUCIAL 1356998563  -74   43391608  42591804   43018822 2147483647    17.875   43391612   -337778  190 0
ROT_FIDUCIAL 1356998564   75   42590828  42590828   42590837 2147483647    15.340   43018822   -337778  190 0
SET_FIDUCIAL_ERROR 1356998564 ROTATOR 1  -9
SET_FIDUCIAL_ERROR 1356998564 ROTATOR 2  0
ROT_FIDUCIAL 1356998565  -75   42590828  42590828   42218832 2147483647    13.138   42590837   -337778  181 0
ROT_FIDUCIAL 1356998566   76   41790040  42589844   41790049 2147483647    10.599   42218832   -337778  181 0
SET_FIDUCIAL_ERROR 1356998566 ROTATOR 1  -9
SET_FIDUCIAL_ERROR 1356998566 ROTATOR 2  0
ROT_FIDUCIAL 1356998567  -76   41790040  42589844   41418845 2147483647     8.401   41790049   -334164  172 0
ROT_FIDUCIAL 1356998569   77   40989280  42568432   40989250 2147483647     5.857   41418845   -287903  172 0
SET_FIDUCIAL_ERROR 1356998569 ROTATOR 1  30
SET_FIDUCIAL_ERROR 1356998569 ROTATOR 2  0
ROT_FIDUCIAL 1356998570  -77   40989280  42568432   40618908 2147483647     3.665   40989250   -227208  202 0
ROT_FIDUCIAL 1356998573   78   40188504  42404088   40188520 2147483647     1.116   40618908   -124292  202 0
SET_FIDUCIAL_ERROR 1356998573 ROTATOR 1  -16
SET_FIDUCIAL_ERROR 1356998574 ROTATOR 2  0
ms_off 1356998576 AZIMUTH
ms_off 1356998577 ALTITUDE
ms_off 1356998578 ROTATOR
ms_off 1356998585 AZIMUTH
ms_off 1356998585 ALTITUDE
ms_off 1356998585 ROTATOR
ms_on 1356998585 AZIMUTH
ms_on 1356998586 ALTITUDE
ms_on 1356998586 ROTATOR
AZ_FIDUCIAL 1356998595   23   35271024  35260400   35271028  35260370   137.328   -311736  57 -106
SET_FIDUCIAL_ERROR 1356998595 AZIMUTH 1  -4
SET_FIDUCIAL_ERROR 1356998595 AZIMUTH 2  30
AZ_FIDUCIAL 1356998605   22   31414452  31406518   31414729  31406748   122.314   -184602  53 -76
SET_FIDUCIAL_ERROR 1356998605 AZIMUTH 1  -277
SET_FIDUCIAL_ERROR 1356998605 AZIMUTH 2  -230
ms_off 1356998609 AZIMUTH
ms_off 1356998609 ALTITUDE
ms_off 1356998609 ROTATOR
ms_off 1356998615 AZIMUTH
ms_off 1356998615 ALTITUDE
ms_off 1356998615 ROTATOR
ms_on 1356998616 AZIMUTH
ms_on 1356998616 ALTITUDE
ms_on 1356998616 ROTATOR
ALT_FIDUCIAL 1356998624    6   22828354  22815280   22828237  22815150    89.056      -9356   -113914  23 430
SET_FIDUCIAL_ERROR 1356998624 ALTITUDE 1  117
SET_FIDUCIAL_ERROR 1356998624 ALTITUDE 2  130
ALT_FIDUCIAL 1356998638    5   19419330  19408634   19419357  19408739    76.997      -6879   -385273  140 560
SET_FIDUCIAL_ERROR 1356998638 ALTITUDE 1  -27
SET_FIDUCIAL_ERROR 1356998638 ALTITUDE 2  -105
ALT_FIDUCIAL 1356998648    4   15533607  15525604   15533678  15525851    61.253      -3645   -385713  113 455
SET_FIDUCIAL_ERROR 1356998648 ALTITUDE 1  -71
SET_FIDUCIAL_ERROR 1356998648 ALTITUDE 2  -247
ALT_FIDUCIAL 1356998657    3   11869589  11864125   11869673  11864359    47.086       -735   -385714  42 208
SET_FIDUCIAL_ERROR 1356998657 ALTITUDE 1  -84
SET_FIDUCIAL_ERROR 1356998657 ALTITUDE 2  -234
ms_off 1356998679 ALTITUDE
ms_off 1356998679 AZIMUTH
ms_off 1356998679 ROTATOR
