Beispiel #1
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
     (__iod, offset, length) = get_u8(buf, offset, length)
     ret['iod'] = __iod
     (__radial, offset, length) = get_s32(buf, offset, length)
     ret['radial'] = __radial
     (__along, offset, length) = get_s32(buf, offset, length)
     ret['along'] = __along
     (__cross, offset, length) = get_s32(buf, offset, length)
     ret['cross'] = __cross
     (__dot_radial, offset, length) = get_s32(buf, offset, length)
     ret['dot_radial'] = __dot_radial
     (__dot_along, offset, length) = get_s32(buf, offset, length)
     ret['dot_along'] = __dot_along
     (__dot_cross, offset, length) = get_s32(buf, offset, length)
     ret['dot_cross'] = __dot_cross
     (__c0, offset, length) = get_s32(buf, offset, length)
     ret['c0'] = __c0
     (__c1, offset, length) = get_s32(buf, offset, length)
     ret['c1'] = __c1
     (__c2, offset, length) = get_s32(buf, offset, length)
     ret['c2'] = __c2
     return ret, offset, length
Beispiel #2
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
Beispiel #3
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__satId, offset, length) = get_u8(buf, offset, length)
     ret['satId'] = __satId
     (__constellation, offset, length) = get_u8(buf, offset, length)
     ret['constellation'] = __constellation
     return ret, offset, length
Beispiel #4
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__sat, offset, length) = get_u8(buf, offset, length)
     ret['sat'] = __sat
     (__code, offset, length) = get_u8(buf, offset, length)
     ret['code'] = __code
     return ret, offset, length
Beispiel #5
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__sensor_type, offset, length) = get_u8(buf, offset, length)
     ret['sensor_type'] = __sensor_type
     (__flags, offset, length) = get_u8(buf, offset, length)
     ret['flags'] = __flags
     return ret, offset, length
Beispiel #6
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
Beispiel #7
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
Beispiel #8
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__sid, offset, length) = GnssSignal.parse_members(buf, offset, length)
     ret['sid'] = __sid
     (__fcn, offset, length) = get_u8(buf, offset, length)
     ret['fcn'] = __fcn
     (__cn0, offset, length) = get_u8(buf, offset, length)
     ret['cn0'] = __cn0
     return ret, offset, length
Beispiel #9
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__imu_type, offset, length) = get_u8(buf, offset, length)
     ret['imu_type'] = __imu_type
     (__temp, offset, length) = get_s16(buf, offset, length)
     ret['temp'] = __temp
     (__imu_conf, offset, length) = get_u8(buf, offset, length)
     ret['imu_conf'] = __imu_conf
     return ret, offset, length
Beispiel #10
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__source, offset, length) = get_u8(buf, offset, length)
     ret['source'] = __source
     (__protocol, offset, length) = get_u8(buf, offset, length)
     ret['protocol'] = __protocol
     (__fwd_payload, offset, length) = get_string(buf, offset, length)
     ret['fwd_payload'] = __fwd_payload
     return ret, offset, length
Beispiel #11
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
Beispiel #12
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__state, offset, length) = get_u8(buf, offset, length)
   ret['state'] = __state
   (__prn, offset, length) = get_u8(buf, offset, length)
   ret['prn'] = __prn
   (__cn0, offset, length) = get_f32(buf, offset, length)
   ret['cn0'] = judicious_round(np.float32(__cn0)) if SBP.judicious_rounding else __cn0
   return ret, offset, length
Beispiel #13
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
Beispiel #14
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__tow, offset, length) = get_u32(buf, offset, length)
     ret['tow'] = __tow
     (__heading, offset, length) = get_u32(buf, offset, length)
     ret['heading'] = __heading
     (__n_sats, offset, length) = get_u8(buf, offset, length)
     ret['n_sats'] = __n_sats
     (__flags, offset, length) = get_u8(buf, offset, length)
     ret['flags'] = __flags
     return ret, offset, length
Beispiel #15
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
Beispiel #16
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__time, offset, length) = get_u64(buf, offset, length)
   ret['time'] = __time
   (__flags, offset, length) = get_u8(buf, offset, length)
   ret['flags'] = __flags
   (__source, offset, length) = get_u8(buf, offset, length)
   ret['source'] = __source
   (__ticks, offset, length) = get_s32(buf, offset, length)
   ret['ticks'] = __ticks
   return ret, offset, length
Beispiel #17
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__target, offset, length) = get_u8(buf, offset, length)
     ret['target'] = __target
     (__addr_start, offset, length) = get_fixed_array(get_u8, 3,
                                                      1)(buf, offset,
                                                         length)
     ret['addr_start'] = __addr_start
     (__addr_len, offset, length) = get_u8(buf, offset, length)
     ret['addr_len'] = __addr_len
     return ret, offset, length
Beispiel #18
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__group_id, offset, length) = get_u8(buf, offset, length)
     ret['group_id'] = __group_id
     (__flags, offset, length) = get_u8(buf, offset, length)
     ret['flags'] = __flags
     (__n_group_msgs, offset, length) = get_u8(buf, offset, length)
     ret['n_group_msgs'] = __n_group_msgs
     (__group_msgs, offset, length) = get_array(get_u16)(buf, offset,
                                                         length)
     ret['group_msgs'] = __group_msgs
     return ret, offset, length
Beispiel #19
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_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
Beispiel #20
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
   (__biases, offset, length) = get_array(CodeBiasesContent.parse_members)(buf, offset, length)
   ret['biases'] = __biases
   return ret, offset, length
Beispiel #21
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__code, offset, length) = get_u8(buf, offset, length)
   ret['code'] = __code
   (__integer_indicator, offset, length) = get_u8(buf, offset, length)
   ret['integer_indicator'] = __integer_indicator
   (__widelane_integer_indicator, offset, length) = get_u8(buf, offset, length)
   ret['widelane_integer_indicator'] = __widelane_integer_indicator
   (__discontinuity_counter, offset, length) = get_u8(buf, offset, length)
   ret['discontinuity_counter'] = __discontinuity_counter
   (__bias, offset, length) = get_s32(buf, offset, length)
   ret['bias'] = __bias
   return ret, offset, length
Beispiel #22
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
Beispiel #23
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
Beispiel #24
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
Beispiel #25
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
Beispiel #26
0
 def parse_members(cls, buf, offset, length):
   ret = {}
   (__id, offset, length) = get_u8(buf, offset, length)
   ret['id'] = __id
   (__telemetry_labels, offset, length) = get_string(buf, offset, length)
   ret['telemetry_labels'] = __telemetry_labels
   return ret, offset, length
Beispiel #27
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__i, offset, length) = get_s32(buf, offset, length)
     ret['i'] = __i
     (__f, offset, length) = get_u8(buf, offset, length)
     ret['f'] = __f
     return ret, offset, length
Beispiel #28
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__mask, offset, length) = get_u8(buf, offset, length)
     ret['mask'] = __mask
     (__sid, offset, length) = GnssSignal.parse_members(buf, offset, length)
     ret['sid'] = __sid
     return ret, offset, length
Beispiel #29
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__target, offset, length) = get_u8(buf, offset, length)
     ret['target'] = __target
     (__sector_num, offset, length) = get_u32(buf, offset, length)
     ret['sector_num'] = __sector_num
     return ret, offset, length
Beispiel #30
0
 def parse_members(cls, buf, offset, length):
     ret = {}
     (__code, offset, length) = get_u8(buf, offset, length)
     ret['code'] = __code
     (__value, offset, length) = get_s16(buf, offset, length)
     ret['value'] = __value
     return ret, offset, length