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

initialTime   1322172868

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 1322172868 AZIMUTH
ms_off 1322172868 ALTITUDE
ms_off 1322172868 ROTATOR
ms_off 1322172869 AZIMUTH
ms_off 1322172869 ALTITUDE
ms_off 1322172869 ROTATOR
ms_off 1322178147 AZIMUTH
UPDATE_ENCODER 1322178147 AZIMUTH 1  31077036  0         0
UPDATE_ENCODER 1322178147 AZIMUTH 2  31069489  0         0
ms_off 1322178149 ALTITUDE
UPDATE_ENCODER 1322178149 ALTITUDE 1  7712172  -102         0
UPDATE_ENCODER 1322178149 ALTITUDE 2  7709591  -212         0
ms_off 1322178151 ROTATOR
UPDATE_ENCODER 1322178151 ROTATOR 1  -191  0         0
UPDATE_ENCODER 1322178151 ROTATOR 2  1288889721  0         0
ms_off 1322178164 AZIMUTH
UPDATE_ENCODER 1322178165 AZIMUTH 1  31077118  0         0
UPDATE_ENCODER 1322178165 AZIMUTH 2  31069547  0         0
ms_off 1322178166 ALTITUDE
UPDATE_ENCODER 1322178167 ALTITUDE 1  7712352  0         0
UPDATE_ENCODER 1322178167 ALTITUDE 2  7709758  0         0
ms_off 1322178168 ROTATOR
UPDATE_ENCODER 1322178168 ROTATOR 1  4292  0         0
UPDATE_ENCODER 1322178168 ROTATOR 2  1288922409  0         0
ms_off 1322178180 AZIMUTH
ms_off 1322178180 ALTITUDE
ms_off 1322178180 ROTATOR
ms_on 1322178180 AZIMUTH
ms_on 1322178180 ALTITUDE
ms_on 1322178181 ROTATOR
ALT_FIDUCIAL 1322178204    3   11869344  11863766   11869374  11863953    44.886       -283    385714  0 0
SET_FIDUCIAL_ERROR 1322178204 ALTITUDE 1  -30
SET_FIDUCIAL_ERROR 1322178204 ALTITUDE 2  -187
ALT_FIDUCIAL 1322178213    4   15533239  15525074   15533329  15525225    58.746      -3130    385714  -30 -187
SET_FIDUCIAL_ERROR 1322178213 ALTITUDE 1  -90
SET_FIDUCIAL_ERROR 1322178213 ALTITUDE 2  -151
ALT_FIDUCIAL 1322178223    5   19418924  19407976   19418943  19408168    74.334      -6332    385064  -120 -338
SET_FIDUCIAL_ERROR 1322178223 ALTITUDE 1  -19
SET_FIDUCIAL_ERROR 1322178223 ALTITUDE 2  -192
ALT_FIDUCIAL 1322178237    6   22827940  22814526   22827858  22814613    87.970      -9133    113373  -139 -530
SET_FIDUCIAL_ERROR 1322178237 ALTITUDE 1  82
SET_FIDUCIAL_ERROR 1322178237 ALTITUDE 2  -87
ms_off 1322178244 AZIMUTH
ms_off 1322178244 ALTITUDE
ms_off 1322178244 ROTATOR
ms_off 1322178272 AZIMUTH
ms_off 1322178272 ALTITUDE
ms_off 1322178273 ROTATOR
ms_on 1322178273 AZIMUTH
ms_on 1322178273 ALTITUDE
ms_on 1322178273 ROTATOR
ms_off 1322178294 AZIMUTH
ms_off 1322178294 ALTITUDE
ms_off 1322178294 ROTATOR
ms_on 1322178295 AZIMUTH
ms_on 1322178295 ALTITUDE
ms_on 1322178295 ROTATOR
ROT_FIDUCIAL 1322178303  -78   40188492  42594548   40618927 1329210097     3.665   40188490    229056  0 0
ROT_FIDUCIAL 1322178305   77   40989336  42594572   40989346 1329213518     5.858   40618927    289486  0 0
SET_FIDUCIAL_ERROR 1322178305 ROTATOR 1  -10
SET_FIDUCIAL_ERROR 1322178305 ROTATOR 2  0
AZ_FIDUCIAL 1322178305   21   27561562  27556268   27561835  27556501   107.313   -395526  0 0
SET_FIDUCIAL_ERROR 1322178305 AZIMUTH 1  -273
SET_FIDUCIAL_ERROR 1322178305 AZIMUTH 2  -233
ROT_FIDUCIAL 1322178306  -77   40989336  42594572   41418874 1329216268     8.401   40989346    335076  -10 0
ROT_FIDUCIAL 1322178307   76   41790036  42590704   41790032 1329218830    10.599   41418874    337778  -10 0
SET_FIDUCIAL_ERROR 1322178307 ROTATOR 1  4
SET_FIDUCIAL_ERROR 1322178307 ROTATOR 2  0
ROT_FIDUCIAL 1322178308  -76   41790036  42590704   42218833 1329221953    13.138   41790032    311910  -6 0
ROT_FIDUCIAL 1322178310   75   42590828  42590828   42590816 1329225049    15.340   42218833    256500  -6 0
SET_FIDUCIAL_ERROR 1322178310 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1322178310 ROTATOR 2  0
ROT_FIDUCIAL 1322178312  -75   42590828  42590828   43018780 1329230177    17.874   42590816    172583  6 0
AZ_FIDUCIAL 1322178315   20   23703556  23700924   23703637  23700951    92.291   -244340  -273 -233
SET_FIDUCIAL_ERROR 1322178315 AZIMUTH 1  -81
SET_FIDUCIAL_ERROR 1322178315 AZIMUTH 2  -27
ms_off 1322178319 AZIMUTH
ms_off 1322178319 ALTITUDE
ms_off 1322178320 ROTATOR
ms_off 1322178341 AZIMUTH
ms_off 1322178341 ALTITUDE
ms_off 1322178342 ROTATOR
ms_on 1322178342 AZIMUTH
ms_on 1322178342 ALTITUDE
ms_on 1322178342 ROTATOR
AZ_FIDUCIAL 1322178350   20   23703556  23700924   23703119  23700544    92.289    247204  -354 -260
SET_FIDUCIAL_ERROR 1322178350 AZIMUTH 1  437
SET_FIDUCIAL_ERROR 1322178350 AZIMUTH 2  380
ROT_FIDUCIAL 1322178351   75   42590828  42590828   42590821 1329305693    15.340   43018774   -258083  6 0
SET_FIDUCIAL_ERROR 1322178351 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1322178351 ROTATOR 2  0
ROT_FIDUCIAL 1322178352  -75   42590828  42590828   42218820 1329308402    13.138   42590821   -313961  13 0
ROT_FIDUCIAL 1322178354   76   41790036  42590704   41790005 1329311787    10.599   42218820   -337779  13 0
SET_FIDUCIAL_ERROR 1322178354 ROTATOR 1  31
SET_FIDUCIAL_ERROR 1322178354 ROTATOR 2  0
ROT_FIDUCIAL 1322178355  -76   41790036  42590704   41418896 1329314442     8.401   41790005   -334447  44 0
ROT_FIDUCIAL 1322178356   77   40989336  42594572   40989362 1329317433     5.858   41418896   -287375  44 0
SET_FIDUCIAL_ERROR 1322178356 ROTATOR 1  -26
SET_FIDUCIAL_ERROR 1322178356 ROTATOR 2  0
ROT_FIDUCIAL 1322178358  -77   40989336  42594572   40618916 1329320593     3.665   40989362   -226944  18 0
AZ_FIDUCIAL 1322178359   21   27561562  27556268   27561740  27556572   107.313    513670  83 120
SET_FIDUCIAL_ERROR 1322178359 AZIMUTH 1  -178
SET_FIDUCIAL_ERROR 1322178359 AZIMUTH 2  -304
ROT_FIDUCIAL 1322178360   78   40188492  42594548   40188502 1329325657     1.116   40618916   -124027  18 0
SET_FIDUCIAL_ERROR 1322178360 ROTATOR 1  -10
SET_FIDUCIAL_ERROR 1322178360 ROTATOR 2  0
ms_off 1322178371 ALTITUDE
ms_off 1322178371 ROTATOR
ms_off 1322178371 AZIMUTH
ms_off 1322178379 AZIMUTH
ms_off 1322178379 ALTITUDE
ms_off 1322178380 ROTATOR
ms_on 1322178380 AZIMUTH
ms_on 1322178380 ALTITUDE
ms_on 1322178380 ROTATOR
ALT_FIDUCIAL 1322178388    6   22827940  22814526   22827814  22814363    89.071      -9359   -114043  -57 -617
SET_FIDUCIAL_ERROR 1322178388 ALTITUDE 1  126
SET_FIDUCIAL_ERROR 1322178388 ALTITUDE 2  163
ALT_FIDUCIAL 1322178402    5   19418924  19407976   19418887  19407801    76.087      -6692   -385273  69 -454
SET_FIDUCIAL_ERROR 1322178402 ALTITUDE 1  37
SET_FIDUCIAL_ERROR 1322178402 ALTITUDE 2  175
ALT_FIDUCIAL 1322178412    4   15533239  15525074   15533232  15524912    62.193      -3838   -385713  106 -279
SET_FIDUCIAL_ERROR 1322178412 ALTITUDE 1  7
SET_FIDUCIAL_ERROR 1322178412 ALTITUDE 2  162
ALT_FIDUCIAL 1322178421    3   11869344  11863766   11869302  11863678    48.089       -941   -385714  113 -117
SET_FIDUCIAL_ERROR 1322178421 ALTITUDE 1  42
SET_FIDUCIAL_ERROR 1322178421 ALTITUDE 2  88
ms_off 1322178443 ROTATOR
ms_off 1322178443 AZIMUTH
ms_off 1322178443 ALTITUDE
