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

initialTime   1394906008

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 1394906008    3   11869600  11864108   11869807  11864360    45.553       -420    350003  218 -140
ALT_FIDUCIAL 1394906019    4   15533586  15525578   15533735  15526009    59.627      -3311    350003  218 -140
ALT_FIDUCIAL 1394906030    5   19419312  19408660   19419380  19409197    73.521      -6165    350003  218 -140
ALT_FIDUCIAL 1394906286    5   19419312  19408660   19419153  19408999    76.851      -6849   -350007  218 -140
ALT_FIDUCIAL 1394906297    4   15533586  15525578   15533525  15525853    61.156      -3625   -350007  218 -140
ALT_FIDUCIAL 1394906308    3   11869600  11864108   11869632  11864294    47.247       -768   -350007  218 -140
ms_off 1394924795 AZIMUTH
ms_off 1394924795 ALTITUDE
ms_off 1394924795 ROTATOR
ms_on 1394924795 AZIMUTH
SET_FIDUCIAL_ERROR 1394924795 ALTITUDE 1  -32
SET_FIDUCIAL_ERROR 1394924795 ALTITUDE 2  -186
ms_on 1394924795 ALTITUDE
ms_on 1394924795 ROTATOR
ms_off 1394924798 ALTITUDE
ms_off 1394924798 ROTATOR
ms_off 1394924798 AZIMUTH
ms_off 1394927114 AZIMUTH
UPDATE_ENCODER 1394927114 AZIMUTH 1  31077119  218         0
UPDATE_ENCODER 1394927114 AZIMUTH 2  31069556  145         0
ms_off 1394927115 ALTITUDE
UPDATE_ENCODER 1394927116 ALTITUDE 1  7713647  186         0
UPDATE_ENCODER 1394927116 ALTITUDE 2  7710808  -326         0
ms_off 1394927117 ROTATOR
UPDATE_ENCODER 1394927117 ROTATOR 1  6347  -13         0
UPDATE_ENCODER 1394927118 ROTATOR 2  2098835348  0         0
ms_off 1394927123 AZIMUTH
ms_off 1394927123 ALTITUDE
ms_off 1394927124 ROTATOR
ms_on 1394927124 AZIMUTH
ms_on 1394927124 ALTITUDE
ms_on 1394927124 ROTATOR
ALT_FIDUCIAL 1394927147    3   11869600  11864108   11869812  11864311    44.823       -270    385713  0 0
SET_FIDUCIAL_ERROR 1394927147 ALTITUDE 1  -212
SET_FIDUCIAL_ERROR 1394927147 ALTITUDE 2  -203
ALT_FIDUCIAL 1394927156    4   15533586  15525578   15533512  15525734    58.634      -3107    385713  -212 -203
SET_FIDUCIAL_ERROR 1394927156 ALTITUDE 1  74
SET_FIDUCIAL_ERROR 1394927156 ALTITUDE 2  -156
ALT_FIDUCIAL 1394927166    5   19419312  19408660   19419226  19408777    74.188      -6302    385108  -138 -359
SET_FIDUCIAL_ERROR 1394927166 ALTITUDE 1  86
SET_FIDUCIAL_ERROR 1394927166 ALTITUDE 2  -117
ms_off 1394927187 AZIMUTH
ms_off 1394927187 ALTITUDE
ms_off 1394927187 ROTATOR
ms_off 1394927423 AZIMUTH
UPDATE_ENCODER 1394927423 AZIMUTH 1  31077226  0         0
UPDATE_ENCODER 1394927423 AZIMUTH 2  31069727  0         0
ms_off 1394927424 ALTITUDE
UPDATE_ENCODER 1394927425 ALTITUDE 1  23143065  -52         0
UPDATE_ENCODER 1394927425 ALTITUDE 2  23130036  -476         0
ms_off 1394927426 ROTATOR
UPDATE_ENCODER 1394927426 ROTATOR 1  4  0         0
UPDATE_ENCODER 1394927426 ROTATOR 2  2098905182  0         0
ms_off 1394927431 AZIMUTH
ms_off 1394927432 ALTITUDE
ms_off 1394927432 ROTATOR
ms_on 1394927432 AZIMUTH
ms_on 1394927432 ALTITUDE
ms_on 1394927432 ROTATOR
ALT_FIDUCIAL 1394927441    6   22828312  22815324   22828096  22815256    88.959      -9336   -114043  0 0
SET_FIDUCIAL_ERROR 1394927441 ALTITUDE 1  216
SET_FIDUCIAL_ERROR 1394927441 ALTITUDE 2  68
ALT_FIDUCIAL 1394927454    5   19419312  19408660   19419319  19408560    75.882      -6650   -385327  216 68
SET_FIDUCIAL_ERROR 1394927454 ALTITUDE 1  -7
SET_FIDUCIAL_ERROR 1394927454 ALTITUDE 2  100
ALT_FIDUCIAL 1394927464    4   15533586  15525578   15533673  15525497    61.589      -3714   -385713  209 168
SET_FIDUCIAL_ERROR 1394927464 ALTITUDE 1  -87
SET_FIDUCIAL_ERROR 1394927464 ALTITUDE 2  81
ALT_FIDUCIAL 1394927474    3   11869600  11864108   11869697  11864025    47.870       -896   -385714  122 249
SET_FIDUCIAL_ERROR 1394927474 ALTITUDE 1  -97
SET_FIDUCIAL_ERROR 1394927474 ALTITUDE 2  83
ms_off 1394927495 ALTITUDE
ms_off 1394927495 ROTATOR
ms_off 1394927495 AZIMUTH
