_GeneralStatus.py
Go to the documentation of this file.
00001 """autogenerated by genpy from applanix_msgs/GeneralStatus.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006 
00007 import applanix_msgs.msg
00008 
00009 class GeneralStatus(genpy.Message):
00010   _md5sum = "2d587af737e31913bf87b723e0234490"
00011   _type = "applanix_msgs/GeneralStatus"
00012   _has_header = False #flag to mark the presence of a Header object
00013   _full_text = """# Group 10
00014 TimeDistance td
00015 
00016 uint32 STATUS_A_COARSE_LEVELING_ACTIVE=1
00017 uint32 STATUS_A_COARSE_LEVELING_FAILED=2
00018 uint32 STATUS_A_QUADRANT_RESOLVED=4
00019 uint32 STATUS_A_FINE_ALIGN_ACTIVE=8
00020 uint32 STATUS_A_INERTIAL_NAVIGATOR_INITIALIZED=16
00021 uint32 STATUS_A_INERTIAL_NAVIGATOR_ALIGNMENT_ACTIVE=32
00022 uint32 STATUS_A_DEGRADED_NAVIGATION_SOLUTION=64
00023 uint32 STATUS_A_FULL_NAVIGATION_SOLUTION=128
00024 uint32 STATUS_A_INITIAL_POSITION_VALID=256
00025 uint32 STATUS_A_REFERENCE_TO_PRIMARY_GNSS_LEVER_ARM_ZERO=512
00026 uint32 STATUS_A_REFERENCE_TO_SENSOR_1_LEVER_ARM_ZERO=1024
00027 uint32 STATUS_A_REFERENCE_TO_SENSOR_2_LEVER_ARM_ZERO=2048
00028 uint32 STATUS_A_LOGGING_PORT_FILE_WRITE_ERROR=4096
00029 uint32 STATUS_A_LOGGING_PORT_FILE_OPEN=8192
00030 uint32 STATUS_A_LOGGING_PORT_LOGGING_ENABLED=16384
00031 uint32 STATUS_A_LOGGING_PORT_DEVICE_FULL=32768
00032 uint32 STATUS_A_RAM_CONFIGURATION_DIFFERS_FROM_NVM=65536
00033 uint32 STATUS_A_NVM_WRITE_SUCCESSFUL=131072
00034 uint32 STATUS_A_NVM_WRITE_FAIL=262144
00035 uint32 STATUS_A_NVM_READ_FAIL=524288
00036 uint32 STATUS_A_CPU_LOADING_EXCEEDS_55_THRESHOLD=1048576
00037 uint32 STATUS_A_CPU_LOADING_EXCEEDS_85_THRESHOLD=2097152
00038 uint32 status_a
00039 
00040 uint32 STATUS_B_USER_ATTITUDE_RMS_PERFORMANCE_UNITS=1
00041 uint32 STATUS_B_USER_HEADING_RMS_PERFORMANCE=2
00042 uint32 STATUS_B_USER_POSITION_RMS_PERFORMANCE=4
00043 uint32 STATUS_B_USER_VELOCITY_RMS_PERFORMANCE=8
00044 uint32 STATUS_B_GAMS_CALIBRATION_IN_PROGRESS=16
00045 uint32 STATUS_B_GAMS_CALIBRATION_COMPLETE=32
00046 uint32 STATUS_B_GAMS_CALIBRATION_FAILED=64
00047 uint32 STATUS_B_GAMS_CALIBRATION_REQUESTED=128
00048 uint32 STATUS_B_GAMS_INSTALLATION_PARAMETERS_VALID=256
00049 uint32 STATUS_B_GAMS_SOLUTION_IN_USE=512
00050 uint32 STATUS_B_GAMS_SOLUTION_OK=1024
00051 uint32 STATUS_B_GAMS_CALIBRATION_SUSPENDED=2048
00052 uint32 STATUS_B_GAMS_CALIBRATION_FORCED=4096
00053 uint32 STATUS_B_PRIMARY_GNSS_NAVIGATION_SOLUTION_IN_USE=8192
00054 uint32 STATUS_B_PRIMARY_GNSS_INITIALIZATION_FAILED=16384
00055 uint32 STATUS_B_PRIMARY_GNSS_RESET_COMMAND_SENT=32768
00056 uint32 STATUS_B_PRIMARY_GNSS_CONFIGURATION_FILE_SENT=65536
00057 uint32 STATUS_B_PRIMARY_GNSS_NOT_CONFIGURED=131072
00058 uint32 STATUS_B_PRIMARY_GNSS_IN_CA_MODE=262144
00059 uint32 STATUS_B_PRIMARY_GNSS_IN_DIFFERENTIAL_MODE=524288
00060 uint32 STATUS_B_PRIMARY_GNSS_IN_FLOAT_RTK_MODE=1048576
00061 uint32 STATUS_B_PRIMARY_GNSS_IN_WIDE_LANE_RTK_MODE=2097152
00062 uint32 STATUS_B_PRIMARY_GNSS_IN_NARROW_LANE_RTK_MODE=4194304
00063 uint32 STATUS_B_PRIMARY_GNSS_OBSERVABLES_IN_USE=8388608
00064 uint32 STATUS_B_SECONDARY_GNSS_OBSERVABLES_IN_USE=16777216
00065 uint32 STATUS_B_AUXILIARY_GNSS_NAVIGATION_SOLUTION_IN_USE=33554432
00066 uint32 STATUS_B_AUXILIARY_GNSS_IN_PCODE_MODE=67108864
00067 uint32 STATUS_B_AUXILIARY_GNSS_IN_DIFFERENTIAL_MODE=134217728
00068 uint32 STATUS_B_AUXILIARY_GNSS_IN_FLOAT_RTK_MODE=268435456
00069 uint32 STATUS_B_AUXILIARY_GNSS_IN_WIDE_LANE_RTK_MODE=536870912
00070 uint32 STATUS_B_AUXILIARY_GNSS_IN_NARROW_LANE_RTK_MODE=1073741824
00071 uint32 STATUS_B_PRIMARY_GNSS_IN_PCODE_MODE=2147483648
00072 uint32 status_b
00073 
00074 uint32 STATUS_C_DMI_DATA_IN_USE=4
00075 uint32 STATUS_C_ZUPD_PROCESSING_ENABLED=8
00076 uint32 STATUS_C_ZUPD_IN_USE=16
00077 uint32 STATUS_C_POSITION_FIX_IN_USE=32
00078 uint32 STATUS_C_RTCM_DIFFERENTIAL_CORRECTIONS_IN_USE=64
00079 uint32 STATUS_C_RTCM_RTK_MESSAGES_IN_USE=128
00080 uint32 STATUS_C_CMR_RTK_MESSAGES_IN_USE=512
00081 uint32 STATUS_C_IIN_IN_DR_MODE=1024
00082 uint32 STATUS_C_IIN_GNSS_AIDING_IS_LOOSELY_COUPLED=2048
00083 uint32 STATUS_C_IIN_IN_CA_GPS_AIDED_MODE=4096
00084 uint32 STATUS_C_IIN_IN_RTCM_DGPS_AIDED_MODE=8192
00085 uint32 STATUS_C_IIN_IN_CODE_DGPS_AIDED_MODE=16384
00086 uint32 STATUS_C_IIN_IN_FLOAT_RTK_AIDED_MODE=32768
00087 uint32 STATUS_C_IIN_IN_WIDE_LANE_RTK_AIDED_MODE=65536
00088 uint32 STATUS_C_IIN_IN_NARROW_LANE_RTK_AIDED_MODE=131072
00089 uint32 STATUS_C_RECEIVED_RTCM_TYPE_1_MESSAGE=262144
00090 uint32 STATUS_C_RECEIVED_RTCM_TYPE_3_MESSAGE=524288
00091 uint32 STATUS_C_RECEIVED_RTCM_TYPE_9_MESSAGE=1048576
00092 uint32 STATUS_C_RECEIVED_RTCM_TYPE_18_MESSAGES=2097152
00093 uint32 STATUS_C_RECEIVED_RTCM_TYPE_19_MESSAGES=4194304
00094 uint32 STATUS_C_RECEIVED_CMR_TYPE_0_MESSAGE=8388608
00095 uint32 STATUS_C_RECEIVED_CMR_TYPE_1_MESSAGE=16777216
00096 uint32 STATUS_C_RECEIVED_CMR_TYPE_2_MESSAGE=33554432
00097 uint32 STATUS_C_RECEIVED_CMR_TYPE_94_MESSAGE=67108864
00098 uint32 status_c
00099 
00100 uint32 FDIR_1_IMUPOS_CHECKSUM_ERROR_UNITS=1
00101 uint32 FDIR_1_IMU_STATUS=2
00102 uint32 FDIR_1_SUCCESSIVE_IMU_FAILURES=4
00103 uint32 FDIR_1_IIN_CONFIGURATION_MISMATCH_FAILURE=8
00104 uint32 FDIR_1_PRIMARY_GNSS_NOT_IN_NAVIGATION_MODE=32
00105 uint32 FDIR_1_PRIMARY_GNSS_NOT_AVAILABLE_FOR_ALIGNMENT=64
00106 uint32 FDIR_1_PRIMARY_DATA_GAP=128
00107 uint32 FDIR_1_PRIMARY_GNSS_PPS_TIME_GAP=256
00108 uint32 FDIR_1_PRIMARY_GNSS_TIME_RECOVERY_DATA_NOT_RECEIVED=512
00109 uint32 FDIR_1_PRIMARY_GNSS_OBSERVABLE_DATA_GAP=1024
00110 uint32 FDIR_1_PRIMARY_EPHEMERIS_DATA_GAP=2048
00111 uint32 FDIR_1_PRIMARY_GNSS_EXCESSIVE_LOCKTIME_RESETS=4096
00112 uint32 FDIR_1_PRIMARY_GNSS_MISSING_EPHEMERIS=8192
00113 uint32 FDIR_1_PRIMARY_GNSS_SNR_FAILURE=65536
00114 uint32 FDIR_1_BASE_GNSS_DATA_GAP=131072
00115 uint32 FDIR_1_BASE_GNSS_PARITY_ERROR=262144
00116 uint32 FDIR_1_BASE_GNSS_MESSAGE_REJECTED=524288
00117 uint32 FDIR_1_SECONDARY_GNSS_DATA_GAP=1048576
00118 uint32 FDIR_1_SECONDARY_GNSS_OBSERVABLE_DATA_GAP=2097152
00119 uint32 FDIR_1_SECONDARY_GNSS_SNR_FAILURE=4194304
00120 uint32 FDIR_1_SECONDARY_GNSS_EXCESSIVE_LOCKTIME_RESETS=8388608
00121 uint32 FDIR_1_AUXILIARY_GNSS_DATA_GAP=33554432
00122 uint32 FDIR_1_GAMS_AMBIGUITY_RESOLUTION_FAILED=67108864
00123 uint32 FDIR_1_DMI_FAILED_OR_IS_OFFLINE=268435456
00124 uint32 FDIR_1_IIN_WL_AMBIGUITY_ERROR=1073741824
00125 uint32 FDIR_1_IIN_NL_AMBIGUITY_ERROR=2147483648
00126 uint32 fdir_1
00127 uint16 fdir_1_imu
00128 
00129 uint16 FDIR_2_INERTIAL_SPEED_EXCEEDS_MAXIMUM=1
00130 uint16 FDIR_2_PRIMARY_GNSS_VELOCITY_EXCEEDS_MAXIMUM=2
00131 uint16 FDIR_2_PRIMARY_GNSS_POSITION_ERROR_EXCEEDS_MAXIMUM=4
00132 uint16 FDIR_2_AUXILIARY_GNSS_POSITION_ERROR_EXCEEDS_MAX=8
00133 uint16 FDIR_2_DMI_SPEED_EXCEEDS_MAXIMUM=16
00134 uint16 fdir_2
00135 
00136 uint16 fdir_3
00137 
00138 uint16 FDIR_4_PRIMARY_GNSS_POSITION_REJECTED=1
00139 uint16 FDIR_4_PRIMARY_GNSS_VELOCITY_REJECTED=2
00140 uint16 FDIR_4_GAMS_HEADING_REJECTED=4
00141 uint16 FDIR_4_AUXILIARY_GNSS_DATA_REJECTED=8
00142 uint16 FDIR_4_DMI_DATA_REJECTED=16
00143 uint16 FDIR_4_PRIMARY_GNSS_OBSERVABLES_REJECTED=32
00144 uint16 fdir_4
00145 
00146 uint16 FDIR_5_X_ACCELEROMETER_FAILURE=1
00147 uint16 FDIR_5_Y_ACCELEROMETER_FAILURE=2
00148 uint16 FDIR_5_Z_ACCELEROMETER_FAILURE=4
00149 uint16 FDIR_5_X_GYRO_FAILURE=8
00150 uint16 FDIR_5_Y_GYRO_FAILURE=16
00151 uint16 FDIR_5_Z_GYRO_FAILURE=32
00152 uint16 FDIR_5_EXCESSIVE_GAMS_HEADING_OFFSET=64
00153 uint16 FDIR_5_EXCESSIVE_PRIMARY_GNSS_LEVER_ARM_ERROR=128
00154 uint16 FDIR_5_EXCESSIVE_AUXILIARY_1_GNSS_LEVER_ARM_ERROR=256
00155 uint16 FDIR_5_EXCESSIVE_AUXILIARY_2_GNSS_LEVER_ARM_ERROR=512
00156 uint16 FDIR_5_EXCESSIVE_POS_POSITION_ERROR_RMS=1024
00157 uint16 FDIR_5_EXCESSIVE_PRIMARY_GNSS_CLOCK_DRIFT=2048
00158 uint16 fdir_5
00159 
00160 uint32 EXTENDED_PRIMARY_GNSS_IN_OMNISTAR_HP_MODE=1
00161 uint32 EXTENDED_PRIMARY_GNSS_IN_OMNISTAR_XP_MODE=2
00162 uint32 EXTENDED_PRIMARY_GNSS_IN_OMNISTAR_VBS_MODE=4
00163 uint32 EXTENDED_PRIMARY_GNSS_IN_PPP_MODE=8
00164 uint32 EXTENDED_AUX_GNSS_IN_OMNISTAR_HP_MODE=16
00165 uint32 EXTENDED_AUX_GNSS_IN_OMNISTAR_XP_MODE=32
00166 uint32 EXTENDED_AUX_GNSS_IN_OMNISTAR_VBS_MODE=64
00167 uint32 EXTENDED_AUX_GNSS_IN_PPP_MODE=128
00168 uint16 extended
00169 
00170 
00171 ================================================================================
00172 MSG: applanix_msgs/TimeDistance
00173 float64 time1
00174 float64 time2
00175 float64 distance
00176 uint8 time_types
00177 uint8 distance_type
00178 
00179 """
00180   # Pseudo-constants
00181   STATUS_A_COARSE_LEVELING_ACTIVE = 1
00182   STATUS_A_COARSE_LEVELING_FAILED = 2
00183   STATUS_A_QUADRANT_RESOLVED = 4
00184   STATUS_A_FINE_ALIGN_ACTIVE = 8
00185   STATUS_A_INERTIAL_NAVIGATOR_INITIALIZED = 16
00186   STATUS_A_INERTIAL_NAVIGATOR_ALIGNMENT_ACTIVE = 32
00187   STATUS_A_DEGRADED_NAVIGATION_SOLUTION = 64
00188   STATUS_A_FULL_NAVIGATION_SOLUTION = 128
00189   STATUS_A_INITIAL_POSITION_VALID = 256
00190   STATUS_A_REFERENCE_TO_PRIMARY_GNSS_LEVER_ARM_ZERO = 512
00191   STATUS_A_REFERENCE_TO_SENSOR_1_LEVER_ARM_ZERO = 1024
00192   STATUS_A_REFERENCE_TO_SENSOR_2_LEVER_ARM_ZERO = 2048
00193   STATUS_A_LOGGING_PORT_FILE_WRITE_ERROR = 4096
00194   STATUS_A_LOGGING_PORT_FILE_OPEN = 8192
00195   STATUS_A_LOGGING_PORT_LOGGING_ENABLED = 16384
00196   STATUS_A_LOGGING_PORT_DEVICE_FULL = 32768
00197   STATUS_A_RAM_CONFIGURATION_DIFFERS_FROM_NVM = 65536
00198   STATUS_A_NVM_WRITE_SUCCESSFUL = 131072
00199   STATUS_A_NVM_WRITE_FAIL = 262144
00200   STATUS_A_NVM_READ_FAIL = 524288
00201   STATUS_A_CPU_LOADING_EXCEEDS_55_THRESHOLD = 1048576
00202   STATUS_A_CPU_LOADING_EXCEEDS_85_THRESHOLD = 2097152
00203   STATUS_B_USER_ATTITUDE_RMS_PERFORMANCE_UNITS = 1
00204   STATUS_B_USER_HEADING_RMS_PERFORMANCE = 2
00205   STATUS_B_USER_POSITION_RMS_PERFORMANCE = 4
00206   STATUS_B_USER_VELOCITY_RMS_PERFORMANCE = 8
00207   STATUS_B_GAMS_CALIBRATION_IN_PROGRESS = 16
00208   STATUS_B_GAMS_CALIBRATION_COMPLETE = 32
00209   STATUS_B_GAMS_CALIBRATION_FAILED = 64
00210   STATUS_B_GAMS_CALIBRATION_REQUESTED = 128
00211   STATUS_B_GAMS_INSTALLATION_PARAMETERS_VALID = 256
00212   STATUS_B_GAMS_SOLUTION_IN_USE = 512
00213   STATUS_B_GAMS_SOLUTION_OK = 1024
00214   STATUS_B_GAMS_CALIBRATION_SUSPENDED = 2048
00215   STATUS_B_GAMS_CALIBRATION_FORCED = 4096
00216   STATUS_B_PRIMARY_GNSS_NAVIGATION_SOLUTION_IN_USE = 8192
00217   STATUS_B_PRIMARY_GNSS_INITIALIZATION_FAILED = 16384
00218   STATUS_B_PRIMARY_GNSS_RESET_COMMAND_SENT = 32768
00219   STATUS_B_PRIMARY_GNSS_CONFIGURATION_FILE_SENT = 65536
00220   STATUS_B_PRIMARY_GNSS_NOT_CONFIGURED = 131072
00221   STATUS_B_PRIMARY_GNSS_IN_CA_MODE = 262144
00222   STATUS_B_PRIMARY_GNSS_IN_DIFFERENTIAL_MODE = 524288
00223   STATUS_B_PRIMARY_GNSS_IN_FLOAT_RTK_MODE = 1048576
00224   STATUS_B_PRIMARY_GNSS_IN_WIDE_LANE_RTK_MODE = 2097152
00225   STATUS_B_PRIMARY_GNSS_IN_NARROW_LANE_RTK_MODE = 4194304
00226   STATUS_B_PRIMARY_GNSS_OBSERVABLES_IN_USE = 8388608
00227   STATUS_B_SECONDARY_GNSS_OBSERVABLES_IN_USE = 16777216
00228   STATUS_B_AUXILIARY_GNSS_NAVIGATION_SOLUTION_IN_USE = 33554432
00229   STATUS_B_AUXILIARY_GNSS_IN_PCODE_MODE = 67108864
00230   STATUS_B_AUXILIARY_GNSS_IN_DIFFERENTIAL_MODE = 134217728
00231   STATUS_B_AUXILIARY_GNSS_IN_FLOAT_RTK_MODE = 268435456
00232   STATUS_B_AUXILIARY_GNSS_IN_WIDE_LANE_RTK_MODE = 536870912
00233   STATUS_B_AUXILIARY_GNSS_IN_NARROW_LANE_RTK_MODE = 1073741824
00234   STATUS_B_PRIMARY_GNSS_IN_PCODE_MODE = 2147483648
00235   STATUS_C_DMI_DATA_IN_USE = 4
00236   STATUS_C_ZUPD_PROCESSING_ENABLED = 8
00237   STATUS_C_ZUPD_IN_USE = 16
00238   STATUS_C_POSITION_FIX_IN_USE = 32
00239   STATUS_C_RTCM_DIFFERENTIAL_CORRECTIONS_IN_USE = 64
00240   STATUS_C_RTCM_RTK_MESSAGES_IN_USE = 128
00241   STATUS_C_CMR_RTK_MESSAGES_IN_USE = 512
00242   STATUS_C_IIN_IN_DR_MODE = 1024
00243   STATUS_C_IIN_GNSS_AIDING_IS_LOOSELY_COUPLED = 2048
00244   STATUS_C_IIN_IN_CA_GPS_AIDED_MODE = 4096
00245   STATUS_C_IIN_IN_RTCM_DGPS_AIDED_MODE = 8192
00246   STATUS_C_IIN_IN_CODE_DGPS_AIDED_MODE = 16384
00247   STATUS_C_IIN_IN_FLOAT_RTK_AIDED_MODE = 32768
00248   STATUS_C_IIN_IN_WIDE_LANE_RTK_AIDED_MODE = 65536
00249   STATUS_C_IIN_IN_NARROW_LANE_RTK_AIDED_MODE = 131072
00250   STATUS_C_RECEIVED_RTCM_TYPE_1_MESSAGE = 262144
00251   STATUS_C_RECEIVED_RTCM_TYPE_3_MESSAGE = 524288
00252   STATUS_C_RECEIVED_RTCM_TYPE_9_MESSAGE = 1048576
00253   STATUS_C_RECEIVED_RTCM_TYPE_18_MESSAGES = 2097152
00254   STATUS_C_RECEIVED_RTCM_TYPE_19_MESSAGES = 4194304
00255   STATUS_C_RECEIVED_CMR_TYPE_0_MESSAGE = 8388608
00256   STATUS_C_RECEIVED_CMR_TYPE_1_MESSAGE = 16777216
00257   STATUS_C_RECEIVED_CMR_TYPE_2_MESSAGE = 33554432
00258   STATUS_C_RECEIVED_CMR_TYPE_94_MESSAGE = 67108864
00259   FDIR_1_IMUPOS_CHECKSUM_ERROR_UNITS = 1
00260   FDIR_1_IMU_STATUS = 2
00261   FDIR_1_SUCCESSIVE_IMU_FAILURES = 4
00262   FDIR_1_IIN_CONFIGURATION_MISMATCH_FAILURE = 8
00263   FDIR_1_PRIMARY_GNSS_NOT_IN_NAVIGATION_MODE = 32
00264   FDIR_1_PRIMARY_GNSS_NOT_AVAILABLE_FOR_ALIGNMENT = 64
00265   FDIR_1_PRIMARY_DATA_GAP = 128
00266   FDIR_1_PRIMARY_GNSS_PPS_TIME_GAP = 256
00267   FDIR_1_PRIMARY_GNSS_TIME_RECOVERY_DATA_NOT_RECEIVED = 512
00268   FDIR_1_PRIMARY_GNSS_OBSERVABLE_DATA_GAP = 1024
00269   FDIR_1_PRIMARY_EPHEMERIS_DATA_GAP = 2048
00270   FDIR_1_PRIMARY_GNSS_EXCESSIVE_LOCKTIME_RESETS = 4096
00271   FDIR_1_PRIMARY_GNSS_MISSING_EPHEMERIS = 8192
00272   FDIR_1_PRIMARY_GNSS_SNR_FAILURE = 65536
00273   FDIR_1_BASE_GNSS_DATA_GAP = 131072
00274   FDIR_1_BASE_GNSS_PARITY_ERROR = 262144
00275   FDIR_1_BASE_GNSS_MESSAGE_REJECTED = 524288
00276   FDIR_1_SECONDARY_GNSS_DATA_GAP = 1048576
00277   FDIR_1_SECONDARY_GNSS_OBSERVABLE_DATA_GAP = 2097152
00278   FDIR_1_SECONDARY_GNSS_SNR_FAILURE = 4194304
00279   FDIR_1_SECONDARY_GNSS_EXCESSIVE_LOCKTIME_RESETS = 8388608
00280   FDIR_1_AUXILIARY_GNSS_DATA_GAP = 33554432
00281   FDIR_1_GAMS_AMBIGUITY_RESOLUTION_FAILED = 67108864
00282   FDIR_1_DMI_FAILED_OR_IS_OFFLINE = 268435456
00283   FDIR_1_IIN_WL_AMBIGUITY_ERROR = 1073741824
00284   FDIR_1_IIN_NL_AMBIGUITY_ERROR = 2147483648
00285   FDIR_2_INERTIAL_SPEED_EXCEEDS_MAXIMUM = 1
00286   FDIR_2_PRIMARY_GNSS_VELOCITY_EXCEEDS_MAXIMUM = 2
00287   FDIR_2_PRIMARY_GNSS_POSITION_ERROR_EXCEEDS_MAXIMUM = 4
00288   FDIR_2_AUXILIARY_GNSS_POSITION_ERROR_EXCEEDS_MAX = 8
00289   FDIR_2_DMI_SPEED_EXCEEDS_MAXIMUM = 16
00290   FDIR_4_PRIMARY_GNSS_POSITION_REJECTED = 1
00291   FDIR_4_PRIMARY_GNSS_VELOCITY_REJECTED = 2
00292   FDIR_4_GAMS_HEADING_REJECTED = 4
00293   FDIR_4_AUXILIARY_GNSS_DATA_REJECTED = 8
00294   FDIR_4_DMI_DATA_REJECTED = 16
00295   FDIR_4_PRIMARY_GNSS_OBSERVABLES_REJECTED = 32
00296   FDIR_5_X_ACCELEROMETER_FAILURE = 1
00297   FDIR_5_Y_ACCELEROMETER_FAILURE = 2
00298   FDIR_5_Z_ACCELEROMETER_FAILURE = 4
00299   FDIR_5_X_GYRO_FAILURE = 8
00300   FDIR_5_Y_GYRO_FAILURE = 16
00301   FDIR_5_Z_GYRO_FAILURE = 32
00302   FDIR_5_EXCESSIVE_GAMS_HEADING_OFFSET = 64
00303   FDIR_5_EXCESSIVE_PRIMARY_GNSS_LEVER_ARM_ERROR = 128
00304   FDIR_5_EXCESSIVE_AUXILIARY_1_GNSS_LEVER_ARM_ERROR = 256
00305   FDIR_5_EXCESSIVE_AUXILIARY_2_GNSS_LEVER_ARM_ERROR = 512
00306   FDIR_5_EXCESSIVE_POS_POSITION_ERROR_RMS = 1024
00307   FDIR_5_EXCESSIVE_PRIMARY_GNSS_CLOCK_DRIFT = 2048
00308   EXTENDED_PRIMARY_GNSS_IN_OMNISTAR_HP_MODE = 1
00309   EXTENDED_PRIMARY_GNSS_IN_OMNISTAR_XP_MODE = 2
00310   EXTENDED_PRIMARY_GNSS_IN_OMNISTAR_VBS_MODE = 4
00311   EXTENDED_PRIMARY_GNSS_IN_PPP_MODE = 8
00312   EXTENDED_AUX_GNSS_IN_OMNISTAR_HP_MODE = 16
00313   EXTENDED_AUX_GNSS_IN_OMNISTAR_XP_MODE = 32
00314   EXTENDED_AUX_GNSS_IN_OMNISTAR_VBS_MODE = 64
00315   EXTENDED_AUX_GNSS_IN_PPP_MODE = 128
00316 
00317   __slots__ = ['td','status_a','status_b','status_c','fdir_1','fdir_1_imu','fdir_2','fdir_3','fdir_4','fdir_5','extended']
00318   _slot_types = ['applanix_msgs/TimeDistance','uint32','uint32','uint32','uint32','uint16','uint16','uint16','uint16','uint16','uint16']
00319 
00320   def __init__(self, *args, **kwds):
00321     """
00322     Constructor. Any message fields that are implicitly/explicitly
00323     set to None will be assigned a default value. The recommend
00324     use is keyword arguments as this is more robust to future message
00325     changes.  You cannot mix in-order arguments and keyword arguments.
00326 
00327     The available fields are:
00328        td,status_a,status_b,status_c,fdir_1,fdir_1_imu,fdir_2,fdir_3,fdir_4,fdir_5,extended
00329 
00330     :param args: complete set of field values, in .msg order
00331     :param kwds: use keyword arguments corresponding to message field names
00332     to set specific fields.
00333     """
00334     if args or kwds:
00335       super(GeneralStatus, self).__init__(*args, **kwds)
00336       #message fields cannot be None, assign default values for those that are
00337       if self.td is None:
00338         self.td = applanix_msgs.msg.TimeDistance()
00339       if self.status_a is None:
00340         self.status_a = 0
00341       if self.status_b is None:
00342         self.status_b = 0
00343       if self.status_c is None:
00344         self.status_c = 0
00345       if self.fdir_1 is None:
00346         self.fdir_1 = 0
00347       if self.fdir_1_imu is None:
00348         self.fdir_1_imu = 0
00349       if self.fdir_2 is None:
00350         self.fdir_2 = 0
00351       if self.fdir_3 is None:
00352         self.fdir_3 = 0
00353       if self.fdir_4 is None:
00354         self.fdir_4 = 0
00355       if self.fdir_5 is None:
00356         self.fdir_5 = 0
00357       if self.extended is None:
00358         self.extended = 0
00359     else:
00360       self.td = applanix_msgs.msg.TimeDistance()
00361       self.status_a = 0
00362       self.status_b = 0
00363       self.status_c = 0
00364       self.fdir_1 = 0
00365       self.fdir_1_imu = 0
00366       self.fdir_2 = 0
00367       self.fdir_3 = 0
00368       self.fdir_4 = 0
00369       self.fdir_5 = 0
00370       self.extended = 0
00371 
00372   def _get_types(self):
00373     """
00374     internal API method
00375     """
00376     return self._slot_types
00377 
00378   def serialize(self, buff):
00379     """
00380     serialize message into buffer
00381     :param buff: buffer, ``StringIO``
00382     """
00383     try:
00384       _x = self
00385       buff.write(_struct_3d2B4I6H.pack(_x.td.time1, _x.td.time2, _x.td.distance, _x.td.time_types, _x.td.distance_type, _x.status_a, _x.status_b, _x.status_c, _x.fdir_1, _x.fdir_1_imu, _x.fdir_2, _x.fdir_3, _x.fdir_4, _x.fdir_5, _x.extended))
00386     except struct.error as se: self._check_types(se)
00387     except TypeError as te: self._check_types(te)
00388 
00389   def deserialize(self, str):
00390     """
00391     unpack serialized message in str into this message instance
00392     :param str: byte array of serialized message, ``str``
00393     """
00394     try:
00395       if self.td is None:
00396         self.td = applanix_msgs.msg.TimeDistance()
00397       end = 0
00398       _x = self
00399       start = end
00400       end += 54
00401       (_x.td.time1, _x.td.time2, _x.td.distance, _x.td.time_types, _x.td.distance_type, _x.status_a, _x.status_b, _x.status_c, _x.fdir_1, _x.fdir_1_imu, _x.fdir_2, _x.fdir_3, _x.fdir_4, _x.fdir_5, _x.extended,) = _struct_3d2B4I6H.unpack(str[start:end])
00402       return self
00403     except struct.error as e:
00404       raise genpy.DeserializationError(e) #most likely buffer underfill
00405 
00406 
00407   def serialize_numpy(self, buff, numpy):
00408     """
00409     serialize message with numpy array types into buffer
00410     :param buff: buffer, ``StringIO``
00411     :param numpy: numpy python module
00412     """
00413     try:
00414       _x = self
00415       buff.write(_struct_3d2B4I6H.pack(_x.td.time1, _x.td.time2, _x.td.distance, _x.td.time_types, _x.td.distance_type, _x.status_a, _x.status_b, _x.status_c, _x.fdir_1, _x.fdir_1_imu, _x.fdir_2, _x.fdir_3, _x.fdir_4, _x.fdir_5, _x.extended))
00416     except struct.error as se: self._check_types(se)
00417     except TypeError as te: self._check_types(te)
00418 
00419   def deserialize_numpy(self, str, numpy):
00420     """
00421     unpack serialized message in str into this message instance using numpy for array types
00422     :param str: byte array of serialized message, ``str``
00423     :param numpy: numpy python module
00424     """
00425     try:
00426       if self.td is None:
00427         self.td = applanix_msgs.msg.TimeDistance()
00428       end = 0
00429       _x = self
00430       start = end
00431       end += 54
00432       (_x.td.time1, _x.td.time2, _x.td.distance, _x.td.time_types, _x.td.distance_type, _x.status_a, _x.status_b, _x.status_c, _x.fdir_1, _x.fdir_1_imu, _x.fdir_2, _x.fdir_3, _x.fdir_4, _x.fdir_5, _x.extended,) = _struct_3d2B4I6H.unpack(str[start:end])
00433       return self
00434     except struct.error as e:
00435       raise genpy.DeserializationError(e) #most likely buffer underfill
00436 
00437 _struct_I = genpy.struct_I
00438 _struct_3d2B4I6H = struct.Struct("<3d2B4I6H")


applanix_msgs
Author(s): Mike Purvis
autogenerated on Thu Jan 2 2014 11:04:51