- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
解析MWC串口通讯正式版20130407
解析MWC的串口通讯
一使用的软件
二使用的MWC定义串口协议文件
updated 04 JulyMultiwii serial protocol was redesigned:? to be light, as before? to be generic: it can be used transparenlty by a GUI, OSD, telemetry or home made config tool.ie no more specific OSD code should be coded in multiwii? to be bit wire efficient: only requested data are transmitted in a binary format? to be quite secure: data are sent with a checksum, preventing corrupted configuration to be injected.? to be header sensitive: as it is designed with a specific header, it can be mixed with other frame, like GPS frameie, it will be possible to connect either a GUI or a GPS on the same serial port without changing the conf? to be less sensitive to evolutions:ie in case of parameter evolution, the main protocol will remain compatible and the GUI will be much less version dependent.variable data length allows to consider only the beginning of a message, leaving the other octets at the end to extend transparently the message (for instance to add a new PID)I thought first about an implementation of Mavlink, but I think its not what I was looking for.Even with a partial implementation, the predefined structures are not light enough for what I have in mind.Some messages are however inspired from mavlink structure.The main rule remains: Multiwii never sends something on its own.A request must be done in each case to retrieve or set data.Each messages received are acknowledged even if there is no data inside.There are 2 main messages to consider:?request message to multiwii?multiwii output messagerequest message to multiwiiTo request simple data without parameters / send a specific command / inject new parameters in multiwiimessages are formated like this:$M[data length][code][data][checksum]1 octet $1 octet M1 octet 1 octet [data length]1 octet [code]several octets [data]1 octet [checksum][data length] can be 0 in case of no param commandmultiwii output messagemessages are format
您可能关注的文档
最近下载
- 教学能力大赛常见答辩问题汇总2.docx VIP
- 2025年河南省焦作市解放区小升初必考题数学检测卷含解析.doc VIP
- 小学人工智能校本课程《会听的人工智能——语音识别》教学设计.pdf VIP
- EVE各族战舰介绍及装配.doc VIP
- 2024-2025学年河南省焦作市解放区小升初总复习数学精选精练含解析.doc VIP
- 报刊客户的营销方案(3篇).docx VIP
- 2025广西公需科目培训考试答案(90分)——“一区两地一园一通道”建设;人工智能时代的机遇与挑战(1).pdf VIP
- 纺织企业(印染厂)全套组织架构、部门岗位职能设计及全套企业管理制度汇编(拿来即用).docx
- 电网物资质量检测能力评价导则(试行).docx
- 贵州省教科院贵州省教育学会教学设计论文评选结果.docx VIP
文档评论(0)