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

initialTime   1296688657

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 1296688657 AZIMUTH
UPDATE_ENCODER 1296688658 AZIMUTH 1  31076803  0         0
UPDATE_ENCODER 1296688658 AZIMUTH 2  31069208  0         0
ms_off 1296688659 ALTITUDE
UPDATE_ENCODER 1296688659 ALTITUDE 1  7723239  86         0
UPDATE_ENCODER 1296688659 ALTITUDE 2  7720698  195         0
ms_off 1296688660 ROTATOR
UPDATE_ENCODER 1296688661 ROTATOR 1  8932  0         0
UPDATE_ENCODER 1296688661 ROTATOR 2  -18511531  0         0
ms_off 1296688718 AZIMUTH
UPDATE_ENCODER 1296688718 AZIMUTH 1  31007684  0         0
UPDATE_ENCODER 1296688718 AZIMUTH 2  31000269  0         0
ms_off 1296688719 ALTITUDE
UPDATE_ENCODER 1296688719 ALTITUDE 1  7714265  0         0
UPDATE_ENCODER 1296688719 ALTITUDE 2  7711736  0         0
ms_off 1296688721 ROTATOR
UPDATE_ENCODER 1296688721 ROTATOR 1  4  0         0
UPDATE_ENCODER 1296688721 ROTATOR 2  -18511531  0         0
ms_off 1296688741 AZIMUTH
ms_off 1296688741 ALTITUDE
ms_off 1296688741 ROTATOR
ms_on 1296688741 AZIMUTH
ms_on 1296688742 ALTITUDE
ms_on 1296688742 ROTATOR
ROT_FIDUCIAL 1296688750  -78   40188560  42590828   40618955  21488469     3.665   40188547    229056  0 0
ROT_FIDUCIAL 1296688751   77   40989304  42590828   40989329  21488469     5.858   40618955    289486  0 0
SET_FIDUCIAL_ERROR 1296688752 ROTATOR 1  -25
SET_FIDUCIAL_ERROR 1296688752 ROTATOR 2  0
ROT_FIDUCIAL 1296688753  -77   40989304  42590828   41418885  21488469     8.401   40989329    335241  -25 0
ROT_FIDUCIAL 1296688754   76   41790040  42590828   41790080  21488469    10.599   41418885    337777  -25 0
SET_FIDUCIAL_ERROR 1296688754 ROTATOR 1  -40
SET_FIDUCIAL_ERROR 1296688754 ROTATOR 2  0
ROT_FIDUCIAL 1296688755  -76   41790040  42590828   42218818  21488469    13.138   41790080    311910  -65 0
ROT_FIDUCIAL 1296688757   75   42590828  42590828   42590819  21488469    15.340   42218818    256763  -65 0
SET_FIDUCIAL_ERROR 1296688757 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1296688757 ROTATOR 2  0
ROT_FIDUCIAL 1296688759  -75   42590828  42590828   43018798  21488469    17.874   42590819    172583  -56 0
ALT_FIDUCIAL 1296688765    3   11869391         0   11869681  11864224    45.475       -404    385714  0 0
SET_FIDUCIAL_ERROR 1296688765 ALTITUDE 1  -290
SET_FIDUCIAL_ERROR 1296688765 ALTITUDE 2  -11864224
ALT_FIDUCIAL 1296688774    4   15533256  15525263   15533250   3661271    59.544      -3294    385714  -290 -11864224
SET_FIDUCIAL_ERROR 1296688774 ALTITUDE 1  6
SET_FIDUCIAL_ERROR 1296688774 ALTITUDE 2  11863992
ALT_FIDUCIAL 1296688784    5   19418748  19408116   19418742  19407992    73.789      -6220    385100  -284 -232
SET_FIDUCIAL_ERROR 1296688784 ALTITUDE 1  6
SET_FIDUCIAL_ERROR 1296688784 ALTITUDE 2  124
ALT_FIDUCIAL 1296688798    6   22827664  22814716   22827558  22814459    88.594      -9261    113400  -278 -108
SET_FIDUCIAL_ERROR 1296688798 ALTITUDE 1  106
SET_FIDUCIAL_ERROR 1296688798 ALTITUDE 2  257
ms_off 1296688805 AZIMUTH
ms_off 1296688805 ROTATOR
ms_off 1296688805 ALTITUDE
ms_off 1296688835 AZIMUTH
ms_off 1296688835 ALTITUDE
ms_off 1296688836 ROTATOR
ms_on 1296688836 AZIMUTH
ms_on 1296688836 ALTITUDE
ms_on 1296688836 ROTATOR
ROT_FIDUCIAL 1296688845   75   42590828  42590828   42590390  21488469    15.338   43018403   -258347  -56 0
SET_FIDUCIAL_ERROR 1296688845 ROTATOR 1  438
SET_FIDUCIAL_ERROR 1296688845 ROTATOR 2  0
ROT_FIDUCIAL 1296688846  -76   41790040  42590828   42218839  21488469    13.138   42590390   -313961  382 0
ROT_FIDUCIAL 1296688848   76   41790040  42590828   41790090  21488469    10.599   42218839   -337777  382 0
SET_FIDUCIAL_ERROR 1296688848 ROTATOR 1  -50
SET_FIDUCIAL_ERROR 1296688848 ROTATOR 2  0
ROT_FIDUCIAL 1296688849  -76   41790040  42590828   41418840  21488469     8.401   41790090   -334448  332 0
ROT_FIDUCIAL 1296688850   77   40989304  42590828   40989294  21488469     5.858   41418840   -287111  332 0
SET_FIDUCIAL_ERROR 1296688850 ROTATOR 1  10
SET_FIDUCIAL_ERROR 1296688850 ROTATOR 2  0
AZ_FIDUCIAL 1296688851   21   27561590  27556300   27561618  27556538   107.312   -437880  0 0
SET_FIDUCIAL_ERROR 1296688851 AZIMUTH 1  -28
SET_FIDUCIAL_ERROR 1296688851 AZIMUTH 2  -238
ROT_FIDUCIAL 1296688852  -77   40989304  42590828   40618989  21488469     3.665   40989294   -226944  342 0
ROT_FIDUCIAL 1296688854   78   40188560  42590828   40188594  21488469     1.117   40618989   -123500  342 0
SET_FIDUCIAL_ERROR 1296688854 ROTATOR 1  -34
SET_FIDUCIAL_ERROR 1296688854 ROTATOR 2  0
ms_off 1296688859 ROTATOR
ms_off 1296688860 AZIMUTH
ms_off 1296688860 ALTITUDE
ms_off 1296688884 AZIMUTH
ms_off 1296688884 ALTITUDE
ms_off 1296688884 ROTATOR
ms_on 1296688884 AZIMUTH
ms_on 1296688884 ALTITUDE
ms_on 1296688884 ROTATOR
AZ_FIDUCIAL 1296688896   21   27561590  27556300   27561326  27556140   107.311    440794  -28 -238
SET_FIDUCIAL_ERROR 1296688896 AZIMUTH 1  264
SET_FIDUCIAL_ERROR 1296688896 AZIMUTH 2  160
ms_off 1296688908 ROTATOR
ms_off 1296688908 AZIMUTH
ms_off 1296688908 ALTITUDE
ms_off 1296688920 AZIMUTH
ms_off 1296688921 ALTITUDE
ms_off 1296688921 ROTATOR
ms_on 1296688921 AZIMUTH
ms_on 1296688921 ALTITUDE
ms_on 1296688921 ROTATOR
ALT_FIDUCIAL 1296688930    6   22827664  22814716   22827530  22814554    89.265      -9399   -114428  -172 149
SET_FIDUCIAL_ERROR 1296688930 ALTITUDE 1  134
SET_FIDUCIAL_ERROR 1296688930 ALTITUDE 2  162
ALT_FIDUCIAL 1296688943    5   19418748  19408116   19418695  19408189    77.445      -6971   -385302  -38 311
SET_FIDUCIAL_ERROR 1296688943 ALTITUDE 1  53
SET_FIDUCIAL_ERROR 1296688943 ALTITUDE 2  -73
ALT_FIDUCIAL 1296688953    4   15533256  15525263   15533288  15525454    61.506      -3697   -385713  15 238
SET_FIDUCIAL_ERROR 1296688953 ALTITUDE 1  -32
SET_FIDUCIAL_ERROR 1296688953 ALTITUDE 2  -191
ms_off 1296688984 ALTITUDE
ms_off 1296688984 ROTATOR
ms_off 1296688984 AZIMUTH
ms_off 1296696944 AZIMUTH
UPDATE_ENCODER 1296696944 AZIMUTH 1  31077039  236         0
UPDATE_ENCODER 1296696944 AZIMUTH 2  31069311  -78         0
ms_off 1296696946 ALTITUDE
UPDATE_ENCODER 1296696946 ALTITUDE 1  7714891  -17         0
UPDATE_ENCODER 1296696946 ALTITUDE 2  7712528  47         0
ms_off 1296696947 ROTATOR
UPDATE_ENCODER 1296696948 ROTATOR 1  5  308         0
UPDATE_ENCODER 1296696948 ROTATOR 2  -18511531  0         0
ms_off 1296696962 AZIMUTH
ms_off 1296696963 ALTITUDE
ms_off 1296696963 ROTATOR
ms_on 1296696963 AZIMUTH
ms_on 1296696963 ALTITUDE
ms_on 1296696963 ROTATOR
ms_off 1296696966 AZIMUTH
ms_off 1296696966 ALTITUDE
ms_off 1296696966 ROTATOR
