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

initialTime   1329088098

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 1329088098 AZIMUTH
ms_off 1329088098 ALTITUDE
ms_off 1329088098 ROTATOR
ms_on 1329088099 AZIMUTH
ms_on 1329088099 ALTITUDE
ms_on 1329088099 ROTATOR
ms_off 1329088102 AZIMUTH
ms_off 1329088102 ROTATOR
ms_off 1329088102 ALTITUDE
ms_off 1329089380 AZIMUTH
UPDATE_ENCODER 1329089380 AZIMUTH 1  31076810  0         0
UPDATE_ENCODER 1329089380 AZIMUTH 2  31069295  0         0
ms_off 1329089382 ALTITUDE
UPDATE_ENCODER 1329089382 ALTITUDE 1  7714860  10         0
UPDATE_ENCODER 1329089382 ALTITUDE 2  7712264  -207         0
ms_off 1329089384 ROTATOR
UPDATE_ENCODER 1329089384 ROTATOR 1  3995  0         0
UPDATE_ENCODER 1329089384 ROTATOR 2  269513263  0         0
ms_off 1329089390 AZIMUTH
ms_off 1329089390 ALTITUDE
ms_off 1329089390 ROTATOR
ms_on 1329089390 AZIMUTH
ms_on 1329089390 ALTITUDE
ms_on 1329089390 ROTATOR
ALT_FIDUCIAL 1329089413    3   11869344  11863766   11869311  11863969    45.046       -316    385714  0 0
SET_FIDUCIAL_ERROR 1329089413 ALTITUDE 1  33
SET_FIDUCIAL_ERROR 1329089413 ALTITUDE 2  -203
ALT_FIDUCIAL 1329089423    4   15533239  15525074   15533309  15525337    58.877      -3157    385714  33 -203
SET_FIDUCIAL_ERROR 1329089423 ALTITUDE 1  -70
SET_FIDUCIAL_ERROR 1329089423 ALTITUDE 2  -263
ALT_FIDUCIAL 1329089433    5   19418924  19407976   19418838  19408094    74.587      -6384    385123  -37 -466
SET_FIDUCIAL_ERROR 1329089433 ALTITUDE 1  86
SET_FIDUCIAL_ERROR 1329089433 ALTITUDE 2  -118
ALT_FIDUCIAL 1329089446    6   22827940  22814526   22827843  22814620    88.146      -9169    113240  49 -584
SET_FIDUCIAL_ERROR 1329089446 ALTITUDE 1  97
SET_FIDUCIAL_ERROR 1329089447 ALTITUDE 2  -94
ms_off 1329089453 AZIMUTH
ms_off 1329089453 ALTITUDE
ms_off 1329089453 ROTATOR
ms_off 1329089609 AZIMUTH
UPDATE_ENCODER 1329089609 AZIMUTH 1  31077021  0         0
UPDATE_ENCODER 1329089609 AZIMUTH 2  31069498  0         0
ms_off 1329089610 ALTITUDE
UPDATE_ENCODER 1329089611 ALTITUDE 1  23134377  146         0
UPDATE_ENCODER 1329089611 ALTITUDE 2  23120743  -678         0
ms_off 1329089612 ROTATOR
UPDATE_ENCODER 1329089612 ROTATOR 1  2  0         0
UPDATE_ENCODER 1329089612 ROTATOR 2  269642811  0         0
ms_off 1329089619 AZIMUTH
ms_off 1329089619 ALTITUDE
ms_off 1329089620 ROTATOR
ms_on 1329089620 AZIMUTH
ms_on 1329089620 ALTITUDE
ms_on 1329089620 ROTATOR
ALT_FIDUCIAL 1329089628    6   22827940  22814526   22827912  22814431    89.343      -9415   -114171  0 0
SET_FIDUCIAL_ERROR 1329089628 ALTITUDE 1  28
SET_FIDUCIAL_ERROR 1329089628 ALTITUDE 2  95
ALT_FIDUCIAL 1329089642    5   19418924  19407976   19418951  19407848    76.233      -6722   -385273  28 95
SET_FIDUCIAL_ERROR 1329089642 ALTITUDE 1  -27
SET_FIDUCIAL_ERROR 1329089642 ALTITUDE 2  128
ALT_FIDUCIAL 1329089652    4   15533239  15525074   15533288  15524954    62.193      -3838   -385713  1 223
SET_FIDUCIAL_ERROR 1329089652 ALTITUDE 1  -49
SET_FIDUCIAL_ERROR 1329089652 ALTITUDE 2  120
ALT_FIDUCIAL 1329089661    3   11869344  11863766   11869343  11863594    48.109       -945   -385714  -48 343
SET_FIDUCIAL_ERROR 1329089661 ALTITUDE 1  1
SET_FIDUCIAL_ERROR 1329089661 ALTITUDE 2  172
ms_off 1329089683 ALTITUDE
ms_off 1329089683 AZIMUTH
ms_off 1329089683 ROTATOR
ms_off 1329126445 AZIMUTH
UPDATE_ENCODER 1329126445 AZIMUTH 1  31077016  0         0
UPDATE_ENCODER 1329126445 AZIMUTH 2  31069448  0         0
ms_off 1329126447 ALTITUDE
UPDATE_ENCODER 1329126447 ALTITUDE 1  7789966  -47         0
UPDATE_ENCODER 1329126447 ALTITUDE 2  7787279  515         0
ms_off 1329126448 ROTATOR
UPDATE_ENCODER 1329126449 ROTATOR 1  3950  0         0
UPDATE_ENCODER 1329126449 ROTATOR 2  286228004  0         0
ms_off 1329126454 AZIMUTH
ms_off 1329126454 ALTITUDE
ms_off 1329126454 ROTATOR
ms_on 1329126455 AZIMUTH
ms_on 1329126455 ALTITUDE
ms_on 1329126455 ROTATOR
ALT_FIDUCIAL 1329126478    3   11869344  11863766   11869517  11863950    44.550       -214    385714  0 0
SET_FIDUCIAL_ERROR 1329126478 ALTITUDE 1  -173
SET_FIDUCIAL_ERROR 1329126478 ALTITUDE 2  -184
ALT_FIDUCIAL 1329126487    4   15533239  15525074   15533283  15525258    58.507      -3081    385714  -173 -184
SET_FIDUCIAL_ERROR 1329126487 ALTITUDE 1  -44
SET_FIDUCIAL_ERROR 1329126487 ALTITUDE 2  -184
ALT_FIDUCIAL 1329126497    5   19418924  19407976   19418838  19408056    74.251      -6315    385090  -217 -368
SET_FIDUCIAL_ERROR 1329126497 ALTITUDE 1  86
SET_FIDUCIAL_ERROR 1329126497 ALTITUDE 2  -80
ALT_FIDUCIAL 1329126511    6   22827940  22814526   22827839  22814568    88.657      -9274    112834  -131 -448
SET_FIDUCIAL_ERROR 1329126511 ALTITUDE 1  101
SET_FIDUCIAL_ERROR 1329126511 ALTITUDE 2  -42
ms_off 1329126518 AZIMUTH
ms_off 1329126518 ALTITUDE
ms_off 1329126518 ROTATOR
ms_off 1329126622 AZIMUTH
UPDATE_ENCODER 1329126622 AZIMUTH 1  31077024  0         0
UPDATE_ENCODER 1329126622 AZIMUTH 2  31069481  0         0
ms_off 1329126623 ALTITUDE
UPDATE_ENCODER 1329126624 ALTITUDE 1  23128162  -30         0
UPDATE_ENCODER 1329126624 ALTITUDE 2  23114554  -490         0
ms_off 1329126625 ROTATOR
UPDATE_ENCODER 1329126625 ROTATOR 1  0  0         0
UPDATE_ENCODER 1329126625 ROTATOR 2  286296537  0         0
ms_off 1329126630 AZIMUTH
ms_off 1329126630 ALTITUDE
ms_off 1329126630 ROTATOR
ms_on 1329126630 AZIMUTH
ms_on 1329126631 ALTITUDE
ms_on 1329126631 ROTATOR
ALT_FIDUCIAL 1329126639    6   22827940  22814526   22827948  22814481    89.027      -9350   -114043  0 0
SET_FIDUCIAL_ERROR 1329126639 ALTITUDE 1  -8
SET_FIDUCIAL_ERROR 1329126639 ALTITUDE 2  45
ALT_FIDUCIAL 1329126653    5   19418924  19407976   19418924  19407871    76.807      -6840   -385327  -8 45
SET_FIDUCIAL_ERROR 1329126653 ALTITUDE 1  0
SET_FIDUCIAL_ERROR 1329126653 ALTITUDE 2  105
ALT_FIDUCIAL 1329126663    4   15533239  15525074   15533295  15525009    60.932      -3579   -385713  -8 150
SET_FIDUCIAL_ERROR 1329126663 ALTITUDE 1  -56
SET_FIDUCIAL_ERROR 1329126663 ALTITUDE 2  65
ALT_FIDUCIAL 1329126672    3   11869344  11863766   11869333  11863643    46.926       -702   -385714  -64 215
SET_FIDUCIAL_ERROR 1329126672 ALTITUDE 1  11
SET_FIDUCIAL_ERROR 1329126672 ALTITUDE 2  123
ms_off 1329126694 ROTATOR
ms_off 1329126694 AZIMUTH
ms_off 1329126694 ALTITUDE
