version       mcpVersion="$Name: v6_6_13$|Jun  7 2012|22:52:15"  # MCP version
mjd           56127

initialTime   1342705873

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 1342705873    6   22827900  22814990   22827651  22815523    88.993      -9343         0  0 0
ALT_FIDUCIAL 1342705890    5   19418936  19408392   19418643  19408830    76.184      -6712         0  0 0
ALT_FIDUCIAL 1342705909    4   15533313  15525438   15532937  15525655    60.645      -3520         0  0 0
ALT_FIDUCIAL 1342705926    3   11869383  11863991   11868973  11864015    46.673       -650         0  0 0
ALT_FIDUCIAL 1342705948    2    7531625   7529167    7531127   7529080    30.305       2712         0  0 0
ALT_FIDUCIAL 1342706027    1    3924917   3924917    3924272   3924682    15.613       5730         0  0 0
