version       mcpVersion="$Name: v6_6_11$|Dec 23 2011|21:16:25"  # MCP version
mjd           55972

initialTime   1329258284

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 1329258284 AZIMUTH
UPDATE_ENCODER 1329258284 AZIMUTH 1  31076823  0         0
UPDATE_ENCODER 1329258284 AZIMUTH 2  31069230  0         0
ms_off 1329258286 ALTITUDE
UPDATE_ENCODER 1329258286 ALTITUDE 1  7715090  -193         0
UPDATE_ENCODER 1329258286 ALTITUDE 2  7712549  58         0
ms_off 1329258287 ROTATOR
UPDATE_ENCODER 1329258288 ROTATOR 1  -18  0         0
UPDATE_ENCODER 1329258288 ROTATOR 2  335703625  0         0
ms_off 1329258344 AZIMUTH
ms_off 1329258345 ALTITUDE
ms_off 1329258345 ROTATOR
ms_on 1329258345 AZIMUTH
ms_on 1329258345 ALTITUDE
ms_on 1329258345 ROTATOR
ms_off 1329258350 ROTATOR
ms_off 1329258350 AZIMUTH
ms_off 1329258350 ALTITUDE
ms_off 1329260502 AZIMUTH
UPDATE_ENCODER 1329260503 AZIMUTH 1  31076822  0         0
UPDATE_ENCODER 1329260503 AZIMUTH 2  31069231  0         0
ms_off 1329260504 ALTITUDE
UPDATE_ENCODER 1329260505 ALTITUDE 1  7731548  0         0
UPDATE_ENCODER 1329260505 ALTITUDE 2  7728801  0         0
ms_off 1329260506 ROTATOR
UPDATE_ENCODER 1329260506 ROTATOR 1  4745  0         0
UPDATE_ENCODER 1329260506 ROTATOR 2  336537519  0         0
ms_off 1329260514 AZIMUTH
UPDATE_ENCODER 1329260514 AZIMUTH 1  31077020  0         0
UPDATE_ENCODER 1329260514 AZIMUTH 2  31069432  0         0
ms_off 1329260515 ALTITUDE
UPDATE_ENCODER 1329260515 ALTITUDE 1  7714305  0         0
UPDATE_ENCODER 1329260515 ALTITUDE 2  7711575  0         0
ms_off 1329260517 ROTATOR
UPDATE_ENCODER 1329260517 ROTATOR 1  -6  0         0
UPDATE_ENCODER 1329260517 ROTATOR 2  336540378  0         0
ms_off 1329260521 AZIMUTH
ms_off 1329260521 ALTITUDE
ms_off 1329260522 ROTATOR
ms_on 1329260522 AZIMUTH
ms_on 1329260522 ALTITUDE
ms_on 1329260522 ROTATOR
ALT_FIDUCIAL 1329260545    3   11869344  11863766   11869089  11863497    45.061       -319    385714  0 0
SET_FIDUCIAL_ERROR 1329260545 ALTITUDE 1  255
SET_FIDUCIAL_ERROR 1329260545 ALTITUDE 2  269
ALT_FIDUCIAL 1329260554    4   15533239  15525074   15533306  15525203    59.019      -3186    385713  255 269
SET_FIDUCIAL_ERROR 1329260554 ALTITUDE 1  -67
SET_FIDUCIAL_ERROR 1329260555 ALTITUDE 2  -129
ALT_FIDUCIAL 1329260565    5   19418924  19407976   19418847  19408034    74.797      -6427    385099  188 140
SET_FIDUCIAL_ERROR 1329260565 ALTITUDE 1  77
SET_FIDUCIAL_ERROR 1329260565 ALTITUDE 2  -58
ALT_FIDUCIAL 1329260578    6   22827940  22814526   22827840  22814570    88.404      -9222    113398  265 82
SET_FIDUCIAL_ERROR 1329260578 ALTITUDE 1  100
SET_FIDUCIAL_ERROR 1329260578 ALTITUDE 2  -44
ms_off 1329260585 ALTITUDE
ms_off 1329260585 ROTATOR
ms_off 1329260585 AZIMUTH
ms_off 1329260598 AZIMUTH
ms_off 1329260598 ALTITUDE
ms_off 1329260599 ROTATOR
ms_on 1329260599 AZIMUTH
ms_on 1329260599 ALTITUDE
ms_on 1329260599 ROTATOR
ROT_FIDUCIAL 1329260607  -78   40188492  42594548   40618681 376560414     3.663   40188235    229319  0 0
ROT_FIDUCIAL 1329260609   77   40989336  42594572   40989083 376560852     5.856   40618681    290014  0 0
SET_FIDUCIAL_ERROR 1329260609 ROTATOR 1  253
SET_FIDUCIAL_ERROR 1329260609 ROTATOR 2  0
ROT_FIDUCIAL 1329260610  -77   40989336  42594572   41418881 376561352     8.401   40989083    335076  253 0
ROT_FIDUCIAL 1329260611   76   41790036  42590704   41790053 376561673    10.599   41418881    337778  253 0
SET_FIDUCIAL_ERROR 1329260611 ROTATOR 1  -17
SET_FIDUCIAL_ERROR 1329260611 ROTATOR 2  0
ROT_FIDUCIAL 1329260613  -76   41790036  42590704   42218820 376562154    13.138   41790053    311648  236 0
AZ_FIDUCIAL 1329260614   21   27561562  27556268   27561886  27556599   107.314   -513670  0 0
SET_FIDUCIAL_ERROR 1329260614 AZIMUTH 1  -324
SET_FIDUCIAL_ERROR 1329260614 AZIMUTH 2  -331
ROT_FIDUCIAL 1329260614   75   42590828  42590828   42590801 376562594    15.340   42218820    256500  236 0
SET_FIDUCIAL_ERROR 1329260614 ROTATOR 1  27
SET_FIDUCIAL_ERROR 1329260614 ROTATOR 2  0
ROT_FIDUCIAL 1329260616  -75   42590828  42590828   43018806 376563174    17.875   42590801    172319  263 0
AZ_FIDUCIAL 1329260623   20   23703556  23700924   23703649  23700992    92.291   -243993  -324 -331
SET_FIDUCIAL_ERROR 1329260623 AZIMUTH 1  -93
SET_FIDUCIAL_ERROR 1329260623 AZIMUTH 2  -68
ms_off 1329260628 ROTATOR
ms_off 1329260628 AZIMUTH
ms_off 1329260628 ALTITUDE
ms_off 1329260644 AZIMUTH
ms_off 1329260644 ALTITUDE
ms_off 1329260644 ROTATOR
ms_on 1329260644 AZIMUTH
ms_on 1329260644 ALTITUDE
ms_on 1329260644 ROTATOR
AZ_FIDUCIAL 1329260652   20   23703556  23700924   23703261  23700705    92.290    246240  -417 -399
SET_FIDUCIAL_ERROR 1329260652 AZIMUTH 1  295
SET_FIDUCIAL_ERROR 1329260652 AZIMUTH 2  219
ROT_FIDUCIAL 1329260654   75   42590828  42590828   42590801 376575885    15.340   43018757   -258083  263 0
SET_FIDUCIAL_ERROR 1329260654 ROTATOR 1  27
SET_FIDUCIAL_ERROR 1329260654 ROTATOR 2  0
ROT_FIDUCIAL 1329260655  -75   42590828  42590828   42218847 376576503    13.138   42590801   -313236  290 0
ROT_FIDUCIAL 1329260656   76   41790036  42590704   41790063 376577094    10.599   42218847   -337778  290 0
SET_FIDUCIAL_ERROR 1329260656 ROTATOR 1  -27
SET_FIDUCIAL_ERROR 1329260656 ROTATOR 2  0
ROT_FIDUCIAL 1329260657  -76   41790036  42590704   41418873 376577510     8.401   41790063   -334358  263 0
ROT_FIDUCIAL 1329260659   77   40989336  42594572   40989336 376578077     5.858   41418873   -287638  263 0
ROT_FIDUCIAL 1329260660  -77   40989336  42594572   40618918 376578567     3.665   40989336   -226680  263 0
AZ_FIDUCIAL 1329260661   21   27561562  27556268   27561584  27556356   107.312    513669  -122 -180
SET_FIDUCIAL_ERROR 1329260661 AZIMUTH 1  -22
SET_FIDUCIAL_ERROR 1329260661 AZIMUTH 2  -88
ROT_FIDUCIAL 1329260663   78   40188492  42594548   40188481 376579528     1.116   40618918   -124555  263 0
SET_FIDUCIAL_ERROR 1329260663 ROTATOR 1  11
SET_FIDUCIAL_ERROR 1329260663 ROTATOR 2  0
ms_off 1329260673 ALTITUDE
ms_off 1329260673 ROTATOR
ms_off 1329260673 AZIMUTH
ms_off 1329260689 AZIMUTH
ms_off 1329260689 ALTITUDE
ms_off 1329260689 ROTATOR
ms_on 1329260689 AZIMUTH
ms_on 1329260689 ALTITUDE
ms_on 1329260689 ROTATOR
ALT_FIDUCIAL 1329260698    6   22827940  22814526   22827809  22814362    89.231      -9392   -114171  365 38
SET_FIDUCIAL_ERROR 1329260698 ALTITUDE 1  131
SET_FIDUCIAL_ERROR 1329260698 ALTITUDE 2  164
ALT_FIDUCIAL 1329260711    5   19418924  19407976   19418943  19407878    76.087      -6692   -385273  496 202
SET_FIDUCIAL_ERROR 1329260711 ALTITUDE 1  -19
SET_FIDUCIAL_ERROR 1329260712 ALTITUDE 2  98
ALT_FIDUCIAL 1329260722    4   15533239  15525074   15533299  15525057    61.969      -3792   -385713  477 300
SET_FIDUCIAL_ERROR 1329260722 ALTITUDE 1  -60
SET_FIDUCIAL_ERROR 1329260722 ALTITUDE 2  17
ALT_FIDUCIAL 1329260731    3   11869344  11863766   11869340  11863702    47.948       -912   -385714  417 317
SET_FIDUCIAL_ERROR 1329260731 ALTITUDE 1  4
SET_FIDUCIAL_ERROR 1329260731 ALTITUDE 2  64
ms_off 1329260752 AZIMUTH
ms_off 1329260753 ALTITUDE
ms_off 1329260753 ROTATOR
