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

initialTime   1356648995

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 1356648995 AZIMUTH
UPDATE_ENCODER 1356648995 AZIMUTH 1  31077154  0         0
UPDATE_ENCODER 1356648995 AZIMUTH 2  31069573  0         0
ms_off 1356648996 ALTITUDE
UPDATE_ENCODER 1356648997 ALTITUDE 1  7712632  0         0
UPDATE_ENCODER 1356648997 ALTITUDE 2  7710322  0         0
ms_off 1356648999 ROTATOR
UPDATE_ENCODER 1356649000 ROTATOR 1  8240  0         0
UPDATE_ENCODER 1356649000 ROTATOR 2  1742864786  0         0
ms_off 1356649040 AZIMUTH
ms_off 1356649040 ALTITUDE
ms_off 1356649041 ROTATOR
ms_on 1356649042 AZIMUTH
SET_FIDUCIAL_ERROR 1356649042 ALTITUDE 1  -437
SET_FIDUCIAL_ERROR 1356649042 ALTITUDE 2  -618
ms_on 1356649042 ALTITUDE
ms_on 1356649042 ROTATOR
ROT_FIDUCIAL 1356649049  -77   40989280  42568432   40619057 1782939815     3.665   40189464    228264  0 0
ROT_FIDUCIAL 1356649050   77   40989280  42568432   40989446 1782942657     5.859   40619057    288167  0 0
SET_FIDUCIAL_ERROR 1356649050 ROTATOR 1  -166
SET_FIDUCIAL_ERROR 1356649051 ROTATOR 2  0
ROT_FIDUCIAL 1356649052  -77   40989280  42568432   41418872 1782944957     8.401   40989446    334724  -166 0
ROT_FIDUCIAL 1356649053   76   41790040  42589844   41790056 1782947125    10.599   41418872    337777  -166 0
SET_FIDUCIAL_ERROR 1356649053 ROTATOR 1  -16
SET_FIDUCIAL_ERROR 1356649053 ROTATOR 2  0
ROT_FIDUCIAL 1356649054  -76   41790040  42589844   42218823 1782949016    13.138   41790056    337777  -182 0
ROT_FIDUCIAL 1356649055   75   42590828  42590828   42590815 1782950981    15.340   42218823    337777  -182 0
SET_FIDUCIAL_ERROR 1356649057 ROTATOR 1  13
SET_FIDUCIAL_ERROR 1356649057 ROTATOR 2  0
ROT_FIDUCIAL 1356649059  -74   43391608  42591804   43818805 1782956898    22.611   43391611    321943  -169 0
ROT_FIDUCIAL 1356649060   73   44192408  42592288   44192394 1782959120    24.823   43818805    270512  -169 0
SET_FIDUCIAL_ERROR 1356649060 ROTATOR 1  14
SET_FIDUCIAL_ERROR 1356649060 ROTATOR 2  0
ROT_FIDUCIAL 1356649062  -73   44192408  42592288   44618789 1782962651    27.348   44192394    192665  -155 0
ALT_FIDUCIAL 1356649064    3   11869589  11864125   11869472  11863912    45.460       -401    385713  -437 -618
SET_FIDUCIAL_ERROR 1356649064 ALTITUDE 1  117
SET_FIDUCIAL_ERROR 1356649064 ALTITUDE 2  213
ROT_FIDUCIAL 1356649065   72   44993200  42592392   44993169 1782967567    29.565   44618789     76026  -155 0
SET_FIDUCIAL_ERROR 1356649065 ROTATOR 1  31
SET_FIDUCIAL_ERROR 1356649065 ROTATOR 2  0
ALT_FIDUCIAL 1356649073    4   15533607  15525604   15533638  15525507    59.593      -3304    385713  -320 -405
SET_FIDUCIAL_ERROR 1356649073 ALTITUDE 1  -31
SET_FIDUCIAL_ERROR 1356649073 ALTITUDE 2  97
ALT_FIDUCIAL 1356649083    5   19419330  19408634   19419304  19408358    73.565      -6174    385060  -351 -308
SET_FIDUCIAL_ERROR 1356649083 ALTITUDE 1  26
SET_FIDUCIAL_ERROR 1356649083 ALTITUDE 2  276
ALT_FIDUCIAL 1356649097    6   22828354  22815280   22828315  22815023    88.545      -9251    112459  -325 -32
SET_FIDUCIAL_ERROR 1356649097 ALTITUDE 1  39
SET_FIDUCIAL_ERROR 1356649097 ALTITUDE 2  257
ms_off 1356649104 ROTATOR
ms_off 1356649104 AZIMUTH
ms_off 1356649104 ALTITUDE
ms_off 1356649108 AZIMUTH
ms_off 1356649108 ALTITUDE
ms_off 1356649109 ROTATOR
ms_on 1356649109 AZIMUTH
ms_on 1356649109 ALTITUDE
ms_on 1356649109 ROTATOR
AZ_FIDUCIAL 1356649115   22   31414452  31406518   31414571  31406754   122.313    186528  0 0
SET_FIDUCIAL_ERROR 1356649115 AZIMUTH 1  -119
SET_FIDUCIAL_ERROR 1356649115 AZIMUTH 2  -236
ROT_FIDUCIAL 1356649116  -72   44993200  42592392   44618562 1783049465    27.347   44992943   -194750  -124 0
ROT_FIDUCIAL 1356649118   73   44192408  42592288   44192179 1783052806    24.822   44618562   -272861  -124 0
SET_FIDUCIAL_ERROR 1356649118 ROTATOR 1  229
SET_FIDUCIAL_ERROR 1356649118 ROTATOR 2  0
ROT_FIDUCIAL 1356649120  -73   44192408  42592288   43818816 1783054709    22.611   44192179   -323129  105 0
ROT_FIDUCIAL 1356649123   75   42590828  42590828   42590836 1783059690    15.340   43018825   -337777  105 0
SET_FIDUCIAL_ERROR 1356649124 ROTATOR 1  -8
SET_FIDUCIAL_ERROR 1356649124 ROTATOR 2  0
ROT_FIDUCIAL 1356649124  -75   42590828  42590828   42218843 1783061330    13.138   42590836   -337777  97 0
ROT_FIDUCIAL 1356649126   76   41790040  42589844   41790061 1783063420    10.599   42218843   -337777  97 0
SET_FIDUCIAL_ERROR 1356649126 ROTATOR 1  -21
SET_FIDUCIAL_ERROR 1356649126 ROTATOR 2  0
AZ_FIDUCIAL 1356649126   23   35271024  35260400   35270983  35260454   137.328    262962  -119 -236
SET_FIDUCIAL_ERROR 1356649126 AZIMUTH 1  41
SET_FIDUCIAL_ERROR 1356649126 AZIMUTH 2  -54
ROT_FIDUCIAL 1356649127  -76   41790040  42589844   41418858 1783065378     8.401   41790061   -334358  76 0
ROT_FIDUCIAL 1356649128   77   40989280  42568432   40989268 1783067949     5.858   41418858   -287639  76 0
SET_FIDUCIAL_ERROR 1356649128 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1356649128 ROTATOR 2  0
ROT_FIDUCIAL 1356649130  -77   40989280  42568432   40618901 1783069945     3.665   40989268   -226681  88 0
ROT_FIDUCIAL 1356649132   78   40188504  42404088   40188500 1783073474     1.116   40618901   -123500  88 0
SET_FIDUCIAL_ERROR 1356649133 ROTATOR 1  4
SET_FIDUCIAL_ERROR 1356649134 ROTATOR 2  0
ms_off 1356649135 AZIMUTH
ms_off 1356649136 ROTATOR
ms_off 1356649136 ALTITUDE
ms_off 1356649148 AZIMUTH
ms_off 1356649148 ALTITUDE
ms_off 1356649148 ROTATOR
ms_on 1356649148 AZIMUTH
ms_on 1356649148 ALTITUDE
ms_on 1356649148 ROTATOR
AZ_FIDUCIAL 1356649156   23   35271024  35260400   35271359  35260630   137.329   -266148  -78 -290
SET_FIDUCIAL_ERROR 1356649156 AZIMUTH 1  -335
SET_FIDUCIAL_ERROR 1356649156 AZIMUTH 2  -230
AZ_FIDUCIAL 1356649167   22   31414452  31406518   31414495  31406504   122.313   -184305  -413 -520
SET_FIDUCIAL_ERROR 1356649167 AZIMUTH 1  -43
SET_FIDUCIAL_ERROR 1356649167 AZIMUTH 2  14
ms_off 1356649171 AZIMUTH
ms_off 1356649171 ALTITUDE
ms_off 1356649171 ROTATOR
ms_off 1356649181 AZIMUTH
ms_off 1356649181 ALTITUDE
ms_off 1356649182 ROTATOR
ms_on 1356649182 AZIMUTH
ms_on 1356649182 ALTITUDE
ms_on 1356649182 ROTATOR
ALT_FIDUCIAL 1356649190    6   22828354  22815280   22828243  22815149    89.265      -9399   -113914  -286 225
SET_FIDUCIAL_ERROR 1356649190 ALTITUDE 1  111
SET_FIDUCIAL_ERROR 1356649190 ALTITUDE 2  131
ALT_FIDUCIAL 1356649204    5   19419330  19408634   19419227  19408688    77.732      -7030   -385302  -175 356
SET_FIDUCIAL_ERROR 1356649205 ALTITUDE 1  103
SET_FIDUCIAL_ERROR 1356649205 ALTITUDE 2  -54
ALT_FIDUCIAL 1356649214    4   15533607  15525604   15533729  15525955    61.730      -3743   -385713  -72 302
SET_FIDUCIAL_ERROR 1356649214 ALTITUDE 1  -122
SET_FIDUCIAL_ERROR 1356649214 ALTITUDE 2  -351
ALT_FIDUCIAL 1356649223    3   11869589  11864125   11869615  11864259    47.563       -833   -385714  -194 -49
SET_FIDUCIAL_ERROR 1356649223 ALTITUDE 1  -26
SET_FIDUCIAL_ERROR 1356649223 ALTITUDE 2  -134
ms_off 1356649245 AZIMUTH
ms_off 1356649245 ALTITUDE
ms_off 1356649245 ROTATOR
