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

initialTime   1367788131

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 1367788131 AZIMUTH
ms_off 1367788131 ALTITUDE
ms_off 1367788131 ROTATOR
ms_on 1367788132 AZIMUTH
ms_on 1367788132 ALTITUDE
ms_on 1367788132 ROTATOR
ms_off 1367788135 AZIMUTH
ms_off 1367788136 ALTITUDE
ms_off 1367788136 ROTATOR
ms_off 1367793311 AZIMUTH
UPDATE_ENCODER 1367793312 AZIMUTH 1  31077429  0         0
UPDATE_ENCODER 1367793312 AZIMUTH 2  31069988  0         0
ms_off 1367793313 ALTITUDE
UPDATE_ENCODER 1367793313 ALTITUDE 1  7720818  -91         0
UPDATE_ENCODER 1367793313 ALTITUDE 2  7718136  -242         0
ms_off 1367793314 ROTATOR
UPDATE_ENCODER 1367793315 ROTATOR 1  7770  0         0
UPDATE_ENCODER 1367793315 ROTATOR 2  1326412450  0         0
ms_off 1367793321 AZIMUTH
ms_off 1367793321 ALTITUDE
ms_off 1367793321 ROTATOR
ms_on 1367793321 AZIMUTH
ms_on 1367793321 ALTITUDE
ms_on 1367793321 ROTATOR
ALT_FIDUCIAL 1367793344    3   11869589  11864125   11869416  11863749    43.941        -89    385714  0 0
SET_FIDUCIAL_ERROR 1367793344 ALTITUDE 1  173
SET_FIDUCIAL_ERROR 1367793344 ALTITUDE 2  376
ALT_FIDUCIAL 1367793354    4   15533607  15525604   15533581  15525504    59.496      -3284    385714  173 376
SET_FIDUCIAL_ERROR 1367793354 ALTITUDE 1  26
SET_FIDUCIAL_ERROR 1367793354 ALTITUDE 2  100
ALT_FIDUCIAL 1367793364    5   19419330  19408634   19419319  19408531    73.346      -6129    385141  199 476
SET_FIDUCIAL_ERROR 1367793364 ALTITUDE 1  11
SET_FIDUCIAL_ERROR 1367793364 ALTITUDE 2  103
ALT_FIDUCIAL 1367793377    6   22828354  22815280   22828303  22815176    88.146      -9169    113179  210 579
SET_FIDUCIAL_ERROR 1367793377 ALTITUDE 1  51
SET_FIDUCIAL_ERROR 1367793377 ALTITUDE 2  104
ms_off 1367793384 AZIMUTH
ms_off 1367793384 ROTATOR
ms_off 1367793384 ALTITUDE
ms_off 1367793495 AZIMUTH
UPDATE_ENCODER 1367793495 AZIMUTH 1  31077415  0         0
UPDATE_ENCODER 1367793495 AZIMUTH 2  31069969  0         0
ms_off 1367793497 ALTITUDE
UPDATE_ENCODER 1367793497 ALTITUDE 1  23141880  261         0
UPDATE_ENCODER 1367793497 ALTITUDE 2  23128572  683         0
ms_off 1367793499 ROTATOR
UPDATE_ENCODER 1367793499 ROTATOR 1  12341  0         0
UPDATE_ENCODER 1367793499 ROTATOR 2  1326768428  0         0
ms_off 1367793504 AZIMUTH
ms_off 1367793504 ALTITUDE
ms_off 1367793504 ROTATOR
ms_on 1367793504 AZIMUTH
ms_on 1367793505 ALTITUDE
ms_on 1367793505 ROTATOR
ALT_FIDUCIAL 1367793513    6   22828354  22815280   22828341  22815227    89.217      -9389   -113914  0 0
SET_FIDUCIAL_ERROR 1367793513 ALTITUDE 1  13
SET_FIDUCIAL_ERROR 1367793513 ALTITUDE 2  53
ALT_FIDUCIAL 1367793527    5   19419330  19408634   19419299  19408634    76.739      -6826   -385273  13 53
SET_FIDUCIAL_ERROR 1367793527 ALTITUDE 1  31
SET_FIDUCIAL_ERROR 1367793527 ALTITUDE 2  0
ALT_FIDUCIAL 1367793537    4   15533607  15525604   15533581  15525651    61.204      -3635   -385713  44 53
SET_FIDUCIAL_ERROR 1367793537 ALTITUDE 1  26
SET_FIDUCIAL_ERROR 1367793537 ALTITUDE 2  -47
ALT_FIDUCIAL 1367793546    3   11869589  11864125   11869672  11864292    47.325       -784   -385714  70 6
SET_FIDUCIAL_ERROR 1367793546 ALTITUDE 1  -83
SET_FIDUCIAL_ERROR 1367793546 ALTITUDE 2  -167
ms_off 1367793568 AZIMUTH
ms_off 1367793568 ALTITUDE
ms_off 1367793568 ROTATOR
