version       mcpVersion="$Name: v6_6_10$|Aug 26 2011|17:12:08"  # MCP version
mjd           55908

initialTime   1323732092

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 1323732092 AZIMUTH
ms_off 1323732092 ALTITUDE
ms_off 1323732093 ROTATOR
ms_on 1323732093 AZIMUTH
ms_on 1323732093 ALTITUDE
ms_on 1323732093 ROTATOR
ms_off 1323732096 AZIMUTH
ms_off 1323732096 ROTATOR
ms_off 1323732096 ALTITUDE
ms_off 1323772105 AZIMUTH
UPDATE_ENCODER 1323772106 AZIMUTH 1  31076984  0         0
UPDATE_ENCODER 1323772107 AZIMUTH 2  31069315  0         0
ms_off 1323772108 ALTITUDE
UPDATE_ENCODER 1323772109 ALTITUDE 1  7716009  73         0
UPDATE_ENCODER 1323772109 ALTITUDE 2  7713420  302         0
ms_off 1323772110 ROTATOR
UPDATE_ENCODER 1323772111 ROTATOR 1  5405  0         0
UPDATE_ENCODER 1323772111 ROTATOR 2  -1859441687  0         0
ms_off 1323772120 AZIMUTH
ms_off 1323772121 ALTITUDE
ms_off 1323772121 ROTATOR
ms_on 1323772121 AZIMUTH
ms_on 1323772121 ALTITUDE
ms_on 1323772121 ROTATOR
ALT_FIDUCIAL 1323772144    3   11869344  11863766   11869192  11863849    44.248       -152    385714  0 0
SET_FIDUCIAL_ERROR 1323772144 ALTITUDE 1  152
SET_FIDUCIAL_ERROR 1323772144 ALTITUDE 2  -83
ALT_FIDUCIAL 1323772154    4   15533239  15525074   15533310  15525269    59.690      -3324    385714  152 -83
SET_FIDUCIAL_ERROR 1323772154 ALTITUDE 1  -71
SET_FIDUCIAL_ERROR 1323772154 ALTITUDE 2  -195
ALT_FIDUCIAL 1323772164    5   19418924  19407976   19418941  19408128    73.585      -6178    385109  81 -278
SET_FIDUCIAL_ERROR 1323772164 ALTITUDE 1  -17
SET_FIDUCIAL_ERROR 1323772164 ALTITUDE 2  -152
ALT_FIDUCIAL 1323772177    6   22827940  22814526   22827858  22814580    88.404      -9222    112921  64 -430
SET_FIDUCIAL_ERROR 1323772177 ALTITUDE 1  82
SET_FIDUCIAL_ERROR 1323772177 ALTITUDE 2  -54
ms_off 1323772184 ROTATOR
ms_off 1323772184 AZIMUTH
ms_off 1323772185 ALTITUDE
ms_off 1323772297 AZIMUTH
UPDATE_ENCODER 1323772298 AZIMUTH 1  31077024  0         0
UPDATE_ENCODER 1323772298 AZIMUTH 2  31069355  0         0
ms_off 1323772299 ALTITUDE
UPDATE_ENCODER 1323772300 ALTITUDE 1  23142532  146         0
UPDATE_ENCODER 1323772300 ALTITUDE 2  23128904  -484         0
ms_off 1323772301 ROTATOR
UPDATE_ENCODER 1323772302 ROTATOR 1  8756  0         0
UPDATE_ENCODER 1323772302 ROTATOR 2  -1859401291  0         0
ms_off 1323772308 AZIMUTH
ms_off 1323772309 ALTITUDE
ms_off 1323772309 ROTATOR
ms_on 1323772309 AZIMUTH
ms_on 1323772309 ALTITUDE
ms_on 1323772309 ROTATOR
ALT_FIDUCIAL 1323772318    6   22827940  22814526   22827701  22814259    89.265      -9399   -114171  0 0
SET_FIDUCIAL_ERROR 1323772318 ALTITUDE 1  239
SET_FIDUCIAL_ERROR 1323772318 ALTITUDE 2  267
ALT_FIDUCIAL 1323772331    5   19418924  19407976   19418937  19407863    76.661      -6810   -385273  239 267
SET_FIDUCIAL_ERROR 1323772331 ALTITUDE 1  -13
SET_FIDUCIAL_ERROR 1323772331 ALTITUDE 2  113
ALT_FIDUCIAL 1323772341    4   15533239  15525074   15533237  15524940    61.015      -3596   -385713  226 380
SET_FIDUCIAL_ERROR 1323772341 ALTITUDE 1  2
SET_FIDUCIAL_ERROR 1323772341 ALTITUDE 2  134
ms_off 1323772349 AZIMUTH
ms_off 1323772349 ALTITUDE
ms_off 1323772350 ROTATOR
ms_off 1323772350 AZIMUTH
ms_off 1323772351 ALTITUDE
ms_off 1323772351 ROTATOR
ALT_FIDUCIAL 1323772351    3   11869344  11863766   11869294  11863628    46.989       -715   -385713  228 514
ALT_FIDUCIAL 1323772368    2    7531643   7529100    7531531   7528812    29.380       2902    -77271  228 514
ALT_FIDUCIAL 1323772375    2    7531643   7529100    7531597   7528897    29.010       2978     72398  228 514
