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

initialTime   1362868148

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 1362868148 AZIMUTH
UPDATE_ENCODER 1362868148 AZIMUTH 1  31077129  319         0
UPDATE_ENCODER 1362868148 AZIMUTH 2  31069423  48         0
ms_off 1362868150 ALTITUDE
UPDATE_ENCODER 1362868150 ALTITUDE 1  7796463  60         0
UPDATE_ENCODER 1362868150 ALTITUDE 2  7793985  210         0
ms_off 1362868152 ROTATOR
UPDATE_ENCODER 1362868152 ROTATOR 1  29  -109         0
UPDATE_ENCODER 1362868152 ROTATOR 2  -677101916  0         0
ms_off 1362868158 AZIMUTH
ms_off 1362868158 ALTITUDE
ms_off 1362868158 ROTATOR
ms_on 1362868159 AZIMUTH
ms_on 1362868159 ALTITUDE
ms_on 1362868159 ROTATOR
ms_off 1362868165 ALTITUDE
ms_off 1362868165 ROTATOR
ms_off 1362868165 AZIMUTH
ms_off 1362872812 AZIMUTH
UPDATE_ENCODER 1362872813 AZIMUTH 1  31077019  0         0
UPDATE_ENCODER 1362872813 AZIMUTH 2  31069366  0         0
ms_off 1362872814 ALTITUDE
UPDATE_ENCODER 1362872814 ALTITUDE 1  7796169  0         0
UPDATE_ENCODER 1362872815 ALTITUDE 2  7793644  0         0
ms_off 1362872816 ROTATOR
UPDATE_ENCODER 1362872816 ROTATOR 1  6131  0         0
UPDATE_ENCODER 1362872816 ROTATOR 2  -672666793  0         0
ms_off 1362872828 AZIMUTH
ms_off 1362872828 ALTITUDE
ms_off 1362872828 ROTATOR
ms_on 1362872828 AZIMUTH
ms_on 1362872828 ALTITUDE
ms_on 1362872829 ROTATOR
ms_off 1362872835 ROTATOR
ms_off 1362872835 AZIMUTH
ms_off 1362872835 ALTITUDE
ms_off 1362872851 AZIMUTH
ms_off 1362872852 ALTITUDE
ms_off 1362872852 ROTATOR
ms_on 1362872852 AZIMUTH
ms_on 1362872852 ALTITUDE
ms_on 1362872852 ROTATOR
ALT_FIDUCIAL 1362872875    3   11869589  11864125   11871323  11865832    44.628       -230    381112  0 0
ms_off 1362872894 ROTATOR
ms_off 1362872894 AZIMUTH
ms_off 1362872894 ALTITUDE
SET_FIDUCIAL_ERROR 1362872928 ALTITUDE 1  -1734
SET_FIDUCIAL_ERROR 1362872928 ALTITUDE 2  -1707
ms_off 1362872972 AZIMUTH
UPDATE_ENCODER 1362872972 AZIMUTH 1  31077279  0         0
UPDATE_ENCODER 1362872972 AZIMUTH 2  31069656  0         0
ms_off 1362872974 ALTITUDE
UPDATE_ENCODER 1362872974 ALTITUDE 1  15392102  -1734         0
UPDATE_ENCODER 1362872974 ALTITUDE 2  15384123  -1707         0
ms_off 1362872975 ROTATOR
UPDATE_ENCODER 1362872975 ROTATOR 1  1  0         0
UPDATE_ENCODER 1362872975 ROTATOR 2  -672470620  0         0
ms_off 1362872988 AZIMUTH
ms_off 1362872988 ALTITUDE
ms_off 1362872988 ROTATOR
ms_on 1362872989 AZIMUTH
ms_on 1362872989 ALTITUDE
ms_on 1362872989 ROTATOR
ALT_FIDUCIAL 1362872995    4   15533607  15525604   15533588  15525528    60.055      -3399     76500  0 0
SET_FIDUCIAL_ERROR 1362872995 ALTITUDE 1  19
SET_FIDUCIAL_ERROR 1362872995 ALTITUDE 2  76
ALT_FIDUCIAL 1362873012    5   19419330  19408634   19419359  19408660    73.808      -6224    385104  19 76
SET_FIDUCIAL_ERROR 1362873012 ALTITUDE 1  -29
SET_FIDUCIAL_ERROR 1362873012 ALTITUDE 2  -26
ALT_FIDUCIAL 1362873025    6   22828354  22815280   22828284  22815177    88.433      -9228    113286  -10 50
SET_FIDUCIAL_ERROR 1362873025 ALTITUDE 1  70
SET_FIDUCIAL_ERROR 1362873025 ALTITUDE 2  103
ms_off 1362873031 ROTATOR
ms_off 1362873031 AZIMUTH
ms_off 1362873031 ALTITUDE
ms_off 1362873042 AZIMUTH
ms_off 1362873042 ALTITUDE
ms_off 1362873042 ROTATOR
ms_on 1362873042 AZIMUTH
ms_on 1362873042 ALTITUDE
ms_on 1362873042 ROTATOR
AZ_FIDUCIAL 1362873057   21   27561656  27556382   27561915  27556610   107.313   -436921  0 0
SET_FIDUCIAL_ERROR 1362873057 AZIMUTH 1  -259
SET_FIDUCIAL_ERROR 1362873057 AZIMUTH 2  -228
ms_off 1362873066 AZIMUTH
ms_off 1362873066 ROTATOR
ms_off 1362873066 ALTITUDE
ms_off 1362873070 AZIMUTH
ms_off 1362873071 ALTITUDE
ms_off 1362873071 ROTATOR
ms_on 1362873071 AZIMUTH
ms_on 1362873071 ALTITUDE
ms_on 1362873071 ROTATOR
AZ_FIDUCIAL 1362873083   21   27561656  27556382   27561354  27556211   107.310    440155  -259 -228
SET_FIDUCIAL_ERROR 1362873083 AZIMUTH 1  302
SET_FIDUCIAL_ERROR 1362873083 AZIMUTH 2  171
ms_off 1362873095 AZIMUTH
ms_off 1362873095 ALTITUDE
ms_off 1362873095 ROTATOR
ms_off 1362873106 AZIMUTH
ms_off 1362873106 ALTITUDE
ms_off 1362873106 ROTATOR
ms_on 1362873106 AZIMUTH
ms_on 1362873107 ALTITUDE
ms_on 1362873107 ROTATOR
ROT_FIDUCIAL 1362873115  -77   40989280  42568432   40618899 -632285550     3.665   40189317    228792  0 0
ROT_FIDUCIAL 1362873117   77   40989280  42568432   40989290 -632283418     5.858   40618899    289222  0 0
SET_FIDUCIAL_ERROR 1362873117 ROTATOR 1  -10
SET_FIDUCIAL_ERROR 1362873117 ROTATOR 2  0
ROT_FIDUCIAL 1362873118  -77   40989280  42568432   41418885 -632281514     8.401   40989290    334900  -10 0
ROT_FIDUCIAL 1362873119   76   41790040  42589844   41790074 -632280193    10.599   41418885    337778  -10 0
SET_FIDUCIAL_ERROR 1362873119 ROTATOR 1  -34
SET_FIDUCIAL_ERROR 1362873119 ROTATOR 2  0
ROT_FIDUCIAL 1362873120  -76   41790040  42589844   42218823 -632278566    13.138   41790074    337778  -44 0
ROT_FIDUCIAL 1362873121   75   42590828  42590828   42590819 -632277124    15.340   42218823    337778  -44 0
SET_FIDUCIAL_ERROR 1362873121 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1362873121 ROTATOR 2  0
ROT_FIDUCIAL 1362873123  -75   42590828  42590828   43018799 -632276128    17.874   42590819    337778  -35 0
ROT_FIDUCIAL 1362873124   74   43391608  42591804   43391590 -632275230    20.082   43018799    337778  -35 0
SET_FIDUCIAL_ERROR 1362873124 ROTATOR 1  18
SET_FIDUCIAL_ERROR 1362873124 ROTATOR 2  0
ROT_FIDUCIAL 1362873125  -74   43391608  42591804   43818814 -632274078    22.611   43391590    321513  -17 0
ROT_FIDUCIAL 1362873126   73   44192408  42592288   44192405 -632272755    24.823   43818814    270486  -17 0
SET_FIDUCIAL_ERROR 1362873126 ROTATOR 1  3
SET_FIDUCIAL_ERROR 1362873126 ROTATOR 2  0
ROT_FIDUCIAL 1362873128  -73   44192408  42592288   44618791 -632270778    27.348   44192405    193167  -14 0
ROT_FIDUCIAL 1362873131   72   44993200  42592392   44993191 -632268162    29.565   44618791     76792  -14 0
SET_FIDUCIAL_ERROR 1362873131 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1362873131 ROTATOR 2  0
ms_off 1362873133 AZIMUTH
ms_off 1362873133 ALTITUDE
ms_off 1362873133 ROTATOR
ms_off 1362873137 AZIMUTH
ms_off 1362873137 ALTITUDE
ms_off 1362873137 ROTATOR
ms_on 1362873137 AZIMUTH
ms_on 1362873138 ALTITUDE
ms_on 1362873138 ROTATOR
ROT_FIDUCIAL 1362873145  -72   44993200  42592392   44618813 -632249738    27.348   44993218   -194750  -5 0
ROT_FIDUCIAL 1362873147   73   44192408  42592288   44192420 -632247551    24.824   44618813   -272333  -5 0
SET_FIDUCIAL_ERROR 1362873147 ROTATOR 1  -12
SET_FIDUCIAL_ERROR 1362873147 ROTATOR 2  0
ROT_FIDUCIAL 1362873148  -73   44192408  42592288   43818812 -632246421    22.611   44192420   -323711  -17 0
ROT_FIDUCIAL 1362873150   74   43391608  42591804   43391600 -632244830    20.082   43818812   -337778  -17 0
SET_FIDUCIAL_ERROR 1362873150 ROTATOR 1  8
SET_FIDUCIAL_ERROR 1362873150 ROTATOR 2  0
ROT_FIDUCIAL 1362873151  -74   43391608  42591804   43018796 -632243736    17.874   43391600   -337778  -9 0
ROT_FIDUCIAL 1362873152   75   42590828  42590828   42590811 -632242277    15.340   43018796   -337778  -9 0
SET_FIDUCIAL_ERROR 1362873152 ROTATOR 1  17
SET_FIDUCIAL_ERROR 1362873152 ROTATOR 2  0
ROT_FIDUCIAL 1362873153  -75   42590828  42590828   42218836 -632240861    13.138   42590811   -337778  8 0
ROT_FIDUCIAL 1362873154   76   41790040  42589844   41790056 -632238870    10.599   42218836   -337778  8 0
SET_FIDUCIAL_ERROR 1362873154 ROTATOR 1  -16
SET_FIDUCIAL_ERROR 1362873154 ROTATOR 2  0
ROT_FIDUCIAL 1362873156  -76   41790040  42589844   41418858 -632237508     8.401   41790056   -334357  -8 0
ROT_FIDUCIAL 1362873157   77   40989280  42568432   40989257 -632235734     5.857   41418858   -287901  -8 0
SET_FIDUCIAL_ERROR 1362873157 ROTATOR 1  23
SET_FIDUCIAL_ERROR 1362873157 ROTATOR 2  0
ROT_FIDUCIAL 1362873158  -77   40989280  42568432   40618894 -632233918     3.665   40989257   -226942  15 0
ROT_FIDUCIAL 1362873161   78   40188504  42404088   40188512 -632229934     1.116   40618894   -123762  15 0
SET_FIDUCIAL_ERROR 1362873161 ROTATOR 1  -8
SET_FIDUCIAL_ERROR 1362873161 ROTATOR 2  0
ms_off 1362873164 ALTITUDE
ms_off 1362873164 AZIMUTH
ms_off 1362873164 ROTATOR
ms_off 1362873180 AZIMUTH
ms_off 1362873180 ALTITUDE
ms_off 1362873180 ROTATOR
ms_on 1362873181 AZIMUTH
ms_on 1362873181 ALTITUDE
ms_on 1362873181 ROTATOR
ALT_FIDUCIAL 1362873189    6   22828354  22815280   22828255  22815158    89.314      -9409   -114043  60 153
SET_FIDUCIAL_ERROR 1362873189 ALTITUDE 1  99
SET_FIDUCIAL_ERROR 1362873189 ALTITUDE 2  122
ALT_FIDUCIAL 1362873203    5   19419330  19408634   19419249  19408550    76.520      -6781   -385273  159 275
SET_FIDUCIAL_ERROR 1362873203 ALTITUDE 1  81
SET_FIDUCIAL_ERROR 1362873203 ALTITUDE 2  84
ALT_FIDUCIAL 1362873213    4   15533607  15525604   15533611  15525617    62.465      -3894   -385713  240 359
SET_FIDUCIAL_ERROR 1362873213 ALTITUDE 1  -4
SET_FIDUCIAL_ERROR 1362873213 ALTITUDE 2  -13
ALT_FIDUCIAL 1362873222    3   11869589  11864125   11869745  11864342    46.687       -653   -385714  236 346
SET_FIDUCIAL_ERROR 1362873222 ALTITUDE 1  -156
SET_FIDUCIAL_ERROR 1362873222 ALTITUDE 2  -217
ms_off 1362873244 ALTITUDE
ms_off 1362873244 AZIMUTH
ms_off 1362873244 ROTATOR
