Repository navigation
feat : 统一 controller 遥控接收框架并迁移应用 - #166
Merged
Merged
Conversation
USART3 使用 100000 波特率与偶校验,配合 9 位字长(8 数据位 + 校验位)
- 新增 boards/remote 模块,为 DBUS、SBUS、VT13(RefereeRc) 及 FS-i6X 提供独立接收器,由 RemoteReceiver 基类统一管理有效帧序号、接收时间与失控标志,UART、时钟和控制映射交由接入层处理 - 将 Protocol::Receive 改为基于有界缓存的 A5/A9 分帧解析,VT13 的校验与解码下沉到 RefereeRcReceiver,Protocol 仅负责字节流拆帧 - 在 Protocol/Referee/Host 的 ProcessDataRx 中按结构体大小严格校验载荷长度,避免越界拷贝 - 移除已废弃的 0x0304 REMOTE_CONTROL_DATA 及 0x53 REMOTE_CONTROL_VT13 命令分支 - 新增 dt7、vt13、fs_i6x 示例程序
- 示例中的接收器改用 remote::Dbus、remote::I6x 与 remote::RefereeRc,VT13 状态与模式类型重命名为 RefereeRcFrame / RefereeRcMode - FS-i6X 的通道开关枚举改用统一的 TwoPositionSwitch / ThreePositionSwitch,并修正 UP/DOWN 映射 - fs_i6x 示例补充通道对应关系说明与开关编码诊断输出,便于排查 SBUS 解析结果
m2rt1n88
force-pushed
the
M2rt1n/controller
branch
from
October 28, 2026 04:52
ef890f7 to
3920fec
Compare
ahpasserby
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Benefits