version       mcpVersion="$Name: v6_6_8$|Jun 15 2011|20:24:50"  # MCP version
mjd           55790

initialTime   1313526209

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 1313526209    6   22827882  22815240   22827551  22815425    88.671      -9277         0  0 0
ALT_FIDUCIAL 1313526242    5   19418900  19408598   19418600  19408749    75.434      -6558         0  0 0
ALT_FIDUCIAL 1313526270    4   15533268  15525578   15532901  15525643    60.567      -3504         0  0 0
ALT_FIDUCIAL 1313526296    3   11869365  11864105   11868953  11864091    46.414       -597         0  0 0
ALT_FIDUCIAL 1313526328    2    7531665   7529251    7531240   7529206    29.619       2853         0  0 0
ALT_FIDUCIAL 1313526529    1    3924917   3924917    3924522   3924891    15.754       5701         0  0 0
