本文整理汇总了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()
开发者ID:namhh,项目名称:libsbp,代码行数:7,代码来源:flash.py
示例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()
开发者ID:axlan,项目名称:libsbp,代码行数:7,代码来源:observation.py
示例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()
开发者ID:swift-nav,项目名称:libsbp,代码行数:7,代码来源:file_io.py
示例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()
开发者ID:wltr,项目名称:libsbp,代码行数:7,代码来源:settings.py
示例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()
开发者ID:swift-nav,项目名称:libsbp,代码行数:7,代码来源:bootload.py
示例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()
开发者ID:swift-nav,项目名称:libsbp,代码行数:7,代码来源:system.py
示例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)
开发者ID:swift-nav,项目名称:libsbp,代码行数:8,代码来源:tracking.py
示例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()
开发者ID:swift-nav,项目名称:libsbp,代码行数:7,代码来源:tracking.py
注:本文中的sbp.utils.containerize函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论