version       mcpVersion="$Name: v6_6_15$|Aug 11 2012|01:31:25"  # MCP version
mjd           56161

initialTime   1345579123

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 1345579123    2    7531702   7529310    7531506   7528824    29.697       2837    -99364  0 0
ALT_FIDUCIAL 1345579137    1    3924917   3924917    3924630   3924289    16.285       5592   -299966  0 0
ALT_FIDUCIAL 1345579171    1    3924917   3924917    3924774   3924452    14.366       5986    299999  0 0
ALT_FIDUCIAL 1345579183    2    7531702   7529310    7531578   7528909    28.966       2987    299999  0 0
ALT_FIDUCIAL 1345579197    3   11869558  11864275   11869419  11863962    44.871       -280    299999  0 0
ALT_FIDUCIAL 1345579260    4   15533577  15525887   15533503  15525755    58.507      -3081    300018  0 0
ALT_FIDUCIAL 1345579273    5   19419298  19409032   19419271  19409106    74.427      -6351    300018  0 0
ALT_FIDUCIAL 1345579286    6   22828328  22815780   22828280  22815986    88.228      -9186    124851  0 0
ALT_FIDUCIAL 1345579321    6   22828328  22815780   22828111  22815817    89.041      -9353   -126243  0 0
ALT_FIDUCIAL 1345579335    5   19419298  19409032   19418985  19408878    76.359      -6748   -299984  0 0
ALT_FIDUCIAL 1345579348    4   15533577  15525887   15533284  15525600    61.682      -3733   -299984  0 0
ALT_FIDUCIAL 1345579360    3   11869558  11864275   11869274  11863904    46.974       -712   -299984  0 0
ALT_FIDUCIAL 1345582983    2    7531702   7529310    7531446   7528764    29.604       2856   -108918  0 0
ALT_FIDUCIAL 1345583001    1    3924917   3924917    3924617   3924201    15.627       5727    -57506  0 0
ms_off 1345583021 AZIMUTH
UPDATE_ENCODER 1345583021 AZIMUTH 1  31077702  0         0
UPDATE_ENCODER 1345583021 AZIMUTH 2  31070295  0         0
ms_off 1345583022 ALTITUDE
UPDATE_ENCODER 1345583022 ALTITUDE 1  3857328  0         0
UPDATE_ENCODER 1345583022 ALTITUDE 2  3856966  0         0
ms_off 1345583024 ROTATOR
UPDATE_ENCODER 1345583024 ROTATOR 1  4391  0         0
UPDATE_ENCODER 1345583024 ROTATOR 2  1782103242  0         0
ms_off 1345583029 AZIMUTH
ms_off 1345583029 ALTITUDE
ms_off 1345583029 ROTATOR
ms_on 1345583030 AZIMUTH
SET_FIDUCIAL_ERROR 1345583030 ALTITUDE 1  300
SET_FIDUCIAL_ERROR 1345583030 ALTITUDE 2  716
ms_on 1345583030 ALTITUDE
ms_on 1345583030 ROTATOR
ALT_FIDUCIAL 1345583035    1    3924917   3924917    3924954   3924930    15.277       5799     52843  300 716
SET_FIDUCIAL_ERROR 1345583035 ALTITUDE 1  -37
SET_FIDUCIAL_ERROR 1345583035 ALTITUDE 2  -13
ALT_FIDUCIAL 1345583056    2    7531702   7529310    7531824   7529586    29.186       2942     85716  263 703
SET_FIDUCIAL_ERROR 1345583056 ALTITUDE 1  -122
SET_FIDUCIAL_ERROR 1345583056 ALTITUDE 2  -276
ms_off 1345583060 AZIMUTH
ms_off 1345583060 ALTITUDE
ms_off 1345583060 ROTATOR
ms_off 1345590104 AZIMUTH
ms_off 1345590104 ALTITUDE
ms_off 1345590104 ROTATOR
ms_on 1345590104 AZIMUTH
ms_on 1345590104 ALTITUDE
ms_on 1345590104 ROTATOR
ms_off 1345590110 AZIMUTH
ms_off 1345590110 ALTITUDE
ms_off 1345590110 ROTATOR
ms_off 1345596605 AZIMUTH
UPDATE_ENCODER 1345596606 AZIMUTH 1  31077750  0         0
UPDATE_ENCODER 1345596606 AZIMUTH 2  31070334  0         0
ms_off 1345596607 ALTITUDE
UPDATE_ENCODER 1345596608 ALTITUDE 1  7752232  141         0
UPDATE_ENCODER 1345596608 ALTITUDE 2  7749719  427         0
ms_off 1345596609 ROTATOR
UPDATE_ENCODER 1345596609 ROTATOR 1  8267  0         0
UPDATE_ENCODER 1345596609 ROTATOR 2  1823379830  0         0
ms_off 1345596614 AZIMUTH
ms_off 1345596614 ALTITUDE
ms_off 1345596614 ROTATOR
ms_on 1345596614 AZIMUTH
ms_on 1345596615 ALTITUDE
ms_on 1345596615 ROTATOR
ALT_FIDUCIAL 1345596638    3   11869558  11864275   11869402  11864334    45.334       -375    385714  0 0
SET_FIDUCIAL_ERROR 1345596638 ALTITUDE 1  156
SET_FIDUCIAL_ERROR 1345596638 ALTITUDE 2  -59
ALT_FIDUCIAL 1345596647    4   15533577  15525887   15533647  15526085    59.194      -3222    385714  156 -59
SET_FIDUCIAL_ERROR 1345596647 ALTITUDE 1  -70
SET_FIDUCIAL_ERROR 1345596647 ALTITUDE 2  -198
ALT_FIDUCIAL 1345596657    5   19419298  19409032   19419274  19409170    73.122      -6083    385139  86 -257
SET_FIDUCIAL_ERROR 1345596657 ALTITUDE 1  24
SET_FIDUCIAL_ERROR 1345596657 ALTITUDE 2  -138
ALT_FIDUCIAL 1345596671    6   22828328  22815780   22828288  22815919    88.004      -9140    113047  110 -395
SET_FIDUCIAL_ERROR 1345596671 ALTITUDE 1  40
SET_FIDUCIAL_ERROR 1345596671 ALTITUDE 2  -139
ms_off 1345596678 ALTITUDE
ms_off 1345596678 AZIMUTH
ms_off 1345596678 ROTATOR
ms_off 1345596692 AZIMUTH
ms_off 1345596693 ALTITUDE
ms_off 1345596693 ROTATOR
ms_on 1345596693 AZIMUTH
ms_on 1345596693 ALTITUDE
ms_on 1345596693 ROTATOR
ROT_FIDUCIAL 1345596702  -78   40188752  42808888   40618663 1863658894     3.663   40188470    229847  0 0
ROT_FIDUCIAL 1345596703   77   40989248  42722692   40989050 1863663142     5.856   40618663    289750  0 0
SET_FIDUCIAL_ERROR 1345596703 ROTATOR 1  198
SET_FIDUCIAL_ERROR 1345596703 ROTATOR 2  0
ROT_FIDUCIAL 1345596704  -77   40989248  42722692   41418848 1863666815     8.401   40989050    334900  198 0
ROT_FIDUCIAL 1345596705   76   41790032  42590904   41790043 1863669758    10.599   41418848    337778  198 0
SET_FIDUCIAL_ERROR 1345596706 ROTATOR 1  -11
SET_FIDUCIAL_ERROR 1345596706 ROTATOR 2  0
ROT_FIDUCIAL 1345596707  -76   41790032  42590904   42218824 1863672866    13.138   41790043    311389  187 0
ROT_FIDUCIAL 1345596708   75   42590828  42590828   42590817 1863675627    15.340   42218824    256764  187 0
SET_FIDUCIAL_ERROR 1345596708 ROTATOR 1  11
SET_FIDUCIAL_ERROR 1345596708 ROTATOR 2  0
ROT_FIDUCIAL 1345596710  -75   42590828  42590828   43018819 1863680214    17.875   42590817    172847  198 0
AZ_FIDUCIAL 1345596716   20   23703644  23701030   23703639  23701091    92.289   -437591  0 0
SET_FIDUCIAL_ERROR 1345596716 AZIMUTH 1  5
SET_FIDUCIAL_ERROR 1345596716 AZIMUTH 2  -61
ms_off 1345596724 AZIMUTH
ms_off 1345596724 ALTITUDE
ms_off 1345596724 ROTATOR
ms_off 1345596746 AZIMUTH
ms_off 1345596746 ALTITUDE
ms_off 1345596746 ROTATOR
ms_on 1345596747 AZIMUTH
ms_on 1345596747 ALTITUDE
ms_on 1345596747 ROTATOR
ROT_FIDUCIAL 1345596756   75   42590828  42590828   42590802 1863809686    15.340   43018791   -258083  198 0
SET_FIDUCIAL_ERROR 1345596756 ROTATOR 1  26
SET_FIDUCIAL_ERROR 1345596756 ROTATOR 2  0
ROT_FIDUCIAL 1345596757  -75   42590828  42590828   42218839 1863814146    13.138   42590802   -313236  224 0
AZ_FIDUCIAL 1345596758   20   23703644  23701030   23703279  23700749    92.288    439518  5 -61
SET_FIDUCIAL_ERROR 1345596758 AZIMUTH 1  365
SET_FIDUCIAL_ERROR 1345596758 AZIMUTH 2  281
ROT_FIDUCIAL 1345596758   76   41790032  42590904   41790042 1863818754    10.599   42218839   -337778  224 0
SET_FIDUCIAL_ERROR 1345596759 ROTATOR 1  -10
SET_FIDUCIAL_ERROR 1345596759 ROTATOR 2  0
ROT_FIDUCIAL 1345596760  -76   41790032  42590904   41418833 1863822251     8.401   41790042   -334358  214 0
ROT_FIDUCIAL 1345596761   77   40989248  42722692   40989236 1863826524     5.857   41418833   -287375  214 0
SET_FIDUCIAL_ERROR 1345596761 ROTATOR 1  12
SET_FIDUCIAL_ERROR 1345596761 ROTATOR 2  0
ROT_FIDUCIAL 1345596762  -77   40989248  42722692   40618865 1863831244     3.664   40989236   -226681  226 0
ROT_FIDUCIAL 1345596765   78   40188752  42808888   40188471 1863837694     1.116   40618865   -124556  226 0
AZ_FIDUCIAL 1345596766   21   27561746  27556544   27561847  27556676   107.311    513680  370 220
SET_FIDUCIAL_ERROR 1345596766 AZIMUTH 1  -101
SET_FIDUCIAL_ERROR 1345596766 AZIMUTH 2  -132
ms_off 1345596778 ROTATOR
ms_off 1345596778 AZIMUTH
ms_off 1345596778 ALTITUDE
ms_off 1345596795 AZIMUTH
ms_off 1345596795 ALTITUDE
ms_off 1345596795 ROTATOR
ms_on 1345596795 AZIMUTH
ms_on 1345596795 ALTITUDE
ms_on 1345596796 ROTATOR
ALT_FIDUCIAL 1345596804    6   22828328  22815780   22828208  22815657    88.671      -9277   -114043  150 -534
SET_FIDUCIAL_ERROR 1345596804 ALTITUDE 1  120
SET_FIDUCIAL_ERROR 1345596804 ALTITUDE 2  123
ALT_FIDUCIAL 1345596817    5   19419298  19409032   19419258  19408875    76.837      -6846   -385302  270 -411
SET_FIDUCIAL_ERROR 1345596818 ALTITUDE 1  40
SET_FIDUCIAL_ERROR 1345596818 ALTITUDE 2  157
ALT_FIDUCIAL 1345596828    4   15533577  15525887   15533587  15525754    61.156      -3625   -385713  310 -254
SET_FIDUCIAL_ERROR 1345596828 ALTITUDE 1  -10
SET_FIDUCIAL_ERROR 1345596828 ALTITUDE 2  133
ALT_FIDUCIAL 1345596837    3   11869558  11864275   11869560  11864194    47.612       -843   -385714  300 -121
SET_FIDUCIAL_ERROR 1345596837 ALTITUDE 1  -2
SET_FIDUCIAL_ERROR 1345596837 ALTITUDE 2  81
ms_off 1345596859 ROTATOR
ms_off 1345596859 AZIMUTH
ms_off 1345596859 ALTITUDE
ALT_FIDUCIAL 1345643157    3   11869558  11864275   11869733  11864475    45.188       -345    300009  298 -40
ALT_FIDUCIAL 1345643169    4   15533577  15525887   15533786  15526242    58.765      -3134    300009  298 -40
ALT_FIDUCIAL 1345643182    5   19419298  19409032   19419478  19409513    73.633      -6188    300009  298 -40
ALT_FIDUCIAL 1345643195    6   22828328  22815780   22828479  22816388    88.053      -9150    124847  298 -40
ALT_FIDUCIAL 1345644095    6   22828328  22815780   22828387  22816293    88.895      -9323   -125617  298 -40
ALT_FIDUCIAL 1345644109    5   19419298  19409032   19419294  19409392    75.736      -6620   -299982  298 -40
ALT_FIDUCIAL 1345644122    4   15533577  15525887   15533577  15526132    61.170      -3628   -299982  298 -40
ALT_FIDUCIAL 1345644134    3   11869558  11864275   11869560  11864435    46.687       -653   -299982  298 -40
