version       mcpVersion="$Name: v6_6_16$|Nov 27 2012|20:44:05"  # MCP version
mjd           56476

initialTime   1372794679

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;

ALT_FIDUCIAL 1372794679    3   11869553  11864118   11869682  11864258    45.202       -348    350011  91 987
ALT_FIDUCIAL 1372794689    4   15533524  15525594   15533673  15525926    58.970      -3176    350011  91 987
ALT_FIDUCIAL 1372794700    5   19419260  19408680   19419413  19409196    74.475      -6361    350011  91 987
ALT_FIDUCIAL 1372794713    6   22828272  22815332   22828421  22815922    88.165      -9173    125004  91 987
ALT_FIDUCIAL 1372794723    6   22828272  22815332   22828311  22815636    88.740      -9291   -125628  91 987
ALT_FIDUCIAL 1372794736    5   19419260  19408680   19419205  19408867    76.058      -6686   -350009  91 987
ALT_FIDUCIAL 1372794747    4   15533524  15525594   15533456  15525693    60.664      -3524   -350009  91 987
ALT_FIDUCIAL 1372794757    3   11869553  11864118   11869497  11864129    46.848       -686   -350009  91 987
ALT_FIDUCIAL 1372794770    2    7531726   7529258    7531687   7529169    29.779       2820   -350009  91 987
ALT_FIDUCIAL 1372794780    1    3924917   3924917    3924848   3924728    15.885       5674   -344384  91 987
ALT_FIDUCIAL 1372794808    1    3924917   3924917    3924927   3924833    14.785       5900    345652  91 987
ALT_FIDUCIAL 1372794822    2    7531726   7529258    7531827   7529430    28.996       2981     94695  91 987
ms_off 1372806837 AZIMUTH
ms_off 1372806837 ALTITUDE
ms_off 1372806837 ROTATOR
ms_on 1372806837 AZIMUTH
SET_FIDUCIAL_ERROR 1372806837 ALTITUDE 1  -101
SET_FIDUCIAL_ERROR 1372806837 ALTITUDE 2  -172
ms_on 1372806837 ALTITUDE
ms_on 1372806837 ROTATOR
ms_off 1372806839 AZIMUTH
ms_off 1372806839 ALTITUDE
ms_off 1372806839 ROTATOR
ms_off 1372811079 AZIMUTH
UPDATE_ENCODER 1372811080 AZIMUTH 1  31077552  0         0
UPDATE_ENCODER 1372811080 AZIMUTH 2  31070090  0         0
ms_off 1372811081 ALTITUDE
UPDATE_ENCODER 1372811081 ALTITUDE 1  7713944  -10         0
UPDATE_ENCODER 1372811081 ALTITUDE 2  7711382  815         0
ms_off 1372811083 ROTATOR
UPDATE_ENCODER 1372811083 ROTATOR 1  6287  0         0
UPDATE_ENCODER 1372811083 ROTATOR 2  -1202623707  0         0
ms_off 1372811090 AZIMUTH
ms_off 1372811090 ALTITUDE
ms_off 1372811090 ROTATOR
ms_on 1372811090 AZIMUTH
ms_on 1372811090 ALTITUDE
ms_on 1372811090 ROTATOR
ALT_FIDUCIAL 1372811113    3   11869553  11864118   11869442  11864330    45.314       -371    385714  0 0
SET_FIDUCIAL_ERROR 1372811113 ALTITUDE 1  111
SET_FIDUCIAL_ERROR 1372811113 ALTITUDE 2  -212
ALT_FIDUCIAL 1372811123    4   15533524  15525594   15533542  15525790    59.116      -3206    385714  111 -212
SET_FIDUCIAL_ERROR 1372811123 ALTITUDE 1  -18
SET_FIDUCIAL_ERROR 1372811123 ALTITUDE 2  -196
ALT_FIDUCIAL 1372811133    5   19419260  19408680   19419269  19408945    73.166      -6092    385038  93 -408
SET_FIDUCIAL_ERROR 1372811133 ALTITUDE 1  -9
SET_FIDUCIAL_ERROR 1372811133 ALTITUDE 2  -265
ALT_FIDUCIAL 1372811146    6   22828272  22815332   22828269  22815551    88.004      -9140    113271  84 -673
SET_FIDUCIAL_ERROR 1372811147 ALTITUDE 1  3
SET_FIDUCIAL_ERROR 1372811147 ALTITUDE 2  -219
ms_off 1372811153 ALTITUDE
ms_off 1372811153 ROTATOR
ms_off 1372811153 AZIMUTH
ms_off 1372811533 AZIMUTH
UPDATE_ENCODER 1372811534 AZIMUTH 1  31077682  0         0
UPDATE_ENCODER 1372811534 AZIMUTH 2  31070175  0         0
ms_off 1372811535 ALTITUDE
UPDATE_ENCODER 1372811535 ALTITUDE 1  23142593  87         0
UPDATE_ENCODER 1372811535 ALTITUDE 2  23129446  -892         0
ms_off 1372811537 ROTATOR
UPDATE_ENCODER 1372811537 ROTATOR 1  9748  0         0
UPDATE_ENCODER 1372811537 ROTATOR 2  -1202597855  0         0
ms_off 1372811545 AZIMUTH
ms_off 1372811546 ALTITUDE
ms_off 1372811546 ROTATOR
ms_on 1372811546 AZIMUTH
ms_on 1372811546 ALTITUDE
ms_on 1372811546 ROTATOR
ALT_FIDUCIAL 1372811555    6   22828272  22815332   22828227  22815264    88.769      -9297   -114043  0 0
SET_FIDUCIAL_ERROR 1372811555 ALTITUDE 1  45
SET_FIDUCIAL_ERROR 1372811555 ALTITUDE 2  68
ALT_FIDUCIAL 1372811568    5   19419260  19408680   19419167  19408436    77.124      -6905   -385327  45 68
SET_FIDUCIAL_ERROR 1372811568 ALTITUDE 1  93
SET_FIDUCIAL_ERROR 1372811568 ALTITUDE 2  244
ALT_FIDUCIAL 1372811578    4   15533524  15525594   15533540  15525411    61.570      -3710   -385713  138 312
SET_FIDUCIAL_ERROR 1372811578 ALTITUDE 1  -16
SET_FIDUCIAL_ERROR 1372811578 ALTITUDE 2  183
ALT_FIDUCIAL 1372811588    3   11869553  11864118   11869586  11863988    47.933       -909   -385714  122 495
SET_FIDUCIAL_ERROR 1372811588 ALTITUDE 1  -33
SET_FIDUCIAL_ERROR 1372811588 ALTITUDE 2  130
ms_off 1372811609 AZIMUTH
ms_off 1372811609 ALTITUDE
ms_off 1372811609 ROTATOR
ms_off 1372833446 AZIMUTH
UPDATE_ENCODER 1372833446 AZIMUTH 1  31077642  0         0
UPDATE_ENCODER 1372833447 AZIMUTH 2  31070156  0         0
ms_off 1372833448 ALTITUDE
UPDATE_ENCODER 1372833448 ALTITUDE 1  7721352  89         0
UPDATE_ENCODER 1372833448 ALTITUDE 2  7718629  625         0
ms_off 1372833449 ROTATOR
UPDATE_ENCODER 1372833450 ROTATOR 1  6648  0         0
UPDATE_ENCODER 1372833450 ROTATOR 2  -1224480946  0         0
ms_off 1372833458 AZIMUTH
ms_off 1372833458 ALTITUDE
ms_off 1372833458 ROTATOR
ms_on 1372833459 AZIMUTH
ms_on 1372833459 ALTITUDE
ms_on 1372833459 ROTATOR
ALT_FIDUCIAL 1372833482    3   11869553  11864118   11869673  11864315    44.535       -211    385714  0 0
SET_FIDUCIAL_ERROR 1372833482 ALTITUDE 1  -120
SET_FIDUCIAL_ERROR 1372833482 ALTITUDE 2  -197
ALT_FIDUCIAL 1372833491    4   15533524  15525594   15533511  15525790    58.269      -3032    385713  -120 -197
SET_FIDUCIAL_ERROR 1372833491 ALTITUDE 1  13
SET_FIDUCIAL_ERROR 1372833491 ALTITUDE 2  -196
ALT_FIDUCIAL 1372833501    5   19419260  19408680   19419256  19408917    73.823      -6227    385071  -107 -393
SET_FIDUCIAL_ERROR 1372833501 ALTITUDE 1  4
SET_FIDUCIAL_ERROR 1372833501 ALTITUDE 2  -237
ALT_FIDUCIAL 1372833515    6   22828272  22815332   22828274  22815536    88.228      -9186    113022  -103 -630
SET_FIDUCIAL_ERROR 1372833515 ALTITUDE 1  -2
SET_FIDUCIAL_ERROR 1372833515 ALTITUDE 2  -204
ms_off 1372833522 AZIMUTH
ms_off 1372833522 ALTITUDE
ms_off 1372833522 ROTATOR
ms_off 1372834116 AZIMUTH
UPDATE_ENCODER 1372834117 AZIMUTH 1  31077625  0         0
UPDATE_ENCODER 1372834117 AZIMUTH 2  31070094  0         0
ms_off 1372834118 ALTITUDE
UPDATE_ENCODER 1372834118 ALTITUDE 1  23142616  -105         0
UPDATE_ENCODER 1372834118 ALTITUDE 2  23129466  -834         0
ms_off 1372834120 ROTATOR
UPDATE_ENCODER 1372834120 ROTATOR 1  10160  0         0
UPDATE_ENCODER 1372834120 ROTATOR 2  -1224800773  0         0
ms_off 1372834125 AZIMUTH
ms_off 1372834125 ALTITUDE
ms_off 1372834125 ROTATOR
ms_on 1372834125 AZIMUTH
ms_on 1372834126 ALTITUDE
ms_on 1372834126 ROTATOR
ALT_FIDUCIAL 1372834134    6   22828272  22815332   22828214  22815253    88.657      -9274   -114043  0 0
SET_FIDUCIAL_ERROR 1372834134 ALTITUDE 1  58
SET_FIDUCIAL_ERROR 1372834134 ALTITUDE 2  79
ALT_FIDUCIAL 1372834148    5   19419260  19408680   19419168  19408463    76.501      -6777   -385302  58 79
SET_FIDUCIAL_ERROR 1372834148 ALTITUDE 1  92
SET_FIDUCIAL_ERROR 1372834148 ALTITUDE 2  217
ALT_FIDUCIAL 1372834158    4   15533524  15525594   15533529  15525421    60.966      -3586   -385713  150 296
SET_FIDUCIAL_ERROR 1372834158 ALTITUDE 1  -5
SET_FIDUCIAL_ERROR 1372834158 ALTITUDE 2  173
ALT_FIDUCIAL 1372834167    3   11869553  11864118   11869582  11863995    47.101       -738   -385714  145 469
SET_FIDUCIAL_ERROR 1372834167 ALTITUDE 1  -29
SET_FIDUCIAL_ERROR 1372834167 ALTITUDE 2  123
ms_off 1372834189 ROTATOR
ms_off 1372834189 AZIMUTH
ms_off 1372834189 ALTITUDE
