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

initialTime   1404695113

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 1404695113 AZIMUTH
ms_off 1404695113 ALTITUDE
ms_off 1404695114 ROTATOR
ms_on 1404695114 AZIMUTH
ms_on 1404695114 ALTITUDE
ms_on 1404695114 ROTATOR
ms_off 1404695117 AZIMUTH
ms_off 1404695117 ALTITUDE
ms_off 1404695118 ROTATOR
ms_off 1404696890 AZIMUTH
UPDATE_ENCODER 1404696891 AZIMUTH 1  31077136  0         0
UPDATE_ENCODER 1404696891 AZIMUTH 2  31069578  0         0
ms_off 1404696892 ALTITUDE
UPDATE_ENCODER 1404696893 ALTITUDE 1  7718567  119         0
UPDATE_ENCODER 1404696893 ALTITUDE 2  7715652  977         0
ms_off 1404696894 ROTATOR
UPDATE_ENCODER 1404696894 ROTATOR 1  3746  0         0
UPDATE_ENCODER 1404696894 ROTATOR 2  426207116  0         0
ms_off 1404696901 AZIMUTH
ms_off 1404696902 ALTITUDE
ms_off 1404696902 ROTATOR
ms_on 1404696902 AZIMUTH
ms_on 1404696902 ALTITUDE
ms_on 1404696902 ROTATOR
ALT_FIDUCIAL 1404696925    3   11869600  11864108   11869661  11864192    44.964       -299    385714  0 0
SET_FIDUCIAL_ERROR 1404696925 ALTITUDE 1  -61
SET_FIDUCIAL_ERROR 1404696925 ALTITUDE 2  -84
ALT_FIDUCIAL 1404696935    4   15533586  15525578   15533589  15525874    58.765      -3134    385714  -61 -84
SET_FIDUCIAL_ERROR 1404696935 ALTITUDE 1  -3
SET_FIDUCIAL_ERROR 1404696935 ALTITUDE 2  -296
ALT_FIDUCIAL 1404696945    5   19419312  19408660   19419320  19408992    74.286      -6322    385038  -64 -380
SET_FIDUCIAL_ERROR 1404696945 ALTITUDE 1  -8
SET_FIDUCIAL_ERROR 1404696945 ALTITUDE 2  -332
ALT_FIDUCIAL 1404696958    6   22828312  22815324   22828256  22815536    87.795      -9097    113271  -72 -712
SET_FIDUCIAL_ERROR 1404696958 ALTITUDE 1  56
SET_FIDUCIAL_ERROR 1404696958 ALTITUDE 2  -212
ms_off 1404696965 ROTATOR
ms_off 1404696965 AZIMUTH
ms_off 1404696965 ALTITUDE
ms_off 1404696969 AZIMUTH
ms_off 1404696970 ALTITUDE
ms_off 1404696970 ROTATOR
ms_on 1404696970 AZIMUTH
ms_on 1404696970 ALTITUDE
ms_on 1404696970 ROTATOR
ROT_FIDUCIAL 1404696979  -78   40188488  42592480   40618860 466220970     3.664   40188461    228792  0 0
ROT_FIDUCIAL 1404696980   77   40989264  42592336   40989245 466221359     5.857   40618860    289222  0 0
SET_FIDUCIAL_ERROR 1404696980 ROTATOR 1  19
SET_FIDUCIAL_ERROR 1404696980 ROTATOR 2  0
ROT_FIDUCIAL 1404696981  -77   40989264  42592336   41418861 466221665     8.401   40989245    334986  19 0
AZ_FIDUCIAL 1404696985   21   27561596  27556410   27561639  27556397   107.312   -513673  0 0
SET_FIDUCIAL_ERROR 1404696985 AZIMUTH 1  -43
SET_FIDUCIAL_ERROR 1404696985 AZIMUTH 2  13
ROT_FIDUCIAL 1404696985   75   42590828  42590828   42590819 466222677    15.340   42218834    256236  19 0
SET_FIDUCIAL_ERROR 1404696985 ROTATOR 1  9
SET_FIDUCIAL_ERROR 1404696985 ROTATOR 2  0
ROT_FIDUCIAL 1404696987  -75   42590828  42590828   43018804 466223287    17.874   42590819    171792  28 0
AZ_FIDUCIAL 1404696993   20   23703580  23701000   23703558  23700919    92.290   -293115  -43 13
SET_FIDUCIAL_ERROR 1404696993 AZIMUTH 1  22
SET_FIDUCIAL_ERROR 1404696993 AZIMUTH 2  81
ms_off 1404696999 AZIMUTH
ms_off 1404696999 ALTITUDE
ms_off 1404696999 ROTATOR
ms_off 1404697004 AZIMUTH
ms_off 1404697005 ALTITUDE
ms_off 1404697005 ROTATOR
ms_on 1404697005 AZIMUTH
ms_on 1404697005 ALTITUDE
ms_on 1404697005 ROTATOR
AZ_FIDUCIAL 1404697014   20   23703580  23701000   23703148  23700640    92.289    295041  -21 94
SET_FIDUCIAL_ERROR 1404697014 AZIMUTH 1  432
SET_FIDUCIAL_ERROR 1404697014 AZIMUTH 2  360
ROT_FIDUCIAL 1404697017   76   41790048  42590936   41790076 466229683    10.599   42218866   -337778  28 0
SET_FIDUCIAL_ERROR 1404697017 ROTATOR 1  -28
SET_FIDUCIAL_ERROR 1404697017 ROTATOR 2  0
ROT_FIDUCIAL 1404697018  -76   41790048  42590936   41418865 466229988     8.401   41790076   -334447  0 0
ROT_FIDUCIAL 1404697019   77   40989264  42592336   40989268 466230271     5.858   41418865   -287374  0 0
SET_FIDUCIAL_ERROR 1404697019 ROTATOR 1  -4
SET_FIDUCIAL_ERROR 1404697019 ROTATOR 2  0
ROT_FIDUCIAL 1404697021  -77   40989264  42592336   40618876 466230662     3.664   40989268   -226944  -4 0
AZ_FIDUCIAL 1404697022   21   27561596  27556410   27561769  27556706   107.312    513673  411 454
SET_FIDUCIAL_ERROR 1404697022 AZIMUTH 1  -173
SET_FIDUCIAL_ERROR 1404697022 AZIMUTH 2  -296
ROT_FIDUCIAL 1404697023   78   40188488  42592480   40188483 466231346     1.116   40618876   -124027  -4 0
SET_FIDUCIAL_ERROR 1404697023 ROTATOR 1  5
SET_FIDUCIAL_ERROR 1404697023 ROTATOR 2  0
ms_off 1404697034 ROTATOR
ms_off 1404697034 AZIMUTH
ms_off 1404697034 ALTITUDE
ms_off 1404697212 AZIMUTH
UPDATE_ENCODER 1404697212 AZIMUTH 1  31077072  238         0
UPDATE_ENCODER 1404697212 AZIMUTH 2  31069575  158         0
ms_off 1404697214 ALTITUDE
UPDATE_ENCODER 1404697214 ALTITUDE 1  23142826  -16         0
UPDATE_ENCODER 1404697214 ALTITUDE 2  23129625  -924         0
ms_off 1404697215 ROTATOR
UPDATE_ENCODER 1404697216 ROTATOR 1  5986  1         0
UPDATE_ENCODER 1404697216 ROTATOR 2  426354400  0         0
ms_off 1404697223 AZIMUTH
ms_off 1404697223 ALTITUDE
ms_off 1404697223 ROTATOR
ms_on 1404697223 AZIMUTH
ms_on 1404697223 ALTITUDE
ms_on 1404697223 ROTATOR
ALT_FIDUCIAL 1404697232    6   22828312  22815324   22828217  22815199    88.959      -9336   -113914  0 0
SET_FIDUCIAL_ERROR 1404697232 ALTITUDE 1  95
SET_FIDUCIAL_ERROR 1404697232 ALTITUDE 2  125
ALT_FIDUCIAL 1404697245    5   19419312  19408660   19419276  19408466    76.233      -6722   -385273  95 125
SET_FIDUCIAL_ERROR 1404697245 ALTITUDE 1  36
SET_FIDUCIAL_ERROR 1404697245 ALTITUDE 2  194
ALT_FIDUCIAL 1404697255    4   15533586  15525578   15533602  15525248    62.290      -3858   -385713  131 319
SET_FIDUCIAL_ERROR 1404697255 ALTITUDE 1  -16
SET_FIDUCIAL_ERROR 1404697255 ALTITUDE 2  330
ALT_FIDUCIAL 1404697265    3   11869600  11864108   11869634  11863790    46.736       -663   -385714  115 649
SET_FIDUCIAL_ERROR 1404697265 ALTITUDE 1  -34
SET_FIDUCIAL_ERROR 1404697265 ALTITUDE 2  318
ms_off 1404697286 ROTATOR
ms_off 1404697286 AZIMUTH
ms_off 1404697286 ALTITUDE
ms_off 1404697307 AZIMUTH
ms_off 1404697307 ALTITUDE
ms_off 1404697307 ROTATOR
ms_off 1404697307 AZIMUTH
ms_off 1404697308 ALTITUDE
ms_off 1404697308 ROTATOR
ms_off 1404697358 AZIMUTH
ms_off 1404697358 ALTITUDE
ms_off 1404697358 ROTATOR
ms_off 1404697358 AZIMUTH
ms_off 1404697359 ALTITUDE
ms_off 1404697359 ROTATOR
ms_off 1404731616 AZIMUTH
UPDATE_ENCODER 1404731616 AZIMUTH 1  31077210  0         0
UPDATE_ENCODER 1404731616 AZIMUTH 2  31069700  0         0
ms_off 1404731617 ALTITUDE
UPDATE_ENCODER 1404731618 ALTITUDE 1  7719415  81         0
UPDATE_ENCODER 1404731618 ALTITUDE 2  7716533  967         0
ms_off 1404731619 ROTATOR
UPDATE_ENCODER 1404731619 ROTATOR 1  3277  0         0
UPDATE_ENCODER 1404731620 ROTATOR 2  456587699  0         0
ms_off 1404731624 AZIMUTH
ms_off 1404731625 ALTITUDE
ms_off 1404731625 ROTATOR
ms_on 1404731625 AZIMUTH
ms_on 1404731625 ALTITUDE
ms_on 1404731625 ROTATOR
ALT_FIDUCIAL 1404731648    3   11869600  11864108   11869622  11864194    44.599       -224    385714  0 0
SET_FIDUCIAL_ERROR 1404731648 ALTITUDE 1  -22
SET_FIDUCIAL_ERROR 1404731648 ALTITUDE 2  -86
ALT_FIDUCIAL 1404731658    4   15533586  15525578   15533602  15525888    58.366      -3052    385714  -22 -86
SET_FIDUCIAL_ERROR 1404731658 ALTITUDE 1  -16
SET_FIDUCIAL_ERROR 1404731658 ALTITUDE 2  -310
ALT_FIDUCIAL 1404731668    5   19419312  19408660   19419321  19408991    74.237      -6312    385098  -38 -396
SET_FIDUCIAL_ERROR 1404731668 ALTITUDE 1  -9
SET_FIDUCIAL_ERROR 1404731668 ALTITUDE 2  -331
ALT_FIDUCIAL 1404731681    6   22828312  22815324   22828257  22815530    87.815      -9101    113009  -47 -727
SET_FIDUCIAL_ERROR 1404731681 ALTITUDE 1  55
SET_FIDUCIAL_ERROR 1404731681 ALTITUDE 2  -206
ms_off 1404731688 AZIMUTH
ms_off 1404731690 ROTATOR
ms_off 1404731690 ALTITUDE
ms_off 1404731915 AZIMUTH
UPDATE_ENCODER 1404731915 AZIMUTH 1  31077188  0         0
UPDATE_ENCODER 1404731915 AZIMUTH 2  31069648  0         0
ms_off 1404731916 ALTITUDE
UPDATE_ENCODER 1404731917 ALTITUDE 1  23142649  8         0
UPDATE_ENCODER 1404731917 ALTITUDE 2  23129452  -933         0
ms_off 1404731918 ROTATOR
UPDATE_ENCODER 1404731919 ROTATOR 1  5749  0         0
UPDATE_ENCODER 1404731919 ROTATOR 2  456789317  0         0
ms_off 1404731923 AZIMUTH
ms_off 1404731923 ALTITUDE
ms_off 1404731923 ROTATOR
ms_on 1404731924 AZIMUTH
ms_on 1404731924 ALTITUDE
ms_on 1404731924 ROTATOR
ALT_FIDUCIAL 1404731932    6   22828312  22815324   22828244  22815240    88.978      -9340   -113914  0 0
SET_FIDUCIAL_ERROR 1404731932 ALTITUDE 1  68
SET_FIDUCIAL_ERROR 1404731932 ALTITUDE 2  84
ALT_FIDUCIAL 1404731946    5   19419312  19408660   19419272  19408464    76.647      -6807   -385302  68 84
SET_FIDUCIAL_ERROR 1404731946 ALTITUDE 1  40
SET_FIDUCIAL_ERROR 1404731946 ALTITUDE 2  196
ALT_FIDUCIAL 1404731956    4   15533586  15525578   15533600  15525248    61.029      -3599   -385714  108 280
SET_FIDUCIAL_ERROR 1404731956 ALTITUDE 1  -14
SET_FIDUCIAL_ERROR 1404731956 ALTITUDE 2  330
ALT_FIDUCIAL 1404731965    3   11869600  11864108   11869621  11863777    47.247       -768   -385714  94 610
SET_FIDUCIAL_ERROR 1404731965 ALTITUDE 1  -21
SET_FIDUCIAL_ERROR 1404731965 ALTITUDE 2  331
ms_off 1404731987 ALTITUDE
ms_off 1404731987 ROTATOR
ms_off 1404731987 AZIMUTH
