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

initialTime   1312242233

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;

START_FIDUCIAL 1312242233 "mcpVersion="$Name: v6_6_8$|Jun 15 2011|20:24:50""
ms_off 1312244324 AZIMUTH
UPDATE_ENCODER 1312244324 AZIMUTH 1  31070054  0         0
UPDATE_ENCODER 1312244324 AZIMUTH 2  31062646  0         0
ms_off 1312244326 ALTITUDE
UPDATE_ENCODER 1312244326 ALTITUDE 1  23151114  0         0
UPDATE_ENCODER 1312244326 ALTITUDE 2  23138761  0         0
ms_off 1312244327 ROTATOR
UPDATE_ENCODER 1312244327 ROTATOR 1  10410896  0         0
UPDATE_ENCODER 1312244327 ROTATOR 2  14  0         0
ROT_FIDUCIAL 1312294269   66   49798032  42590828   49797779  40000014    58.013   50218594   -100003  0 0
ROT_FIDUCIAL 1312294297   70   46594800  42590828   46594548  40000014    39.047   47018539   -349965  0 0
ROT_FIDUCIAL 1312294298  -70   46594800  42590828   46218515  40000014    36.820   46594548   -349965  0 0
ROT_FIDUCIAL 1312294299   71   45793964  42590828   45793702  40000014    34.305   46218515   -349965  0 0
ROT_FIDUCIAL 1312294300  -71   45793964  42590828   45418511  40000014    32.083   45793702   -349965  0 0
ROT_FIDUCIAL 1312294301   72   44993168  42590828   44992891  40000014    29.563   45418511   -349965  0 0
ROT_FIDUCIAL 1312294302  -72   44993168  42590828   44618497  40000014    27.346   44992891   -349965  0 0
ROT_FIDUCIAL 1312294304   73   44192384  42590828   44192119  40000014    24.822   44618497   -349965  0 0
ROT_FIDUCIAL 1312294305  -73   44192384  42590828   43818517  40000014    22.610   44192119   -349965  0 0
ROT_FIDUCIAL 1312294306   74   43391588  42590828   43391313  40000014    20.080   43818517   -349965  0 0
ROT_FIDUCIAL 1312294307  -74   43391588  42590828   43018543  40000014    17.873   43391313   -349965  0 0
ROT_FIDUCIAL 1312294308   75   42590828  42590828   42590555  40000014    15.339   43018543   -349965  0 0
ROT_FIDUCIAL 1312294309  -75   42590828  42590828   42218563  40000014    13.136   42590555   -349965  0 0
ROT_FIDUCIAL 1312294310   76   41790028  42590828   41789815  40000014    10.598   42218563   -349965  0 0
