0

用Kotlin编写的JVM的MAVLink库

 1 year ago
source link: https://www.jdon.com/61088
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

用Kotlin编写的JVM的MAVLink库

这个库的灵感来自令人惊叹的dronefleet/mavlink库。这个库想要解决的一些补充是:
  • 基于接口的 API
  • 无反射序列化和反序列化
  • 消息生成器 gradle 插件
  • 灵活的基于模块的设计
  • 最终支持 Kotlin Multiplatform

mavlink-protocol
支持 CRC 验证和签名的低级 Mavlink 数据包通信库
一个处理读写数据包的低级别API。它没有任何关于方言或消息含义的知识。然而,它确实为数据包的CRC验证以及数据包的签署提供了基础设施。不过,必须提供所需的实现或会话特定的信息(如消息CRC额外和签名参数)。如果你在做你自己的高层设计,那么这可能是你的选择。如果你想使用mavlink-protocol而不使用这个软件库的其他组件,那么你可以阅读mavlink-protocol's README 来了解如何使用。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK