How to use the sbp.utils.containerize 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 / deprecated.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgEphemerisDeprecated._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / navigation.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgVelECEFDepA._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / acquisition.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgAcqResultDepA._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / navigation.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgPosLLHGnss._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / flash.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgFlashErase._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / user.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgUserData._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / flash.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgFlashDone._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / navigation.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgBaselineHeadingDepA._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / tracking.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgTrackingStateDetailedDepA._parser.build(c)
    return self.pack()
github swift-nav / libsbp / python / sbp / file_io.py View on Github external
def to_binary(self):
    """Produce a framed/packed SBP message.

    """
    c = containerize(exclude_fields(self))
    self.payload = MsgFileioReadReq._parser.build(c)
    return self.pack()