本文整理汇总了Python中sbp.utils.containerize函数的典型用法代码示例。如果您正苦于以下问题:Python containerize函数的具体用法?Python containerize怎么用?Python containerize使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了containerize函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgM25FlashWriteStatus._parser.build(c)
return self.pack()
示例2: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgEphemerisDepA._parser.build(c)
return self.pack()
示例3: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgFileioConfigResp._parser.build(c)
return self.pack()
示例4: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgSettingsReadByIndexResp._parser.build(c)
return self.pack()
示例5: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgBootloaderJumpToApp._parser.build(c)
return self.pack()
示例6: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgCsacTelemetryLabels._parser.build(c)
return self.pack()
示例7: into_buffer
def into_buffer(self, buf, offset):
"""Produce a framed/packed SBP message into the provided buffer and offset.
"""
self.payload = containerize(exclude_fields(self))
self.parser = MsgTrackingIq._parser
self.stream_payload.reset(buf, offset)
return self.pack_into(buf, offset, self._build_payload)
示例8: to_binary
def to_binary(self):
"""Produce a framed/packed SBP message.
"""
c = containerize(exclude_fields(self))
self.payload = MsgTrackingStateDetailedDep._parser.build(c)
return self.pack()