version       mcpVersion="$Name: v6_6_6$|Dec 23 2010|16:35:56"  # MCP version
mjd           55718

initialTime   1307321420

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 1307321420 AZIMUTH
UPDATE_ENCODER 1307321420 AZIMUTH 1  31077545  0         0
UPDATE_ENCODER 1307321421 AZIMUTH 2  31070100  0         0
ms_off 1307321422 ALTITUDE
UPDATE_ENCODER 1307321422 ALTITUDE 1  7714198  -90         0
UPDATE_ENCODER 1307321422 ALTITUDE 2  7711667  -281         0
ms_off 1307321423 ROTATOR
UPDATE_ENCODER 1307321424 ROTATOR 1  4726  0         0
UPDATE_ENCODER 1307321424 ROTATOR 2  6  0         0
ms_off 1307321448 AZIMUTH
ms_off 1307321448 ALTITUDE
ms_off 1307321448 ROTATOR
ms_on 1307321449 AZIMUTH
ms_on 1307321449 ALTITUDE
ms_on 1307321449 ROTATOR
ROT_FIDUCIAL 1307321464   75   42590828  42590828   42590821  40000006    15.340   42218809    337778  0 0
SET_FIDUCIAL_ERROR 1307321464 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1307321464 ROTATOR 2  0
ROT_FIDUCIAL 1307321465  -75   42590828  42590828   43018819  40000006    17.875   42590821    337778  7 0
ROT_FIDUCIAL 1307321466   74   43391588  42590828   43391610  40000006    20.082   43018819    337778  7 0
SET_FIDUCIAL_ERROR 1307321466 ROTATOR 1  -22
SET_FIDUCIAL_ERROR 1307321466 ROTATOR 2  0
ROT_FIDUCIAL 1307321467  -74   43391588  42590828   43818786  40000006    22.611   43391610    321513  -15 0
ROT_FIDUCIAL 1307321468   73   44192384  42590828   44192373  40000006    24.823   43818786    269958  -15 0
SET_FIDUCIAL_ERROR 1307321468 ROTATOR 1  11
SET_FIDUCIAL_ERROR 1307321468 ROTATOR 2  0
ROT_FIDUCIAL 1307321470  -73   44192384  42590828   44618768  40000006    27.348   44192373    193167  -4 0
ALT_FIDUCIAL 1307321472    3   11869365  11864105   11869336  11864256    44.788       -263    385714  0 0
SET_FIDUCIAL_ERROR 1307321472 ALTITUDE 1  29
SET_FIDUCIAL_ERROR 1307321472 ALTITUDE 2  -151
ROT_FIDUCIAL 1307321473   72   44993168  42590828   44993151  40000006    29.565   44618768     76264  -4 0
SET_FIDUCIAL_ERROR 1307321473 ROTATOR 1  17
SET_FIDUCIAL_ERROR 1307321473 ROTATOR 2  0
ALT_FIDUCIAL 1307321481    4   15533268  15525578   15533319  15525809    58.478      -3075    385714  29 -151
SET_FIDUCIAL_ERROR 1307321481 ALTITUDE 1  -51
SET_FIDUCIAL_ERROR 1307321481 ALTITUDE 2  -231
ALT_FIDUCIAL 1307321491    5   19418900  19408598   19418890  19408810    74.062      -6276    385100  -22 -382
SET_FIDUCIAL_ERROR 1307321491 ALTITUDE 1  10
SET_FIDUCIAL_ERROR 1307321492 ALTITUDE 2  -212
ALT_FIDUCIAL 1307321505    6   22827882  22815240   22827813  22815384    88.228      -9186    113143  -12 -594
SET_FIDUCIAL_ERROR 1307321505 ALTITUDE 1  69
SET_FIDUCIAL_ERROR 1307321505 ALTITUDE 2  -144
ms_off 1307321512 AZIMUTH
ms_off 1307321512 ALTITUDE
ms_off 1307321512 ROTATOR
ms_off 1307321536 AZIMUTH
ms_off 1307321536 ALTITUDE
ms_off 1307321536 ROTATOR
ms_on 1307321537 AZIMUTH
ms_on 1307321537 ALTITUDE
ms_on 1307321537 ROTATOR
ROT_FIDUCIAL 1307321544  -72   44993168  42590828   44618465  40000006    27.346   44992859   -195014  13 0
ROT_FIDUCIAL 1307321546   73   44192384  42590828   44192085  40000006    24.822   44618465   -272861  13 0
SET_FIDUCIAL_ERROR 1307321546 ROTATOR 1  299
SET_FIDUCIAL_ERROR 1307321546 ROTATOR 2  0
ROT_FIDUCIAL 1307321547  -73   44192384  42590828   43818796  40000006    22.611   44192085   -323129  312 0
ROT_FIDUCIAL 1307321549   74   43391588  42590828   43391591  40000006    20.082   43818796   -337778  312 0
SET_FIDUCIAL_ERROR 1307321549 ROTATOR 1  -3
SET_FIDUCIAL_ERROR 1307321549 ROTATOR 2  0
ROT_FIDUCIAL 1307321550  -74   43391588  42590828   43018808  40000006    17.875   43391591   -337778  309 0
ROT_FIDUCIAL 1307321551   75   42590828  42590828   42590821  40000006    15.340   43018808   -337778  309 0
SET_FIDUCIAL_ERROR 1307321551 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1307321551 ROTATOR 2  0
AZ_FIDUCIAL 1307321552   21   27561650  27556412   27561577  27556430   107.311   -437886  0 0
SET_FIDUCIAL_ERROR 1307321552 AZIMUTH 1  73
SET_FIDUCIAL_ERROR 1307321552 AZIMUTH 2  -18
ROT_FIDUCIAL 1307321552  -75   42590828  42590828   42218823  40000006    13.138   42590821   -337778  316 0
ROT_FIDUCIAL 1307321553   76   41790028  42590828   41790060  40000006    10.599   42218823   -337778  316 0
SET_FIDUCIAL_ERROR 1307321554 ROTATOR 1  -32
SET_FIDUCIAL_ERROR 1307321554 ROTATOR 2  0
ROT_FIDUCIAL 1307321555  -76   41790028  42590828   41418848  40000006     8.401   41790060   -334261  284 0
ms_off 1307321563 AZIMUTH
ms_off 1307321563 ALTITUDE
ms_off 1307321563 ROTATOR
ms_off 1307321606 AZIMUTH
ms_off 1307321607 ALTITUDE
ms_off 1307321607 ROTATOR
ms_on 1307321607 AZIMUTH
ms_on 1307321607 ALTITUDE
ms_on 1307321607 ROTATOR
AZ_FIDUCIAL 1307321619   21   27561650  27556412   27561310  27556179   107.310    440799  73 -18
SET_FIDUCIAL_ERROR 1307321619 AZIMUTH 1  340
SET_FIDUCIAL_ERROR 1307321619 AZIMUTH 2  233
ms_off 1307321631 AZIMUTH
ms_off 1307321631 ALTITUDE
ms_off 1307321631 ROTATOR
ms_off 1307321686 AZIMUTH
ms_off 1307321686 ALTITUDE
ms_off 1307321687 ROTATOR
ms_on 1307321687 AZIMUTH
ms_on 1307321687 ALTITUDE
ms_on 1307321687 ROTATOR
ALT_FIDUCIAL 1307321695    6   22827882  22815240   22827767  22815137    88.993      -9343   -114043  57 -738
SET_FIDUCIAL_ERROR 1307321695 ALTITUDE 1  115
SET_FIDUCIAL_ERROR 1307321695 ALTITUDE 2  103
ALT_FIDUCIAL 1307321709    5   19418900  19408598   19418822  19408440    76.471      -6771   -385302  172 -635
SET_FIDUCIAL_ERROR 1307321709 ALTITUDE 1  78
SET_FIDUCIAL_ERROR 1307321709 ALTITUDE 2  158
ALT_FIDUCIAL 1307321719    4   15533268  15525578   15533231  15525417    60.820      -3556   -385714  250 -477
SET_FIDUCIAL_ERROR 1307321719 ALTITUDE 1  37
SET_FIDUCIAL_ERROR 1307321719 ALTITUDE 2  161
ALT_FIDUCIAL 1307321728    3   11869365  11864105   11869401  11864002    47.023       -722   -385714  287 -316
SET_FIDUCIAL_ERROR 1307321728 ALTITUDE 1  -36
SET_FIDUCIAL_ERROR 1307321728 ALTITUDE 2  103
ms_off 1307321750 ROTATOR
ms_off 1307321750 AZIMUTH
ms_off 1307321750 ALTITUDE
