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

initialTime   1393953512

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 1393953512    3   11869600  11864108   11869457  11864264    44.978       -302    349998  -413 -231
ALT_FIDUCIAL 1393953523    4   15533586  15525578   15533359  15525840    59.019      -3186    349998  -413 -231
ALT_FIDUCIAL 1393953534    5   19419312  19408660   19418990  19408979    74.797      -6427    349998  -413 -231
ALT_FIDUCIAL 1393953546    6   22828312  22815324   22827876  22815662    88.496      -9241    125156  -413 -231
ALT_FIDUCIAL 1393957447    6   22828312  22815324   22827718  22815464    89.231      -9392   -125943  -413 -231
ALT_FIDUCIAL 1393957460    5   19419312  19408660   19418758  19408756    76.934      -6866   -350014  -413 -231
ALT_FIDUCIAL 1393957471    4   15533586  15525578   15533131  15525646    61.282      -3651   -350014  -413 -231
ALT_FIDUCIAL 1393957482    3   11869600  11864108   11869283  11864185    47.120       -742   -350014  -413 -231
ALT_FIDUCIAL 1393978204    3   11869600  11864108   11869421  11864473    44.662       -237    350013  -413 -231
ALT_FIDUCIAL 1393978215    4   15533586  15525578   15533293  15526053    58.478      -3075    350013  -413 -231
ALT_FIDUCIAL 1393978226    5   19419312  19408660   19418922  19409225    74.110      -6286    350013  -413 -231
ALT_FIDUCIAL 1393978238    6   22828312  22815324   22827786  22815905    88.243      -9189    124692  -413 -231
ROT_FIDUCIAL 1393979377  -78   40188488  42592480   40618849 1825010425     3.664   40188453    235490  0 0
ROT_FIDUCIAL 1393979378   77   40989264  42592336   40989227 1825010732     5.857   40618849    297949  0 0
ROT_FIDUCIAL 1393979380  -77   40989264  42592336   41418824 1825011002     8.401   40989227    349999  0 0
ROT_FIDUCIAL 1393979381   76   41790048  42590936   41790009 1825011202    10.599   41418824    349999  0 0
ROT_FIDUCIAL 1393979382  -76   41790048  42590936   42218791 1825011538    13.138   41790009    349999  0 0
ROT_FIDUCIAL 1393979383   75   42590828  42590828   42590786 1825011874    15.340   42218791    349999  0 0
ROT_FIDUCIAL 1393979384  -75   42590828  42590828   43018765 1825012246    17.874   42590786    349999  0 0
ROT_FIDUCIAL 1393979385   74   43391608  42590824   43391560 1825012657    20.082   43018765    349999  0 0
ROT_FIDUCIAL 1393979386  -74   43391608  42590824   43818757 1825013090    22.611   43391560    349999  0 0
ROT_FIDUCIAL 1393979387   73   44192396  42590920   44192350 1825013453    24.823   43818757    349999  0 0
ROT_FIDUCIAL 1393979389  -73   44192396  42590920   44618737 1825013798    27.348   44192350    349999  0 0
ROT_FIDUCIAL 1393979390   72   44993180  42590872   44993129 1825014156    29.565   44618737    349999  0 0
ROT_FIDUCIAL 1393979391  -72   44993180  42590872   45418698 1825014494    32.084   44993129    349999  0 0
ROT_FIDUCIAL 1393979392   71   45793960  42590768   45793887 1825014882    34.306   45418698    349999  0 0
ROT_FIDUCIAL 1393979393  -71   45793960  42590768   46218687 1825015314    36.821   45793887    349999  0 0
ROT_FIDUCIAL 1393979394   70   46594772  42590764   46594688 1825015640    39.047   46218687    349999  0 0
ROT_FIDUCIAL 1393979396  -70   46594772  42590764   47018685 1825015905    41.558   46594688    349999  0 0
ROT_FIDUCIAL 1393979397   69   47395560  42590832   47395484 1825016275    43.789   47018685    349999  0 0
ROT_FIDUCIAL 1393979398  -69   47395560  42590832   47818666 1825016618    46.295   47395484    349999  0 0
ROT_FIDUCIAL 1393979399   68   48196344  42590844   48196260 1825017007    48.530   47818666    349999  0 0
ROT_FIDUCIAL 1393979400  -68   48196344  42590844   48618659 1825017299    51.032   48196260    349999  0 0
ROT_FIDUCIAL 1393979403   66   49797924  42590908   49797841 1825018301    58.014   49418643    349999  0 0
ROT_FIDUCIAL 1393979405  -66   49797924  42590908   50218629 1825018639    60.505   49797841    349999  0 0
ROT_FIDUCIAL 1393979406   65   50598712  42590952   50598625 1825018970    62.755   50218629    349999  0 0
ROT_FIDUCIAL 1393979407  -65   50598712  42590952   51018622 1825019344    65.242   50598625    349999  0 0
ROT_FIDUCIAL 1393979408   64   51399512  42591016   51399410 1825019697    67.496   51018622    349999  0 0
ROT_FIDUCIAL 1393979409  -64   51399512  42591016   51818595 1825020055    69.978   51399410    349999  0 0
ROT_FIDUCIAL 1393979410   63   52200280  42590928   52200180 1825020271    72.238   51818595    349999  0 0
ROT_FIDUCIAL 1393979412  -63   52200280  42590928   52618562 1825020622    74.715   52200180    349999  0 0
ROT_FIDUCIAL 1393979413   62   53001064  42590968   53000959 1825020994    76.979   52618562    349999  0 0
ROT_FIDUCIAL 1393979414  -62   53001064  42590968   53418569 1825021409    79.452   53000959    349999  0 0
ROT_FIDUCIAL 1393979415   61   53801880  42591000   53801766 1825021746    81.721   53418569    349999  0 0
ROT_FIDUCIAL 1393979416  -61   53801880  42591000   54218567 1825022076    84.189   53801766    295980  0 0
ROT_FIDUCIAL 1393979418   60   54602680  42591008   54602574 1825022414    86.463   54218567    230988  0 0
ROT_FIDUCIAL 1393979420  -60   54602680  42591008   55018569 1825023192    88.926   54602574    126607  0 0
ROT_FIDUCIAL 1393979511   59   55403472  42590904   55403360 1825052930    91.204   55018569    137024  0 0
ROT_FIDUCIAL 1393979521  -59   55403472  42590904   55018575 1825056653    88.926   55403350   -193743  0 0
ROT_FIDUCIAL 1393979523   60   54602680  42591008   54602592 1825057114    86.463   55018575   -273321  0 0
ROT_FIDUCIAL 1393979524  -60   54602680  42591008   54218597 1825057517    84.189   54602592   -250825  0 0
ROT_FIDUCIAL 1393979526   61   53801880  42591000   53801800 1825058203    81.721   54218597   -160281  0 0
ALT_FIDUCIAL 1393979615    6   22828312  22815324   22827752  22815748    89.168      -9379   -126868  -413 -231
ALT_FIDUCIAL 1393979627    5   19419312  19408660   19418712  19408942    76.598      -6797   -349980  -413 -231
ROT_FIDUCIAL 1393979635  -61   53801880  42591000   53418719 1825091942    79.453   53801800    -91997  0 0
ROT_FIDUCIAL 1393979638   62   53001064  42590968   53001136 1825092569    76.980   53418719   -172740  0 0
ALT_FIDUCIAL 1393979638    4   15533586  15525578   15533097  15525816    61.127      -3619   -349980  -413 -231
ALT_FIDUCIAL 1393979649    3   11869600  11864108   11869251  11864325    47.276       -774   -349980  -413 -231
ALT_FIDUCIAL 1393979687    2    7531743   7529235    7531511   7529397    29.585       2860    -96058  -413 -231
ROT_FIDUCIAL 1393979713  -62   53001064  42590968   52618843 1825111165    74.717   53001136    -66677  0 0
ROT_FIDUCIAL 1393979716   63   52200280  42590928   52200465 1825112049    72.240   52618843   -183150  0 0
ROT_FIDUCIAL 1393980112  -63   52200280  42590928   51818885 1825269744    69.980   52200465    -32637  0 0
ROT_FIDUCIAL 1393980115   64   51399512  42591016   51399706 1825270691    67.498   51818885   -197509  0 0
ROT_FIDUCIAL 1393980117  -64   51399512  42591016   51018916 1825271061    65.244   51399706   -270942  0 0
ROT_FIDUCIAL 1393980118   65   50598712  42590952   50598920 1825271426    62.757   51018916   -333683  0 0
ROT_FIDUCIAL 1393980119  -65   50598712  42590952   50218926 1825271617    60.507   50598920   -350002  0 0
ROT_FIDUCIAL 1393980121   66   49797924  42590908   49798142 1825271983    58.015   50218926   -350002  0 0
ROT_FIDUCIAL 1393980122  -66   49797924  42590908   49418948 1825272322    55.770   49798142   -350002  0 0
ROT_FIDUCIAL 1393980123   67   48997144  42590824   48997348 1825272642    53.274   49418948   -350002  0 0
ROT_FIDUCIAL 1393980124  -67   48997144  42590824   48618970 1825272823    51.033   48997348   -350002  0 0
ROT_FIDUCIAL 1393980125   68   48196344  42590844   48196569 1825273137    48.532   48618970   -350002  0 0
ROT_FIDUCIAL 1393980126  -68   48196344  42590844   47818969 1825273326    46.297   48196569   -350002  0 0
ROT_FIDUCIAL 1393980127   69   47395560  42590832   47395776 1825273565    43.791   47818969   -350002  0 0
ROT_FIDUCIAL 1393980128  -69   47395560  42590832   47018978 1825273868    41.560   47395776   -350002  0 0
ROT_FIDUCIAL 1393980130   70   46594772  42590764   46594971 1825273989    39.049   47018978   -350002  0 0
ROT_FIDUCIAL 1393980131  -70   46594772  42590764   46218977 1825274278    36.823   46594971   -350002  0 0
ROT_FIDUCIAL 1393980132   71   45793960  42590768   45794182 1825274648    34.308   46218977   -350002  0 0
ALT_FIDUCIAL 1393980133    2    7531743   7529235    7531648   7529605    28.918       2997     95134  -413 -231
ROT_FIDUCIAL 1393980133  -71   45793960  42590768   45418997 1825274888    32.086   45794182   -350002  0 0
ROT_FIDUCIAL 1393980134   72   44993180  42590872   44993411 1825275185    29.566   45418997   -350002  0 0
ROT_FIDUCIAL 1393980135  -72   44993180  42590872   44619015 1825275412    27.349   44993411   -350002  0 0
ROT_FIDUCIAL 1393980137   73   44192396  42590920   44192622 1825275714    24.825   44619015   -350002  0 0
ROT_FIDUCIAL 1393980140  -74   43391608  42590824   43019035 1825276784    17.876   43391833   -350002  0 0
ROT_FIDUCIAL 1393980141   75   42590828  42590828   42591052 1825277124    15.342   43019035   -350002  0 0
ROT_FIDUCIAL 1393980142  -75   42590828  42590828   42219053 1825277403    13.139   42591052   -350002  0 0
ROT_FIDUCIAL 1393980143   76   41790048  42590936   41790267 1825277806    10.600   42219053   -350002  0 0
ROT_FIDUCIAL 1393980144  -76   41790048  42590936   41419091 1825277987     8.403   41790267   -350002  0 0
ROT_FIDUCIAL 1393980146   77   40989264  42592336   40989493 1825278417     5.859   41419091   -297670  0 0
ROT_FIDUCIAL 1393980147  -77   40989264  42592336   40619109 1825278749     3.666   40989493   -234648  0 0
ROT_FIDUCIAL 1393980150   78   40188488  42592480   40188715 1825279303     1.117   40619109   -129703  0 0
ms_off 1393982303 AZIMUTH
UPDATE_ENCODER 1393982303 AZIMUTH 1  31077243  0         0
UPDATE_ENCODER 1393982303 AZIMUTH 2  31069807  0         0
ms_off 1393982305 ALTITUDE
UPDATE_ENCODER 1393982305 ALTITUDE 1  7672307  -413         0
UPDATE_ENCODER 1393982305 ALTITUDE 2  7670195  -231         0
ms_off 1393982306 ROTATOR
UPDATE_ENCODER 1393982307 ROTATOR 1  -4  0         0
UPDATE_ENCODER 1393982307 ROTATOR 2  1786093673  0         0
ms_off 1393982350 AZIMUTH
ms_off 1393982350 ALTITUDE
ms_off 1393982350 ROTATOR
ms_on 1393982351 AZIMUTH
SET_FIDUCIAL_ERROR 1393982351 ALTITUDE 1  95
SET_FIDUCIAL_ERROR 1393982351 ALTITUDE 2  -370
ms_on 1393982351 ALTITUDE
SET_FIDUCIAL_ERROR 1393982351 ROTATOR 1  -227
SET_FIDUCIAL_ERROR 1393982351 ROTATOR 2  0
ms_on 1393982351 ROTATOR
ms_off 1393982356 AZIMUTH
ms_off 1393982356 ALTITUDE
ms_off 1393982356 ROTATOR
ms_off 1393982374 AZIMUTH
ms_off 1393982374 ALTITUDE
ms_off 1393982374 ROTATOR
ms_off 1393982374 AZIMUTH
ms_off 1393982374 ALTITUDE
ms_off 1393982374 ROTATOR
