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

initialTime   1296514811

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 1296514811 AZIMUTH
UPDATE_ENCODER 1296514812 AZIMUTH 1  31077072  0         0
UPDATE_ENCODER 1296514812 AZIMUTH 2  31069432  0         0
ms_off 1296514813 ALTITUDE
UPDATE_ENCODER 1296514813 ALTITUDE 1  7713332  -34         0
UPDATE_ENCODER 1296514813 ALTITUDE 2  7710769  56         0
ms_off 1296514815 ROTATOR
UPDATE_ENCODER 1296514815 ROTATOR 1  6269  0         0
UPDATE_ENCODER 1296514815 ROTATOR 2  -18511531  0         0
ms_off 1296514839 AZIMUTH
UPDATE_ENCODER 1296514839 AZIMUTH 1  31077071  0         0
UPDATE_ENCODER 1296514839 AZIMUTH 2  31069419  0         0
ms_off 1296514840 ALTITUDE
UPDATE_ENCODER 1296514840 ALTITUDE 1  7713331  0         0
UPDATE_ENCODER 1296514840 ALTITUDE 2  7710761  0         0
ms_off 1296514841 ROTATOR
UPDATE_ENCODER 1296514841 ROTATOR 1  6264  0         0
UPDATE_ENCODER 1296514841 ROTATOR 2  -18511531  0         0
ms_off 1296514860 AZIMUTH
ms_off 1296514861 ALTITUDE
ms_off 1296514861 ROTATOR
ms_on 1296514861 AZIMUTH
ms_on 1296514861 ALTITUDE
ms_on 1296514861 ROTATOR
ROT_FIDUCIAL 1296514867   78   40188560  42590828   40188719  21488469     1.117   39818748    124292  0 0
SET_FIDUCIAL_ERROR 1296514867 ROTATOR 1  -159
SET_FIDUCIAL_ERROR 1296514867 ROTATOR 2  0
ROT_FIDUCIAL 1296514869  -78   40188560  42590828   40618960  21488469     3.665   40188719    228000  -159 0
ROT_FIDUCIAL 1296514871   77   40989304  42590828   40989334  21488469     5.858   40618960    289486  -159 0
SET_FIDUCIAL_ERROR 1296514871 ROTATOR 1  -30
SET_FIDUCIAL_ERROR 1296514871 ROTATOR 2  0
ROT_FIDUCIAL 1296514872  -77   40989304  42590828   41418882  21488469     8.401   40989334    334725  -189 0
ROT_FIDUCIAL 1296514873   76   41790040  42590828   41790078  21488469    10.599   41418882    337777  -189 0
SET_FIDUCIAL_ERROR 1296514873 ROTATOR 1  -38
SET_FIDUCIAL_ERROR 1296514873 ROTATOR 2  0
ROT_FIDUCIAL 1296514875  -76   41790040  42590828   42218820  21488469    13.138   41790078    311394  -227 0
ROT_FIDUCIAL 1296514876   75   42590828  42590828   42590821  21488469    15.340   42218820    255981  -227 0
SET_FIDUCIAL_ERROR 1296514876 ROTATOR 1  7
SET_FIDUCIAL_ERROR 1296514876 ROTATOR 2  0
ROT_FIDUCIAL 1296514878  -75   42590828  42590828   43018796  21488469    17.874   42590821    172856  -220 0
ALT_FIDUCIAL 1296514894    4   15533256  15525263   15533328  15525263    59.466      -3278    385714  0 0
SET_FIDUCIAL_ERROR 1296514894 ALTITUDE 1  -72
SET_FIDUCIAL_ERROR 1296514894 ALTITUDE 2  0
ALT_FIDUCIAL 1296514904    5   19418748  19408116   19418782  19408010    73.438      -6148    385143  -72 0
SET_FIDUCIAL_ERROR 1296514904 ALTITUDE 1  -34
SET_FIDUCIAL_ERROR 1296514904 ALTITUDE 2  106
ALT_FIDUCIAL 1296514917    6   22827664  22814716   22827570  22814542    88.384      -9218    113193  -106 106
SET_FIDUCIAL_ERROR 1296514917 ALTITUDE 1  94
SET_FIDUCIAL_ERROR 1296514917 ALTITUDE 2  174
ms_off 1296514924 AZIMUTH
ms_off 1296514924 ALTITUDE
ms_off 1296514924 ROTATOR
ms_off 1296514929 AZIMUTH
ms_off 1296514929 ALTITUDE
ms_off 1296514929 ROTATOR
ms_on 1296514929 AZIMUTH
ms_on 1296514929 ALTITUDE
ms_on 1296514930 ROTATOR
ALT_FIDUCIAL 1296514938    6   22827664  22814716   22827535  22814569    89.217      -9389   -114043  -12 280
SET_FIDUCIAL_ERROR 1296514938 ALTITUDE 1  129
SET_FIDUCIAL_ERROR 1296514938 ALTITUDE 2  147
ROT_FIDUCIAL 1296514939   75   42590828  42590828   42590425  21488469    15.338   43018417   -258083  -220 0
SET_FIDUCIAL_ERROR 1296514939 ROTATOR 1  403
SET_FIDUCIAL_ERROR 1296514939 ROTATOR 2  0
ROT_FIDUCIAL 1296514940  -76   41790040  42590828   42218832  21488469    13.138   42590425   -313236  183 0
ROT_FIDUCIAL 1296514941   76   41790040  42590828   41790083  21488469    10.599   42218832   -337778  183 0
SET_FIDUCIAL_ERROR 1296514941 ROTATOR 1  -43
SET_FIDUCIAL_ERROR 1296514941 ROTATOR 2  0
ROT_FIDUCIAL 1296514942  -76   41790040  42590828   41418841  21488469     8.401   41790083   -334358  140 0
ROT_FIDUCIAL 1296514944   77   40989304  42590828   40989321  21488469     5.858   41418841   -287903  140 0
SET_FIDUCIAL_ERROR 1296514944 ROTATOR 1  -17
SET_FIDUCIAL_ERROR 1296514944 ROTATOR 2  0
ROT_FIDUCIAL 1296514945  -77   40989304  42590828   40618999  21488469     3.665   40989321   -227208  123 0
ROT_FIDUCIAL 1296514948   78   40188560  42590828   40188609  21488469     1.117   40618999   -124556  123 0
SET_FIDUCIAL_ERROR 1296514948 ROTATOR 1  -49
SET_FIDUCIAL_ERROR 1296514948 ROTATOR 2  0
ALT_FIDUCIAL 1296514952    5   19418748  19408116   19418666  19408101    77.489      -6980   -385327  117 427
SET_FIDUCIAL_ERROR 1296514952 ALTITUDE 1  82
SET_FIDUCIAL_ERROR 1296514952 ALTITUDE 2  15
ALT_FIDUCIAL 1296514962    4   15533256  15525263   15533262  15525324    61.618      -3720   -385714  199 442
SET_FIDUCIAL_ERROR 1296514962 ALTITUDE 1  -6
SET_FIDUCIAL_ERROR 1296514962 ALTITUDE 2  -61
ms_off 1296514993 ALTITUDE
ms_off 1296514993 AZIMUTH
ms_off 1296514993 ROTATOR
