version       mcpVersion="$Name: v6_6_10$|Aug 26 2011|17:12:08"  # MCP version
mjd           55916

initialTime   1324413445

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 1324413445 AZIMUTH
ms_off 1324413445 ALTITUDE
ms_off 1324413446 ROTATOR
ms_off 1324413446 AZIMUTH
ms_off 1324413446 ALTITUDE
ms_off 1324413446 ROTATOR
ms_off 1324413955 AZIMUTH
UPDATE_ENCODER 1324413956 AZIMUTH 1  31076647  0         0
UPDATE_ENCODER 1324413956 AZIMUTH 2  31069043  0         0
ms_off 1324413957 ALTITUDE
UPDATE_ENCODER 1324413957 ALTITUDE 1  7715175  0         0
UPDATE_ENCODER 1324413957 ALTITUDE 2  7712472  0         0
ms_off 1324413959 ROTATOR
UPDATE_ENCODER 1324413959 ROTATOR 1  -86  0         0
UPDATE_ENCODER 1324413959 ROTATOR 2  -1652775581  0         0
ms_off 1324413969 AZIMUTH
ms_off 1324413969 ALTITUDE
ms_off 1324413969 ROTATOR
ms_on 1324413970 AZIMUTH
ms_on 1324413970 ALTITUDE
ms_on 1324413970 ROTATOR
ms_off 1324413972 ALTITUDE
ms_off 1324413973 ROTATOR
ms_off 1324413973 AZIMUTH
ms_off 1324422124 AZIMUTH
UPDATE_ENCODER 1324422124 AZIMUTH 1  31076564  0         0
UPDATE_ENCODER 1324422124 AZIMUTH 2  31069065  0         0
ms_off 1324422126 ALTITUDE
UPDATE_ENCODER 1324422126 ALTITUDE 1  7715471  0         0
UPDATE_ENCODER 1324422126 ALTITUDE 2  7712834  0         0
ms_off 1324422127 ROTATOR
UPDATE_ENCODER 1324422128 ROTATOR 1  6635  0         0
UPDATE_ENCODER 1324422128 ROTATOR 2  -1649635176  0         0
ms_off 1324422136 AZIMUTH
ms_off 1324422136 ALTITUDE
ms_off 1324422136 ROTATOR
ms_on 1324422136 AZIMUTH
ms_on 1324422136 ALTITUDE
ms_on 1324422136 ROTATOR
ALT_FIDUCIAL 1324422160    3   11869344  11863766   11869346  11863899    45.012       -309    385714  0 0
SET_FIDUCIAL_ERROR 1324422160 ALTITUDE 1  -2
SET_FIDUCIAL_ERROR 1324422160 ALTITUDE 2  -133
ALT_FIDUCIAL 1324422169    4   15533239  15525074   15533319  15525298    58.858      -3153    385714  -2 -133
SET_FIDUCIAL_ERROR 1324422169 ALTITUDE 1  -80
SET_FIDUCIAL_ERROR 1324422169 ALTITUDE 2  -224
ALT_FIDUCIAL 1324422179    5   19418924  19407976   19418932  19408136    74.587      -6384    385147  -82 -357
SET_FIDUCIAL_ERROR 1324422179 ALTITUDE 1  -8
SET_FIDUCIAL_ERROR 1324422179 ALTITUDE 2  -160
ALT_FIDUCIAL 1324422193    6   22827940  22814526   22827875  22814617    88.131      -9166    113207  -90 -517
SET_FIDUCIAL_ERROR 1324422193 ALTITUDE 1  65
SET_FIDUCIAL_ERROR 1324422193 ALTITUDE 2  -91
ms_off 1324422199 AZIMUTH
ms_off 1324422199 ALTITUDE
ms_off 1324422200 ROTATOR
ms_off 1324422234 AZIMUTH
ms_off 1324422234 ALTITUDE
ms_off 1324422235 ROTATOR
ms_on 1324422235 AZIMUTH
ms_on 1324422235 ALTITUDE
ms_on 1324422235 ROTATOR
ROT_FIDUCIAL 1324422243  -78   40188492  42594548   40618730 -1609609792     3.664   40188268    229056  0 0
ROT_FIDUCIAL 1324422245   77   40989336  42594572   40989120 -1609609080     5.857   40618730    289486  0 0
SET_FIDUCIAL_ERROR 1324422245 ROTATOR 1  216
SET_FIDUCIAL_ERROR 1324422245 ROTATOR 2  0
ROT_FIDUCIAL 1324422246  -77   40989336  42594572   41418882 -1609608396     8.401   40989120    334986  216 0
ROT_FIDUCIAL 1324422247   76   41790036  42590704   41790044 -1609608041    10.599   41418882    337778  216 0
SET_FIDUCIAL_ERROR 1324422247 ROTATOR 1  -8
SET_FIDUCIAL_ERROR 1324422247 ROTATOR 2  0
ROT_FIDUCIAL 1324422249  -76   41790036  42590704   42218814 -1609607498    13.138   41790044    311910  208 0
AZ_FIDUCIAL 1324422250   21   27561562  27556268   27561782  27556691   107.313   -513670  0 0
SET_FIDUCIAL_ERROR 1324422250 AZIMUTH 1  -220
SET_FIDUCIAL_ERROR 1324422250 AZIMUTH 2  -423
ROT_FIDUCIAL 1324422250   75   42590828  42590828   42590798 -1609606869    15.340   42218814    256500  208 0
SET_FIDUCIAL_ERROR 1324422250 ROTATOR 1  30
SET_FIDUCIAL_ERROR 1324422250 ROTATOR 2  0
ROT_FIDUCIAL 1324422252  -75   42590828  42590828   43018804 -1609606023    17.874   42590798    172583  238 0
AZ_FIDUCIAL 1324422259   20   23703556  23700924   23703653  23701029    92.291   -244314  -220 -423
SET_FIDUCIAL_ERROR 1324422259 AZIMUTH 1  -97
SET_FIDUCIAL_ERROR 1324422259 AZIMUTH 2  -105
ms_off 1324422264 AZIMUTH
ms_off 1324422264 ALTITUDE
ms_off 1324422264 ROTATOR
ms_off 1324422278 AZIMUTH
ms_off 1324422279 ALTITUDE
ms_off 1324422279 ROTATOR
ms_on 1324422279 AZIMUTH
ms_on 1324422279 ALTITUDE
ms_on 1324422279 ROTATOR
AZ_FIDUCIAL 1324422287   20   23703556  23700924   23703123  23700552    92.289    247204  -317 -528
SET_FIDUCIAL_ERROR 1324422287 AZIMUTH 1  433
SET_FIDUCIAL_ERROR 1324422287 AZIMUTH 2  372
ROT_FIDUCIAL 1324422288   75   42590828  42590828   42590795 -1609594681    15.340   43018757   -258875  238 0
SET_FIDUCIAL_ERROR 1324422288 ROTATOR 1  33
SET_FIDUCIAL_ERROR 1324422288 ROTATOR 2  0
ROT_FIDUCIAL 1324422289  -75   42590828  42590828   42218843 -1609594215    13.138   42590795   -313961  271 0
ROT_FIDUCIAL 1324422291   76   41790036  42590704   41790082 -1609593503    10.599   42218843   -337778  271 0
SET_FIDUCIAL_ERROR 1324422291 ROTATOR 1  -46
SET_FIDUCIAL_ERROR 1324422291 ROTATOR 2  0
ROT_FIDUCIAL 1324422292  -76   41790036  42590704   41418855 -1609593054     8.401   41790082   -334447  225 0
ROT_FIDUCIAL 1324422293   77   40989336  42594572   40989312 -1609592481     5.858   41418855   -287902  225 0
SET_FIDUCIAL_ERROR 1324422293 ROTATOR 1  24
SET_FIDUCIAL_ERROR 1324422293 ROTATOR 2  0
ROT_FIDUCIAL 1324422295  -77   40989336  42594572   40618954 -1609591987     3.665   40989312   -226944  249 0
AZ_FIDUCIAL 1324422296   21   27561562  27556268   27561703  27556454   107.313    513671  116 -156
SET_FIDUCIAL_ERROR 1324422296 AZIMUTH 1  -141
SET_FIDUCIAL_ERROR 1324422296 AZIMUTH 2  -186
ROT_FIDUCIAL 1324422297   78   40188492  42594548   40188514 -1609590955     1.116   40618954   -124027  249 0
SET_FIDUCIAL_ERROR 1324422297 ROTATOR 1  -22
SET_FIDUCIAL_ERROR 1324422297 ROTATOR 2  0
ms_off 1324422308 AZIMUTH
ms_off 1324422308 ROTATOR
ms_off 1324422308 ALTITUDE
ms_off 1324422313 AZIMUTH
ms_off 1324422314 ALTITUDE
ms_off 1324422314 ROTATOR
ms_on 1324422314 AZIMUTH
ms_on 1324422314 ALTITUDE
ms_on 1324422314 ROTATOR
ALT_FIDUCIAL 1324422323    6   22827940  22814526   22827817  22814371    89.358      -9418   -114043  -25 -608
SET_FIDUCIAL_ERROR 1324422323 ALTITUDE 1  123
SET_FIDUCIAL_ERROR 1324422323 ALTITUDE 2  155
ALT_FIDUCIAL 1324422336    5   19418924  19407976   19418918  19407843    76.695      -6817   -385273  98 -453
SET_FIDUCIAL_ERROR 1324422336 ALTITUDE 1  6
SET_FIDUCIAL_ERROR 1324422336 ALTITUDE 2  133
ALT_FIDUCIAL 1324422346    4   15533239  15525074   15533232  15524943    60.946      -3582   -385713  104 -320
SET_FIDUCIAL_ERROR 1324422346 ALTITUDE 1  7
SET_FIDUCIAL_ERROR 1324422346 ALTITUDE 2  131
ALT_FIDUCIAL 1324422356    3   11869344  11863766   11869298  11863622    46.833       -683   -385714  111 -189
SET_FIDUCIAL_ERROR 1324422356 ALTITUDE 1  46
SET_FIDUCIAL_ERROR 1324422356 ALTITUDE 2  144
ms_off 1324422377 ROTATOR
ms_off 1324422377 AZIMUTH
ms_off 1324422377 ALTITUDE
