version       mcpVersion="$Name: v6_6_6$|Dec 23 2010|16:35:56"  # MCP version
mjd           55596

initialTime   1296772616

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;

ms_off 1296772616 AZIMUTH
UPDATE_ENCODER 1296772617 AZIMUTH 1  31076755  0         0
UPDATE_ENCODER 1296772617 AZIMUTH 2  31069034  0         0
ms_off 1296772618 ALTITUDE
UPDATE_ENCODER 1296772618 ALTITUDE 1  7715470  0         0
UPDATE_ENCODER 1296772618 ALTITUDE 2  7713150  0         0
ms_off 1296772619 ROTATOR
UPDATE_ENCODER 1296772620 ROTATOR 1  10  0         0
UPDATE_ENCODER 1296772620 ROTATOR 2  -18511531  0         0
ms_off 1296773168 AZIMUTH
ms_off 1296773168 ALTITUDE
ms_off 1296773168 ROTATOR
ms_on 1296773169 AZIMUTH
ms_on 1296773169 ALTITUDE
ms_on 1296773169 ROTATOR
ms_off 1296773173 AZIMUTH
ms_off 1296773173 ROTATOR
ms_off 1296773173 ALTITUDE
