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