version       mcpVersion="$Name: v6_6_16$|Nov 27 2012|20:44:05"  # MCP version
mjd           56292

initialTime   1356909306

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 1356909306 AZIMUTH
ms_off 1356909306 ALTITUDE
ms_off 1356909306 ROTATOR
ms_on 1356909306 AZIMUTH
ms_on 1356909306 ALTITUDE
ms_on 1356909306 ROTATOR
ms_off 1356909310 AZIMUTH
ms_off 1356909310 ROTATOR
ms_off 1356909310 ALTITUDE
ms_off 1356912560 AZIMUTH
UPDATE_ENCODER 1356912561 AZIMUTH 1  31077382  0         0
UPDATE_ENCODER 1356912561 AZIMUTH 2  31069743  0         0
ms_off 1356912562 ALTITUDE
UPDATE_ENCODER 1356912562 ALTITUDE 1  7706197  -292         0
UPDATE_ENCODER 1356912562 ALTITUDE 2  7703652  -413         0
ms_off 1356912564 ROTATOR
UPDATE_ENCODER 1356912564 ROTATOR 1  4119  0         0
UPDATE_ENCODER 1356912564 ROTATOR 2  2034516915  0         0
ms_off 1356912569 AZIMUTH
ms_off 1356912569 ALTITUDE
ms_off 1356912570 ROTATOR
ms_on 1356912570 AZIMUTH
ms_on 1356912570 ALTITUDE
ms_on 1356912570 ROTATOR
ALT_FIDUCIAL 1356912593    3   11869589  11864125   11869603  11864132    44.711       -247    385714  0 0
SET_FIDUCIAL_ERROR 1356912593 ALTITUDE 1  -14
SET_FIDUCIAL_ERROR 1356912593 ALTITUDE 2  -7
ALT_FIDUCIAL 1356912602    4   15533607  15525604   15533552  15525456    58.765      -3134    385714  -14 -7
SET_FIDUCIAL_ERROR 1356912603 ALTITUDE 1  55
SET_FIDUCIAL_ERROR 1356912603 ALTITUDE 2  148
ALT_FIDUCIAL 1356912613    5   19419330  19408634   19419313  19408392    74.490      -6364    385100  41 141
SET_FIDUCIAL_ERROR 1356912613 ALTITUDE 1  17
SET_FIDUCIAL_ERROR 1356912613 ALTITUDE 2  242
ALT_FIDUCIAL 1356912626    6   22828354  22815280   22828316  22815052    88.116      -9163    112885  58 383
SET_FIDUCIAL_ERROR 1356912626 ALTITUDE 1  38
SET_FIDUCIAL_ERROR 1356912626 ALTITUDE 2  228
ms_off 1356912633 AZIMUTH
ms_off 1356912633 ALTITUDE
ms_off 1356912633 ROTATOR
ms_off 1356912773 AZIMUTH
UPDATE_ENCODER 1356912773 AZIMUTH 1  31077440  0         0
UPDATE_ENCODER 1356912773 AZIMUTH 2  31069790  0         0
ms_off 1356912774 ALTITUDE
UPDATE_ENCODER 1356912775 ALTITUDE 1  23142768  96         0
UPDATE_ENCODER 1356912775 ALTITUDE 2  23129460  611         0
ms_off 1356912776 ROTATOR
UPDATE_ENCODER 1356912776 ROTATOR 1  5989  0         0
UPDATE_ENCODER 1356912777 ROTATOR 2  2034795516  0         0
ms_off 1356912783 AZIMUTH
ms_off 1356912783 ALTITUDE
ms_off 1356912783 ROTATOR
ms_on 1356912783 AZIMUTH
ms_on 1356912783 ALTITUDE
ms_on 1356912783 ROTATOR
ALT_FIDUCIAL 1356912792    6   22828354  22815280   22828241  22815119    89.027      -9350   -113914  0 0
SET_FIDUCIAL_ERROR 1356912792 ALTITUDE 1  113
SET_FIDUCIAL_ERROR 1356912792 ALTITUDE 2  161
ALT_FIDUCIAL 1356912805    5   19419330  19408634   19419278  19408717    77.172      -6915   -385273  113 161
SET_FIDUCIAL_ERROR 1356912805 ALTITUDE 1  52
SET_FIDUCIAL_ERROR 1356912805 ALTITUDE 2  -83
ALT_FIDUCIAL 1356912815    4   15533607  15525604   15533620  15525823    61.618      -3720   -385714  165 78
SET_FIDUCIAL_ERROR 1356912815 ALTITUDE 1  -13
SET_FIDUCIAL_ERROR 1356912815 ALTITUDE 2  -219
ALT_FIDUCIAL 1356912825    3   11869589  11864125   11869619  11864356    47.549       -830   -385714  152 -141
SET_FIDUCIAL_ERROR 1356912825 ALTITUDE 1  -30
SET_FIDUCIAL_ERROR 1356912825 ALTITUDE 2  -231
ms_off 1356912846 ROTATOR
ms_off 1356912846 AZIMUTH
ms_off 1356912846 ALTITUDE
