Esempio n. 1
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__job_type, offset, length) = get_u8(buf, offset, length)
     ret['job_type'] = __job_type
     (__status, offset, length) = get_u8(buf, offset, length)
     ret['status'] = __status
     (__cn0, offset, length) = get_u16(buf, offset, length)
     ret['cn0'] = __cn0
     (__int_time, offset, length) = get_u8(buf, offset, length)
     ret['int_time'] = __int_time
     (__sid, offset,
      length) = GnssSignalDep.parse_members(buf, offset, length)
     ret['sid'] = __sid
     (__bin_width, offset, length) = get_u16(buf, offset, length)
     ret['bin_width'] = __bin_width
     (__timestamp, offset, length) = get_u32(buf, offset, length)
     ret['timestamp'] = __timestamp
     (__time_spent, offset, length) = get_u32(buf, offset, length)
     ret['time_spent'] = __time_spent
     (__cf_min, offset, length) = get_s32(buf, offset, length)
     ret['cf_min'] = __cf_min
     (__cf_max, offset, length) = get_s32(buf, offset, length)
     ret['cf_max'] = __cf_max
     (__cf, offset, length) = get_s32(buf, offset, length)
     ret['cf'] = __cf
     (__cp, offset, length) = get_u32(buf, offset, length)
     ret['cp'] = __cp
     return ret, offset, length
Esempio n. 2
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__pdop, offset, length) = get_u16(buf, offset, length)
     ret['pdop'] = __pdop
     (__hdop, offset, length) = get_u16(buf, offset, length)
     ret['hdop'] = __hdop
     (__vdop, offset, length) = get_u16(buf, offset, length)
     ret['vdop'] = __vdop
     (__n_sats, offset, length) = get_u8(buf, offset, length)
     ret['n_sats'] = __n_sats
     (__age_corrections, offset, length) = get_u16(buf, offset, length)
     ret['age_corrections'] = __age_corrections
     (__alignment_status, offset, length) = get_u8(buf, offset, length)
     ret['alignment_status'] = __alignment_status
     (__last_used_gnss_pos_tow, offset,
      length) = get_u32(buf, offset, length)
     ret['last_used_gnss_pos_tow'] = __last_used_gnss_pos_tow
     (__last_used_gnss_vel_tow, offset,
      length) = get_u32(buf, offset, length)
     ret['last_used_gnss_vel_tow'] = __last_used_gnss_vel_tow
     (__sol_in, offset,
      length) = get_array(SolutionInputType.parse_members)(buf, offset,
                                                           length)
     ret['sol_in'] = __sol_in
     return ret, offset, length
Esempio n. 3
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__index, offset, length) = get_u8(buf, offset, length)
     ret['index'] = __index
     (__pid, offset, length) = get_u16(buf, offset, length)
     ret['pid'] = __pid
     (__fd_count, offset, length) = get_u16(buf, offset, length)
     ret['fd_count'] = __fd_count
     (__cmdline, offset, length) = get_string(buf, offset, length)
     ret['cmdline'] = __cmdline
     return ret, offset, length
Esempio n. 4
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__reporting_system, offset, length) = get_u16(buf, offset, length)
     ret['reporting_system'] = __reporting_system
     (__sbp_version, offset, length) = get_u16(buf, offset, length)
     ret['sbp_version'] = __sbp_version
     (__sequence, offset, length) = get_u32(buf, offset, length)
     ret['sequence'] = __sequence
     (__uptime, offset, length) = get_u32(buf, offset, length)
     ret['uptime'] = __uptime
     (__status, offset,
      length) = get_array(SubSystemReport.parse_members)(buf, offset,
                                                         length)
     ret['status'] = __status
     return ret, offset, length
Esempio n. 5
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__region_size_inverse, offset, length) = get_u8(buf, offset, length)
     ret['region_size_inverse'] = __region_size_inverse
     (__area_width, offset, length) = get_u16(buf, offset, length)
     ret['area_width'] = __area_width
     (__lat_nw_corner_enc, offset, length) = get_u16(buf, offset, length)
     ret['lat_nw_corner_enc'] = __lat_nw_corner_enc
     (__lon_nw_corner_enc, offset, length) = get_u16(buf, offset, length)
     ret['lon_nw_corner_enc'] = __lon_nw_corner_enc
     (__num_msgs, offset, length) = get_u8(buf, offset, length)
     ret['num_msgs'] = __num_msgs
     (__seq_num, offset, length) = get_u8(buf, offset, length)
     ret['seq_num'] = __seq_num
     return ret, offset, length
Esempio n. 6
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__time, offset, length) = GPSTimeSec.parse_members(buf, offset, length)
   ret['time'] = __time
   (__num_msgs, offset, length) = get_u16(buf, offset, length)
   ret['num_msgs'] = __num_msgs
   (__seq_num, offset, length) = get_u16(buf, offset, length)
   ret['seq_num'] = __seq_num
   (__update_interval, offset, length) = get_u8(buf, offset, length)
   ret['update_interval'] = __update_interval
   (__iod_atmo, offset, length) = get_u8(buf, offset, length)
   ret['iod_atmo'] = __iod_atmo
   (__tropo_quality_indicator, offset, length) = get_u8(buf, offset, length)
   ret['tropo_quality_indicator'] = __tropo_quality_indicator
   return ret, offset, length
Esempio n. 7
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__mem_total, offset, length) = get_u16(buf, offset, length)
     ret['mem_total'] = __mem_total
     (__pcpu, offset, length) = get_u8(buf, offset, length)
     ret['pcpu'] = __pcpu
     (__pmem, offset, length) = get_u8(buf, offset, length)
     ret['pmem'] = __pmem
     (__procs_starting, offset, length) = get_u16(buf, offset, length)
     ret['procs_starting'] = __procs_starting
     (__procs_stopping, offset, length) = get_u16(buf, offset, length)
     ret['procs_stopping'] = __procs_stopping
     (__pid_count, offset, length) = get_u16(buf, offset, length)
     ret['pid_count'] = __pid_count
     return ret, offset, length
Esempio n. 8
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__index, offset, length) = get_u16(buf, offset, length)
     ret['index'] = __index
     (__setting, offset, length) = get_setting(buf, offset, length)
     ret['setting'] = __setting
     return ret, offset, length
Esempio n. 9
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__tow, offset, length) = get_u32(buf, offset, length)
     ret['tow'] = __tow
     (__wn, offset, length) = get_u16(buf, offset, length)
     ret['wn'] = __wn
     return ret, offset, length
Esempio n. 10
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__recv_time, offset, length) = get_u64(buf, offset, length)
     ret['recv_time'] = __recv_time
     (__tot, offset, length) = GPSTimeDep.parse_members(buf, offset, length)
     ret['tot'] = __tot
     (__P, offset, length) = get_u32(buf, offset, length)
     ret['P'] = __P
     (__P_std, offset, length) = get_u16(buf, offset, length)
     ret['P_std'] = __P_std
     (__L, offset, length) = CarrierPhase.parse_members(buf, offset, length)
     ret['L'] = __L
     (__cn0, offset, length) = get_u8(buf, offset, length)
     ret['cn0'] = __cn0
     (__lock, offset, length) = get_u16(buf, offset, length)
     ret['lock'] = __lock
     (__sid, offset,
      length) = GnssSignalDep.parse_members(buf, offset, length)
     ret['sid'] = __sid
     (__doppler, offset, length) = get_s32(buf, offset, length)
     ret['doppler'] = __doppler
     (__doppler_std, offset, length) = get_u16(buf, offset, length)
     ret['doppler_std'] = __doppler_std
     (__uptime, offset, length) = get_u32(buf, offset, length)
     ret['uptime'] = __uptime
     (__clock_offset, offset, length) = get_s16(buf, offset, length)
     ret['clock_offset'] = __clock_offset
     (__clock_drift, offset, length) = get_s16(buf, offset, length)
     ret['clock_drift'] = __clock_drift
     (__corr_spacing, offset, length) = get_u16(buf, offset, length)
     ret['corr_spacing'] = __corr_spacing
     (__acceleration, offset, length) = get_s8(buf, offset, length)
     ret['acceleration'] = __acceleration
     (__sync_flags, offset, length) = get_u8(buf, offset, length)
     ret['sync_flags'] = __sync_flags
     (__tow_flags, offset, length) = get_u8(buf, offset, length)
     ret['tow_flags'] = __tow_flags
     (__track_flags, offset, length) = get_u8(buf, offset, length)
     ret['track_flags'] = __track_flags
     (__nav_flags, offset, length) = get_u8(buf, offset, length)
     ret['nav_flags'] = __nav_flags
     (__pset_flags, offset, length) = get_u8(buf, offset, length)
     ret['pset_flags'] = __pset_flags
     (__misc_flags, offset, length) = get_u8(buf, offset, length)
     ret['misc_flags'] = __misc_flags
     return ret, offset, length
Esempio n. 11
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__tx_throughput, offset, length) = get_f32(buf, offset, length)
     ret['tx_throughput'] = judicious_round(np.float32(
         __tx_throughput)) if SBP.judicious_rounding else __tx_throughput
     (__rx_throughput, offset, length) = get_f32(buf, offset, length)
     ret['rx_throughput'] = judicious_round(np.float32(
         __rx_throughput)) if SBP.judicious_rounding else __rx_throughput
     (__crc_error_count, offset, length) = get_u16(buf, offset, length)
     ret['crc_error_count'] = __crc_error_count
     (__io_error_count, offset, length) = get_u16(buf, offset, length)
     ret['io_error_count'] = __io_error_count
     (__tx_buffer_level, offset, length) = get_u8(buf, offset, length)
     ret['tx_buffer_level'] = __tx_buffer_level
     (__rx_buffer_level, offset, length) = get_u8(buf, offset, length)
     ret['rx_buffer_level'] = __rx_buffer_level
     return ret, offset, length
Esempio n. 12
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__component, offset, length) = get_u16(buf, offset, length)
     ret['component'] = __component
     (__generic, offset, length) = get_u8(buf, offset, length)
     ret['generic'] = __generic
     (__specific, offset, length) = get_u8(buf, offset, length)
     ret['specific'] = __specific
     return ret, offset, length
Esempio n. 13
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__index, offset, length) = get_u16(buf, offset, length)
   ret['index'] = __index
   (__tropo_delay_correction, offset, length) = TroposphericDelayCorrection.parse_members(buf, offset, length)
   ret['tropo_delay_correction'] = __tropo_delay_correction
   (__stec_residuals, offset, length) = get_array(STECResidual.parse_members)(buf, offset, length)
   ret['stec_residuals'] = __stec_residuals
   return ret, offset, length
Esempio n. 14
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__tile_set_id, offset, length) = get_u16(buf, offset, length)
     ret['tile_set_id'] = __tile_set_id
     (__tile_id, offset, length) = get_u16(buf, offset, length)
     ret['tile_id'] = __tile_id
     (__time, offset,
      length) = GPSTimeSec.parse_members(buf, offset, length)
     ret['time'] = __time
     (__num_msgs, offset, length) = get_u8(buf, offset, length)
     ret['num_msgs'] = __num_msgs
     (__seq_num, offset, length) = get_u8(buf, offset, length)
     ret['seq_num'] = __seq_num
     (__update_interval, offset, length) = get_u8(buf, offset, length)
     ret['update_interval'] = __update_interval
     (__iod_atmo, offset, length) = get_u8(buf, offset, length)
     ret['iod_atmo'] = __iod_atmo
     return ret, offset, length
Esempio n. 15
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__cause, offset, length) = get_u8(buf, offset, length)
   ret['cause'] = __cause
   (__startup_type, offset, length) = get_u8(buf, offset, length)
   ret['startup_type'] = __startup_type
   (__reserved, offset, length) = get_u16(buf, offset, length)
   ret['reserved'] = __reserved
   return ret, offset, length
Esempio n. 16
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__sat, offset, length) = get_u16(buf, offset, length)
     ret['sat'] = __sat
     (__code, offset, length) = get_u8(buf, offset, length)
     ret['code'] = __code
     (__reserved, offset, length) = get_u8(buf, offset, length)
     ret['reserved'] = __reserved
     return ret, offset, length
Esempio n. 17
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__name, offset, length) = get_fixed_string(20)(buf, offset, length)
     ret['name'] = __name
     (__cpu, offset, length) = get_u16(buf, offset, length)
     ret['cpu'] = __cpu
     (__stack_free, offset, length) = get_u32(buf, offset, length)
     ret['stack_free'] = __stack_free
     return ret, offset, length
Esempio n. 18
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__index, offset, length) = get_u8(buf, offset, length)
   ret['index'] = __index
   (__pid, offset, length) = get_u16(buf, offset, length)
   ret['pid'] = __pid
   (__recv_queued, offset, length) = get_u16(buf, offset, length)
   ret['recv_queued'] = __recv_queued
   (__send_queued, offset, length) = get_u16(buf, offset, length)
   ret['send_queued'] = __send_queued
   (__socket_types, offset, length) = get_u16(buf, offset, length)
   ret['socket_types'] = __socket_types
   (__socket_states, offset, length) = get_u16(buf, offset, length)
   ret['socket_states'] = __socket_states
   (__address_of_largest, offset, length) = get_fixed_string(64)(buf, offset, length)
   ret['address_of_largest'] = __address_of_largest
   (__cmdline, offset, length) = get_string(buf, offset, length)
   ret['cmdline'] = __cmdline
   return ret, offset, length
Esempio n. 19
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__tow, offset, length) = get_u32(buf, offset, length)
     ret['tow'] = __tow
     (__pdop, offset, length) = get_u16(buf, offset, length)
     ret['pdop'] = __pdop
     (__hdop, offset, length) = get_u16(buf, offset, length)
     ret['hdop'] = __hdop
     (__vdop, offset, length) = get_u16(buf, offset, length)
     ret['vdop'] = __vdop
     (__age_corrections, offset, length) = get_u16(buf, offset, length)
     ret['age_corrections'] = __age_corrections
     (__age_gnss, offset, length) = get_u32(buf, offset, length)
     ret['age_gnss'] = __age_gnss
     (__sol_in, offset,
      length) = get_array(SolutionInputType.parse_members)(buf, offset,
                                                           length)
     ret['sol_in'] = __sol_in
     return ret, offset, length
Esempio n. 20
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__flags, offset, length) = get_u8(buf, offset, length)
   ret['flags'] = __flags
   (__latency, offset, length) = get_u16(buf, offset, length)
   ret['latency'] = __latency
   (__num_signals, offset, length) = get_u8(buf, offset, length)
   ret['num_signals'] = __num_signals
   (__source, offset, length) = get_string(buf, offset, length)
   ret['source'] = __source
   return ret, offset, length
Esempio n. 21
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__index, offset, length) = get_u8(buf, offset, length)
     ret['index'] = __index
     (__pid, offset, length) = get_u16(buf, offset, length)
     ret['pid'] = __pid
     (__pcpu, offset, length) = get_u8(buf, offset, length)
     ret['pcpu'] = __pcpu
     (__tname, offset, length) = get_fixed_string(15)(buf, offset, length)
     ret['tname'] = __tname
     (__cmdline, offset, length) = get_string(buf, offset, length)
     ret['cmdline'] = __cmdline
     return ret, offset, length
Esempio n. 22
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__wn, offset, length) = get_u16(buf, offset, length)
     ret['wn'] = __wn
     (__tow, offset, length) = get_u32(buf, offset, length)
     ret['tow'] = __tow
     (__ns_residual, offset, length) = get_s32(buf, offset, length)
     ret['ns_residual'] = __ns_residual
     (__flags, offset, length) = get_u8(buf, offset, length)
     ret['flags'] = __flags
     (__pin, offset, length) = get_u8(buf, offset, length)
     ret['pin'] = __pin
     return ret, offset, length
Esempio n. 23
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__index, offset, length) = get_u8(buf, offset, length)
     ret['index'] = __index
     (__pid, offset, length) = get_u16(buf, offset, length)
     ret['pid'] = __pid
     (__pmem, offset, length) = get_u8(buf, offset, length)
     ret['pmem'] = __pmem
     (__time, offset, length) = get_u32(buf, offset, length)
     ret['time'] = __time
     (__flags, offset, length) = get_u8(buf, offset, length)
     ret['flags'] = __flags
     (__tname, offset, length) = get_fixed_string(15)(buf, offset, length)
     ret['tname'] = __tname
     (__cmdline, offset, length) = get_string(buf, offset, length)
     ret['cmdline'] = __cmdline
     return ret, offset, length
Esempio n. 24
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__recv_time, offset, length) = get_u64(buf, offset, length)
     ret['recv_time'] = __recv_time
     (__event, offset, length) = get_u8(buf, offset, length)
     ret['event'] = __event
     (__object_type, offset, length) = get_u8(buf, offset, length)
     ret['object_type'] = __object_type
     (__result, offset, length) = get_u8(buf, offset, length)
     ret['result'] = __result
     (__data_source, offset, length) = get_u8(buf, offset, length)
     ret['data_source'] = __data_source
     (__object_sid, offset,
      length) = GnssSignal.parse_members(buf, offset, length)
     ret['object_sid'] = __object_sid
     (__src_sid, offset,
      length) = GnssSignal.parse_members(buf, offset, length)
     ret['src_sid'] = __src_sid
     (__original_sender, offset, length) = get_u16(buf, offset, length)
     ret['original_sender'] = __original_sender
     return ret, offset, length
Esempio n. 25
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__time, offset, length) = GPSTimeSec.parse_members(buf, offset, length)
   ret['time'] = __time
   (__sid, offset, length) = GnssSignal.parse_members(buf, offset, length)
   ret['sid'] = __sid
   (__update_interval, offset, length) = get_u8(buf, offset, length)
   ret['update_interval'] = __update_interval
   (__iod_ssr, offset, length) = get_u8(buf, offset, length)
   ret['iod_ssr'] = __iod_ssr
   (__dispersive_bias, offset, length) = get_u8(buf, offset, length)
   ret['dispersive_bias'] = __dispersive_bias
   (__mw_consistency, offset, length) = get_u8(buf, offset, length)
   ret['mw_consistency'] = __mw_consistency
   (__yaw, offset, length) = get_u16(buf, offset, length)
   ret['yaw'] = __yaw
   (__yaw_rate, offset, length) = get_s8(buf, offset, length)
   ret['yaw_rate'] = __yaw_rate
   (__biases, offset, length) = get_array(PhaseBiasesContent.parse_members)(buf, offset, length)
   ret['biases'] = __biases
   return ret, offset, length
Esempio n. 26
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__channel_tag, offset, length) = get_u16(buf, offset, length)
     ret['channel_tag'] = __channel_tag
     (__t, offset, length) = GPSTime.parse_members(buf, offset, length)
     ret['t'] = __t
     (__freq_ref, offset, length) = get_f32(buf, offset, length)
     ret['freq_ref'] = judicious_round(
         np.float32(__freq_ref)) if SBP.judicious_rounding else __freq_ref
     (__freq_step, offset, length) = get_f32(buf, offset, length)
     ret['freq_step'] = judicious_round(
         np.float32(__freq_step)) if SBP.judicious_rounding else __freq_step
     (__amplitude_ref, offset, length) = get_f32(buf, offset, length)
     ret['amplitude_ref'] = judicious_round(np.float32(
         __amplitude_ref)) if SBP.judicious_rounding else __amplitude_ref
     (__amplitude_unit, offset, length) = get_f32(buf, offset, length)
     ret['amplitude_unit'] = judicious_round(np.float32(
         __amplitude_unit)) if SBP.judicious_rounding else __amplitude_unit
     (__amplitude_value, offset, length) = get_array(get_u8)(buf, offset,
                                                             length)
     ret['amplitude_value'] = __amplitude_value
     return ret, offset, length
Esempio n. 27
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__tile_set_id, offset, length) = get_u16(buf, offset, length)
     ret['tile_set_id'] = __tile_set_id
     (__tile_id, offset, length) = get_u16(buf, offset, length)
     ret['tile_id'] = __tile_id
     (__corner_nw_lat, offset, length) = get_s16(buf, offset, length)
     ret['corner_nw_lat'] = __corner_nw_lat
     (__corner_nw_lon, offset, length) = get_s16(buf, offset, length)
     ret['corner_nw_lon'] = __corner_nw_lon
     (__spacing_lat, offset, length) = get_u16(buf, offset, length)
     ret['spacing_lat'] = __spacing_lat
     (__spacing_lon, offset, length) = get_u16(buf, offset, length)
     ret['spacing_lon'] = __spacing_lon
     (__rows, offset, length) = get_u16(buf, offset, length)
     ret['rows'] = __rows
     (__cols, offset, length) = get_u16(buf, offset, length)
     ret['cols'] = __cols
     (__bitmask, offset, length) = get_u64(buf, offset, length)
     ret['bitmask'] = __bitmask
     return ret, offset, length
Esempio n. 28
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__index, offset, length) = get_u16(buf, offset, length)
     ret['index'] = __index
     return ret, offset, length