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

initialTime   1359328363

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 1359328363 AZIMUTH
ms_off 1359328363 ALTITUDE
ms_off 1359328363 ROTATOR
ms_on 1359328363 AZIMUTH
ms_on 1359328363 ALTITUDE
ms_on 1359328363 ROTATOR
ms_off 1359328397 AZIMUTH
UPDATE_ENCODER 1359328398 AZIMUTH 1  31077160  0         0
UPDATE_ENCODER 1359328398 AZIMUTH 2  31069694  0         0
ms_off 1359328399 ALTITUDE
UPDATE_ENCODER 1359328399 ALTITUDE 1  7720178  25         0
UPDATE_ENCODER 1359328399 ALTITUDE 2  7716880  72         0
ms_off 1359328401 ROTATOR
UPDATE_ENCODER 1359328401 ROTATOR 1  15  0         0
UPDATE_ENCODER 1359328401 ROTATOR 2  164858141  0         0
ms_off 1359328407 AZIMUTH
ms_off 1359328407 ALTITUDE
ms_off 1359328408 ROTATOR
ms_on 1359328408 AZIMUTH
ms_on 1359328408 ALTITUDE
ms_on 1359328408 ROTATOR
ms_off 1359328411 ALTITUDE
ms_off 1359328411 AZIMUTH
ms_off 1359328412 ROTATOR
ms_off 1359330473 AZIMUTH
UPDATE_ENCODER 1359330473 AZIMUTH 1  31077126  0         0
UPDATE_ENCODER 1359330473 AZIMUTH 2  31069681  0         0
ms_off 1359330475 ALTITUDE
UPDATE_ENCODER 1359330475 ALTITUDE 1  7720508  0         0
UPDATE_ENCODER 1359330475 ALTITUDE 2  7717166  0         0
ms_off 1359330477 ROTATOR
UPDATE_ENCODER 1359330477 ROTATOR 1  4177  0         0
UPDATE_ENCODER 1359330477 ROTATOR 2  168634401  0         0
ms_off 1359330493 AZIMUTH
ms_off 1359330493 ALTITUDE
ms_off 1359330493 ROTATOR
ms_on 1359330494 AZIMUTH
ms_on 1359330494 ALTITUDE
ms_on 1359330494 ROTATOR
ALT_FIDUCIAL 1359330517    3   11869589  11864125   11868192  11862047    44.360       -175    381149  0 0
ms_off 1359330536 ALTITUDE
ms_off 1359330536 ROTATOR
ms_off 1359330536 AZIMUTH
ms_off 1359330547 ALTITUDE
UPDATE_ENCODER 1359330548 ALTITUDE 1  15428508  0         0
UPDATE_ENCODER 1359330548 ALTITUDE 2  15419947  0         0
ms_off 1359330549 ROTATOR
UPDATE_ENCODER 1359330549 ROTATOR 1  0  0         0
UPDATE_ENCODER 1359330549 ROTATOR 2  168768759  0         0
ms_off 1359330551 AZIMUTH
UPDATE_ENCODER 1359330551 AZIMUTH 1  31077288  0         0
UPDATE_ENCODER 1359330552 AZIMUTH 2  31069871  0         0
SET_FIDUCIAL_ERROR 1359330577 ALTITUDE 1  1397
SET_FIDUCIAL_ERROR 1359330577 ALTITUDE 2  2078
ms_off 1359330637 AZIMUTH
ms_off 1359330637 ALTITUDE
ms_off 1359330638 ROTATOR
ms_on 1359330638 AZIMUTH
ms_on 1359330638 ALTITUDE
ms_on 1359330638 ROTATOR
ALT_FIDUCIAL 1359330645    4   15533607  15525604   15533608  15525666    59.909      -3369     85371  1397 2078
SET_FIDUCIAL_ERROR 1359330645 ALTITUDE 1  -1
SET_FIDUCIAL_ERROR 1359330645 ALTITUDE 2  -62
ALT_FIDUCIAL 1359330661    5   19419330  19408634   19419332  19408679    74.140      -6292    385028  1396 2016
SET_FIDUCIAL_ERROR 1359330661 ALTITUDE 1  -2
SET_FIDUCIAL_ERROR 1359330661 ALTITUDE 2  -45
ALT_FIDUCIAL 1359330674    6   22828354  22815280   22828310  22815234    88.545      -9251    113241  1394 1971
SET_FIDUCIAL_ERROR 1359330674 ALTITUDE 1  44
SET_FIDUCIAL_ERROR 1359330674 ALTITUDE 2  46
ms_off 1359330681 ALTITUDE
ms_off 1359330681 ROTATOR
ms_off 1359330681 AZIMUTH
ms_off 1359330694 AZIMUTH
ms_off 1359330695 ALTITUDE
ms_off 1359330695 ROTATOR
ms_on 1359330695 AZIMUTH
ms_on 1359330695 ALTITUDE
ms_on 1359330695 ROTATOR
AZ_FIDUCIAL 1359330710   21   27561656  27556382   27561976  27556810   107.313   -438205  0 0
SET_FIDUCIAL_ERROR 1359330710 AZIMUTH 1  -320
SET_FIDUCIAL_ERROR 1359330710 AZIMUTH 2  -428
ms_off 1359330719 ALTITUDE
ms_off 1359330719 ROTATOR
ms_off 1359330719 AZIMUTH
ms_off 1359330731 AZIMUTH
ms_off 1359330731 ALTITUDE
ms_off 1359330732 ROTATOR
ms_on 1359330732 AZIMUTH
ms_on 1359330732 ALTITUDE
ms_on 1359330732 ROTATOR
AZ_FIDUCIAL 1359330743   21   27561656  27556382   27561330  27556179   107.310    440156  -320 -428
SET_FIDUCIAL_ERROR 1359330743 AZIMUTH 1  326
SET_FIDUCIAL_ERROR 1359330744 AZIMUTH 2  203
ms_off 1359330756 AZIMUTH
ms_off 1359330756 ALTITUDE
ms_off 1359330756 ROTATOR
ms_off 1359330771 AZIMUTH
ms_off 1359330771 ALTITUDE
ms_off 1359330771 ROTATOR
ms_on 1359330772 AZIMUTH
ms_on 1359330772 ALTITUDE
ms_on 1359330772 ROTATOR
ROT_FIDUCIAL 1359330780  -77   40989280  42568432   40618909 209190571     3.665   40189302    229847  0 0
ROT_FIDUCIAL 1359330782   77   40989280  42568432   40989305 209193446     5.858   40618909    289750  0 0
SET_FIDUCIAL_ERROR 1359330782 ROTATOR 1  -25
SET_FIDUCIAL_ERROR 1359330782 ROTATOR 2  0
ROT_FIDUCIAL 1359330783  -77   40989280  42568432   41418889 209196915     8.401   40989305    335159  -25 0
ROT_FIDUCIAL 1359330784   76   41790040  42589844   41790069 209199642    10.599   41418889    337778  -25 0
SET_FIDUCIAL_ERROR 1359330784 ROTATOR 1  -29
SET_FIDUCIAL_ERROR 1359330784 ROTATOR 2  0
ROT_FIDUCIAL 1359330785  -76   41790040  42589844   42218831 209202293    13.138   41790069    337778  -54 0
ROT_FIDUCIAL 1359330786   75   42590828  42590828   42590835 209204307    15.340   42218831    337778  -54 0
SET_FIDUCIAL_ERROR 1359330786 ROTATOR 1  -7
SET_FIDUCIAL_ERROR 1359330787 ROTATOR 2  0
ROT_FIDUCIAL 1359330788  -75   42590828  42590828   43018810 209206424    17.875   42590835    337778  -61 0
ROT_FIDUCIAL 1359330789   74   43391608  42591804   43391602 209208845    20.082   43018810    337778  -61 0
SET_FIDUCIAL_ERROR 1359330789 ROTATOR 1  6
SET_FIDUCIAL_ERROR 1359330789 ROTATOR 2  0
ROT_FIDUCIAL 1359330790  -74   43391608  42591804   43818815 209211247    22.611   43391602    321513  -55 0
ROT_FIDUCIAL 1359330791   73   44192408  42592288   44192403 209213201    24.823   43818815    269430  -55 0
SET_FIDUCIAL_ERROR 1359330791 ROTATOR 1  5
SET_FIDUCIAL_ERROR 1359330791 ROTATOR 2  0
ROT_FIDUCIAL 1359330793  -73   44192408  42592288   44618795 209216176    27.348   44192403    193167  -50 0
ROT_FIDUCIAL 1359330796   72   44993200  42592392   44993194 209221779    29.565   44618795     76264  -50 0
SET_FIDUCIAL_ERROR 1359330796 ROTATOR 1  6
SET_FIDUCIAL_ERROR 1359330796 ROTATOR 2  0
ms_off 1359330798 AZIMUTH
ms_off 1359330798 ALTITUDE
ms_off 1359330798 ROTATOR
ms_off 1359330805 AZIMUTH
ms_off 1359330805 ALTITUDE
ms_off 1359330806 ROTATOR
ms_on 1359330806 AZIMUTH
ms_on 1359330806 ALTITUDE
ms_on 1359330806 ROTATOR
ROT_FIDUCIAL 1359330814  -72   44993200  42592392   44618815 209253338    27.348   44993221   -194750  -44 0
ROT_FIDUCIAL 1359330815   73   44192408  42592288   44192418 209256802    24.824   44618815   -272861  -44 0
SET_FIDUCIAL_ERROR 1359330815 ROTATOR 1  -10
SET_FIDUCIAL_ERROR 1359330816 ROTATOR 2  0
ROT_FIDUCIAL 1359330817  -73   44192408  42592288   43818817 209259583    22.611   44192418   -323129  -54 0
ROT_FIDUCIAL 1359330818   74   43391608  42591804   43391597 209261889    20.082   43818817   -337778  -54 0
SET_FIDUCIAL_ERROR 1359330818 ROTATOR 1  11
SET_FIDUCIAL_ERROR 1359330818 ROTATOR 2  0
ROT_FIDUCIAL 1359330819  -74   43391608  42591804   43018807 209263735    17.875   43391597   -337778  -43 0
ROT_FIDUCIAL 1359330820   75   42590828  42590828   42590822 209265955    15.340   43018807   -337778  -43 0
SET_FIDUCIAL_ERROR 1359330820 ROTATOR 1  6
SET_FIDUCIAL_ERROR 1359330820 ROTATOR 2  0
ROT_FIDUCIAL 1359330821  -75   42590828  42590828   42218831 209267661    13.138   42590822   -337778  -37 0
ROT_FIDUCIAL 1359330823   76   41790040  42589844   41790036 209269601    10.599   42218831   -337778  -37 0
SET_FIDUCIAL_ERROR 1359330823 ROTATOR 1  4
SET_FIDUCIAL_ERROR 1359330823 ROTATOR 2  0
ROT_FIDUCIAL 1359330824  -76   41790040  42589844   41418853 209271328     8.401   41790036   -334261  -33 0
ROT_FIDUCIAL 1359330825   77   40989280  42568432   40989250 209273707     5.857   41418853   -287901  -33 0
SET_FIDUCIAL_ERROR 1359330825 ROTATOR 1  30
SET_FIDUCIAL_ERROR 1359330825 ROTATOR 2  0
ROT_FIDUCIAL 1359330827  -77   40989280  42568432   40618896 209276711     3.665   40989250   -226943  -3 0
ROT_FIDUCIAL 1359330829   78   40188504  42404088   40188501 209280704     1.116   40618896   -124026  -3 0
SET_FIDUCIAL_ERROR 1359330829 ROTATOR 1  3
SET_FIDUCIAL_ERROR 1359330829 ROTATOR 2  0
ms_off 1359330832 AZIMUTH
ms_off 1359330832 ALTITUDE
ms_off 1359330832 ROTATOR
ms_off 1359330843 AZIMUTH
ms_off 1359330843 ALTITUDE
ms_off 1359330844 ROTATOR
ms_on 1359330844 AZIMUTH
ms_on 1359330844 ALTITUDE
ms_on 1359330844 ROTATOR
ALT_FIDUCIAL 1359330852    6   22828354  22815280   22828259  22815159    89.090      -9363   -114043  1438 2017
SET_FIDUCIAL_ERROR 1359330852 ALTITUDE 1  95
SET_FIDUCIAL_ERROR 1359330852 ALTITUDE 2  121
ALT_FIDUCIAL 1359330866    5   19419330  19408634   19419276  19408596    75.912      -6656   -385302  1533 2138
SET_FIDUCIAL_ERROR 1359330866 ALTITUDE 1  54
SET_FIDUCIAL_ERROR 1359330866 ALTITUDE 2  38
ALT_FIDUCIAL 1359330876    4   15533607  15525604   15533618  15525608    62.066      -3812   -385714  1587 2176
SET_FIDUCIAL_ERROR 1359330876 ALTITUDE 1  -11
SET_FIDUCIAL_ERROR 1359330876 ALTITUDE 2  -4
ALT_FIDUCIAL 1359330885    3   11869589  11864125   11869619  11864147    48.045       -932   -385714  1576 2172
SET_FIDUCIAL_ERROR 1359330886 ALTITUDE 1  -30
SET_FIDUCIAL_ERROR 1359330886 ALTITUDE 2  -22
ms_off 1359330907 AZIMUTH
ms_off 1359330907 ALTITUDE
ms_off 1359330907 ROTATOR
ALT_FIDUCIAL 1359391623    3   11869589  11864125   11869808  11864364    45.426       -394    349979  1546 2150
ALT_FIDUCIAL 1359391634    4   15533607  15525604   15533818  15525889    59.544      -3294    349979  1546 2150
ALT_FIDUCIAL 1359391645    5   19419330  19408634   19419520  19408924    73.711      -6204    349979  1546 2150
ALT_FIDUCIAL 1359391657    6   22828354  22815280   22828505  22815521    88.194      -9179    124836  1546 2150
