version       mcpVersion="$Name: v6_6_18$|Feb 14 2014|00:10:08"  # MCP version
mjd           56855

initialTime   1405544925

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 1405544925    3   11869600  11864108   11869896  11864635    45.076       -322    350002  0 0
ALT_FIDUCIAL 1405544935    4   15533586  15525578   15533896  15526429    59.053      -3193    350002  0 0
ALT_FIDUCIAL 1405544946    5   19419312  19408660   19419621  19409835    74.748      -6417    350002  0 0
ALT_FIDUCIAL 1405544959    6   22828312  22815324   22828557  22816690    87.683      -9074    124688  0 0
ROT_FIDUCIAL 1405545009   79   39387480  42592996   39387511 790834044    -3.627   39818716   -235702  0 0
ROT_FIDUCIAL 1405545010  -79   39387480  42592996   39018643 790835825    -5.811   39387511   -298424  0 0
ROT_FIDUCIAL 1405545012   80   38586592  42592984   38586629 790837533    -8.369   39018643   -349896  0 0
ROT_FIDUCIAL 1405545013  -80   38586592  42592984   38218645 790838730   -10.547   38586629   -349896  0 0
ROT_FIDUCIAL 1405545016   82   36984992  42593164   36985034 790842789   -17.852   37418634   -349896  0 0
ROT_FIDUCIAL 1405545017  -82   36984992  42593164   36618631 790843950   -20.021   36985034   -349896  0 0
ROT_FIDUCIAL 1405545019   83   36184176  42593128   36184225 790845343   -22.593   36618631   -334989  0 0
ROT_FIDUCIAL 1405545020  -83   36184176  42593128   35818618 790846445   -24.758   36184225   -281267  0 0
ROT_FIDUCIAL 1405545022   84   35383360  42593192   35383416 790848139   -27.335   35818618   -199700  0 0
ROT_FIDUCIAL 1405545024  -84   35383360  42593192   35018609 790850593   -29.495   35383416    -86349  0 0
ROT_FIDUCIAL 1405545040   84   35383360  42593192   35383409 790866418   -27.335   35018606    187933  0 0
ROT_FIDUCIAL 1405545062  -84   35383360  42593192   35818601 790890824   -24.758   35383409     62175  0 0
ROT_FIDUCIAL 1405545065   83   36184176  42593128   36184202 790893922   -22.594   35818601    191870  0 0
ROT_FIDUCIAL 1405545069  -83   36184176  42593128   36618600 790898242   -20.021   36184202     16317  0 0
