version       mcpVersion="$Name: v6_6_17$|Nov 18 2013|20:23:40"  # MCP version
mjd           56631

initialTime   1386195662

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 1386195663 AZIMUTH
ms_off 1386195663 ALTITUDE
ms_off 1386195663 ROTATOR
ms_on 1386195663 AZIMUTH
ms_on 1386195663 ALTITUDE
ms_on 1386195663 ROTATOR
ms_off 1386195666 ROTATOR
ms_off 1386195666 AZIMUTH
ms_off 1386195666 ALTITUDE
ms_off 1386196593 AZIMUTH
UPDATE_ENCODER 1386196593 AZIMUTH 1  31077054  0         0
UPDATE_ENCODER 1386196593 AZIMUTH 2  31069676  0         0
ms_off 1386196595 ALTITUDE
UPDATE_ENCODER 1386196595 ALTITUDE 1  7713144  -140         0
UPDATE_ENCODER 1386196596 ALTITUDE 2  7710548  -265         0
ms_off 1386196597 ROTATOR
UPDATE_ENCODER 1386196597 ROTATOR 1  37  0         0
UPDATE_ENCODER 1386196598 ROTATOR 2  -919313950  0         0
ms_off 1386196687 AZIMUTH
ms_off 1386196687 ALTITUDE
ms_off 1386196687 ROTATOR
ms_on 1386196687 AZIMUTH
ms_on 1386196688 ALTITUDE
ms_on 1386196688 ROTATOR
ms_off 1386196690 AZIMUTH
ms_off 1386196690 ALTITUDE
ms_off 1386196691 ROTATOR
ms_off 1386196805 AZIMUTH
UPDATE_ENCODER 1386196806 AZIMUTH 1  31077212  0         0
UPDATE_ENCODER 1386196806 AZIMUTH 2  31069824  0         0
ms_off 1386196807 ALTITUDE
UPDATE_ENCODER 1386196807 ALTITUDE 1  7713273  0         0
UPDATE_ENCODER 1386196807 ALTITUDE 2  7710671  0         0
ms_off 1386196808 ROTATOR
UPDATE_ENCODER 1386196809 ROTATOR 1  6616  0         0
UPDATE_ENCODER 1386196809 ROTATOR 2  -919265008  0         0
ms_off 1386196823 AZIMUTH
ms_off 1386196823 ALTITUDE
ms_off 1386196823 ROTATOR
ms_on 1386196823 AZIMUTH
ms_on 1386196824 ALTITUDE
ms_on 1386196824 ROTATOR
ALT_FIDUCIAL 1386196847    3   11869600  11864108   11867693  11862286    44.214       -145    381148  0 0
ms_off 1386196866 AZIMUTH
ms_off 1386196866 ALTITUDE
ms_off 1386196866 ROTATOR
SET_FIDUCIAL_ERROR 1386196891 ALTITUDE 1  1907
SET_FIDUCIAL_ERROR 1386196892 ALTITUDE 2  1822
ms_off 1386196941 ROTATOR
UPDATE_ENCODER 1386196941 ROTATOR 1  3  0         0
UPDATE_ENCODER 1386196941 ROTATOR 2  -919237648  0         0
ms_off 1386196957 AZIMUTH
ms_off 1386196957 ALTITUDE
ms_off 1386196958 ROTATOR
ms_on 1386196958 AZIMUTH
ms_on 1386196958 ALTITUDE
ms_on 1386196958 ROTATOR
ALT_FIDUCIAL 1386196964    4   15533586  15525578   15533599  15525604    60.055      -3399     69043  1907 1822
SET_FIDUCIAL_ERROR 1386196964 ALTITUDE 1  -13
SET_FIDUCIAL_ERROR 1386196964 ALTITUDE 2  -26
ALT_FIDUCIAL 1386196981    5   19419312  19408660   19419314  19408647    73.886      -6240    385113  1894 1796
SET_FIDUCIAL_ERROR 1386196981 ALTITUDE 1  -2
SET_FIDUCIAL_ERROR 1386196981 ALTITUDE 2  13
ALT_FIDUCIAL 1386196994    6   22828312  22815324   22828256  22815237    88.404      -9222    113062  1892 1809
SET_FIDUCIAL_ERROR 1386196995 ALTITUDE 1  56
SET_FIDUCIAL_ERROR 1386196995 ALTITUDE 2  87
ms_off 1386197000 ALTITUDE
ms_off 1386197002 ROTATOR
ms_off 1386197002 AZIMUTH
ms_off 1386197020 AZIMUTH
ms_off 1386197020 ALTITUDE
ms_off 1386197021 ROTATOR
ms_on 1386197021 AZIMUTH
ms_on 1386197021 ALTITUDE
ms_on 1386197021 ROTATOR
AZ_FIDUCIAL 1386197036   21   27561596  27556410   27562036  27556928   107.313   -437883  0 0
SET_FIDUCIAL_ERROR 1386197036 AZIMUTH 1  -440
SET_FIDUCIAL_ERROR 1386197036 AZIMUTH 2  -518
ms_off 1386197044 AZIMUTH
ms_off 1386197046 ALTITUDE
ms_off 1386197046 ROTATOR
ms_off 1386197068 AZIMUTH
ms_off 1386197068 ALTITUDE
ms_off 1386197068 ROTATOR
ms_on 1386197070 AZIMUTH
ms_on 1386197070 ALTITUDE
ms_on 1386197070 ROTATOR
AZ_FIDUCIAL 1386197080   21   27561596  27556410   27561296  27556239   107.311    439833  -440 -518
SET_FIDUCIAL_ERROR 1386197081 AZIMUTH 1  300
SET_FIDUCIAL_ERROR 1386197081 AZIMUTH 2  171
ms_off 1386197092 AZIMUTH
ms_off 1386197092 ROTATOR
ms_off 1386197092 ALTITUDE
ms_off 1386197101 AZIMUTH
ms_off 1386197102 ALTITUDE
ms_off 1386197102 ROTATOR
ms_on 1386197102 AZIMUTH
ms_on 1386197102 ALTITUDE
ms_on 1386197102 ROTATOR
ROT_FIDUCIAL 1386197110  -78   40188488  42592480   40618653 -879196084     3.663   40188262    229056  0 0
ROT_FIDUCIAL 1386197114   76   41790048  42590936   41789806 -879194969    10.598   41418628    337778  0 0
SET_FIDUCIAL_ERROR 1386197114 ROTATOR 1  242
SET_FIDUCIAL_ERROR 1386197114 ROTATOR 2  0
ROT_FIDUCIAL 1386197116  -76   41790048  42590936   42218832 -879194662    13.138   41789806    337778  242 0
ROT_FIDUCIAL 1386197117   75   42590828  42590828   42590824 -879194422    15.340   42218832    337778  242 0
SET_FIDUCIAL_ERROR 1386197117 ROTATOR 1  4
SET_FIDUCIAL_ERROR 1386197117 ROTATOR 2  0
ROT_FIDUCIAL 1386197118  -75   42590828  42590828   43018812 -879194001    17.875   42590824    337778  246 0
ROT_FIDUCIAL 1386197119   74   43391608  42590824   43391610 -879193831    20.082   43018812    337778  246 0
SET_FIDUCIAL_ERROR 1386197119 ROTATOR 1  -2
SET_FIDUCIAL_ERROR 1386197119 ROTATOR 2  0
ROT_FIDUCIAL 1386197120  -74   43391608  42590824   43818813 -879193469    22.611   43391610    321926  244 0
ROT_FIDUCIAL 1386197122   73   44192396  42590920   44192411 -879193242    24.823   43818813    270222  244 0
SET_FIDUCIAL_ERROR 1386197122 ROTATOR 1  -15
SET_FIDUCIAL_ERROR 1386197122 ROTATOR 2  0
ROT_FIDUCIAL 1386197123  -73   44192396  42590920   44618770 -879192804    27.348   44192411    192375  229 0
ROT_FIDUCIAL 1386197126   72   44993180  42590872   44993157 -879192107    29.565   44618770     75736  229 0
SET_FIDUCIAL_ERROR 1386197127 ROTATOR 1  23
SET_FIDUCIAL_ERROR 1386197127 ROTATOR 2  0
ms_off 1386197128 AZIMUTH
ms_off 1386197128 ALTITUDE
ms_off 1386197129 ROTATOR
ms_off 1386197141 AZIMUTH
ms_off 1386197141 ALTITUDE
ms_off 1386197141 ROTATOR
ms_on 1386197141 AZIMUTH
ms_on 1386197141 ALTITUDE
ms_on 1386197141 ROTATOR
ROT_FIDUCIAL 1386197149  -72   44993180  42590872   44618790 -879186424    27.348   44993171   -195014  252 0
ROT_FIDUCIAL 1386197151   73   44192396  42590920   44192416 -879185958    24.824   44618790   -272861  252 0
SET_FIDUCIAL_ERROR 1386197151 ROTATOR 1  -20
SET_FIDUCIAL_ERROR 1386197151 ROTATOR 2  0
ROT_FIDUCIAL 1386197152  -73   44192396  42590920   43818808 -879185714    22.611   44192416   -323325  232 0
ROT_FIDUCIAL 1386197153   74   43391608  42590824   43391613 -879185407    20.082   43818808   -337778  232 0
SET_FIDUCIAL_ERROR 1386197153 ROTATOR 1  -5
SET_FIDUCIAL_ERROR 1386197154 ROTATOR 2  0
ROT_FIDUCIAL 1386197154  -74   43391608  42590824   43018824 -879185149    17.875   43391613   -337778  227 0
ROT_FIDUCIAL 1386197156   75   42590828  42590828   42590846 -879184735    15.341   43018824   -337778  227 0
SET_FIDUCIAL_ERROR 1386197156 ROTATOR 1  -18
SET_FIDUCIAL_ERROR 1386197156 ROTATOR 2  0
ROT_FIDUCIAL 1386197157  -75   42590828  42590828   42218837 -879184533    13.138   42590846   -337778  209 0
ROT_FIDUCIAL 1386197158   76   41790048  42590936   41790052 -879184244    10.599   42218837   -337778  209 0
SET_FIDUCIAL_ERROR 1386197158 ROTATOR 1  -4
SET_FIDUCIAL_ERROR 1386197158 ROTATOR 2  0
ROT_FIDUCIAL 1386197159  -76   41790048  42590936   41418870 -879184066     8.401   41790052   -334358  205 0
ROT_FIDUCIAL 1386197160   77   40989264  42592336   40989267 -879183692     5.857   41418870   -287902  205 0
SET_FIDUCIAL_ERROR 1386197161 ROTATOR 1  -3
SET_FIDUCIAL_ERROR 1386197161 ROTATOR 2  0
ROT_FIDUCIAL 1386197162  -77   40989264  42592336   40618882 -879183409     3.664   40989267   -227472  202 0
ROT_FIDUCIAL 1386197164   78   40188488  42592480   40188486 -879182858     1.116   40618882   -124555  202 0
SET_FIDUCIAL_ERROR 1386197164 ROTATOR 1  2
SET_FIDUCIAL_ERROR 1386197166 ROTATOR 2  0
ms_off 1386197168 AZIMUTH
ms_off 1386197168 ALTITUDE
ms_off 1386197168 ROTATOR
ms_off 1386197956 AZIMUTH
UPDATE_ENCODER 1386197956 AZIMUTH 1  31077191  -140         0
UPDATE_ENCODER 1386197956 AZIMUTH 2  31069640  -347         0
ms_off 1386197958 ALTITUDE
UPDATE_ENCODER 1386197958 ALTITUDE 1  23143636  1948         0
UPDATE_ENCODER 1386197958 ALTITUDE 2  23130462  1896         0
ms_off 1386197959 ROTATOR
UPDATE_ENCODER 1386197960 ROTATOR 1  16  204         0
UPDATE_ENCODER 1386197960 ROTATOR 2  -918860508  0         0
ms_off 1386197974 AZIMUTH
ms_off 1386197974 ALTITUDE
ms_off 1386197975 ROTATOR
ms_on 1386197975 AZIMUTH
ms_on 1386197975 ALTITUDE
ms_on 1386197975 ROTATOR
ms_off 1386197990 AZIMUTH
UPDATE_ENCODER 1386197991 AZIMUTH 1  31077146  0         0
UPDATE_ENCODER 1386197991 AZIMUTH 2  31069615  0         0
ms_off 1386197992 ALTITUDE
UPDATE_ENCODER 1386197992 ALTITUDE 1  23143995  0         0
UPDATE_ENCODER 1386197992 ALTITUDE 2  23130820  0         0
ms_off 1386197994 ROTATOR
UPDATE_ENCODER 1386197994 ROTATOR 1  9067  0         0
UPDATE_ENCODER 1386197994 ROTATOR 2  -918850151  0         0
ms_off 1386198001 AZIMUTH
ms_off 1386198001 ALTITUDE
ms_off 1386198002 ROTATOR
ms_on 1386198002 AZIMUTH
ms_on 1386198002 ALTITUDE
ms_on 1386198002 ROTATOR
ALT_FIDUCIAL 1386198010    6   22828312  22815324   22828038  22815041    89.041      -9353   -114300  0 0
SET_FIDUCIAL_ERROR 1386198010 ALTITUDE 1  274
SET_FIDUCIAL_ERROR 1386198010 ALTITUDE 2  283
ALT_FIDUCIAL 1386198024    5   19419312  19408660   19419290  19408661    77.284      -6938   -385440  274 283
SET_FIDUCIAL_ERROR 1386198024 ALTITUDE 1  22
SET_FIDUCIAL_ERROR 1386198024 ALTITUDE 2  -1
ALT_FIDUCIAL 1386198034    4   15533586  15525578   15533580  15525524    61.555      -3707   -385714  296 282
SET_FIDUCIAL_ERROR 1386198034 ALTITUDE 1  6
SET_FIDUCIAL_ERROR 1386198034 ALTITUDE 2  54
ALT_FIDUCIAL 1386198043    3   11869600  11864108   11869638  11864143    47.836       -889   -385714  302 336
SET_FIDUCIAL_ERROR 1386198043 ALTITUDE 1  -38
SET_FIDUCIAL_ERROR 1386198044 ALTITUDE 2  -35
ms_off 1386198065 AZIMUTH
ms_off 1386198065 ALTITUDE
ms_off 1386198065 ROTATOR
