How to use the sbp.jit.msg.get_array function in sbp

To help you get started, we’ve selected a few sbp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github swift-nav / libsbp / python / sbp / jit / bootload.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__handshake, offset, length) = get_array(get_u8)(buf, offset, length)
    ret['handshake'] = __handshake
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / tracking.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__states, offset, length) = get_array(TrackingChannelState.parse_members)(buf, offset, length)
    ret['states'] = __states
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / ssr.py View on Github external
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
github swift-nav / libsbp / python / sbp / jit / tracking.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__states, offset, length) = get_array(TrackingChannelStateDepB.parse_members)(buf, offset, length)
    ret['states'] = __states
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / user.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__contents, offset, length) = get_array(get_u8)(buf, offset, length)
    ret['contents'] = __contents
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / observation.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__header, offset, length) = ObservationHeader.parse_members(buf, offset, length)
    ret['header'] = __header
    (__obs, offset, length) = get_array(PackedObsContent.parse_members)(buf, offset, length)
    ret['obs'] = __obs
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / observation.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__azel, offset, length) = get_array(SvAzEl.parse_members)(buf, offset, length)
    ret['azel'] = __azel
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / piksi.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__signal_strength, offset, length) = get_s8(buf, offset, length)
    ret['signal_strength'] = __signal_strength
    (__signal_error_rate, offset, length) = get_f32(buf, offset, length)
    ret['signal_error_rate'] = judicious_round(np.float32(__signal_error_rate)) if SBP.judicious_rounding else __signal_error_rate
    (__reserved, offset, length) = get_array(get_u8)(buf, offset, length)
    ret['reserved'] = __reserved
    return ret, offset, length
github swift-nav / libsbp / python / sbp / jit / piksi.py View on Github external
def parse_members(cls, buf, offset, length):
    ret = {}
    (__interfaces, offset, length) = get_array(NetworkUsage.parse_members)(buf, offset, length)
    ret['interfaces'] = __interfaces
    return ret, offset, length