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

initialTime   1311959911

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;

AZ_FIDUCIAL 1311959911   22   31414300  31406440   31414239  31406392   122.312         0  0 0
AZ_FIDUCIAL 1311960861   22   31414300  31406440   31414166  31406309   122.312         0  0 0
AZ_FIDUCIAL 1311961345   22   31414300  31406440   31414229  31406463   122.312         0  0 0
AZ_FIDUCIAL 1311961461   22   31414300  31406440   31414182  31406379   122.312         0  0 0
AZ_FIDUCIAL 1311961642   21   27561650  27556412   27561594  27556309   107.312         0  0 0
AZ_FIDUCIAL 1311961821   21   27561650  27556412   27561355  27556122   107.311         0  0 0
