Skip to content

Ref Update 2026#193

Draft
roccoagain wants to merge 14 commits into
mainfrom
ref-update-2026
Draft

Ref Update 2026#193
roccoagain wants to merge 14 commits into
mainfrom
ref-update-2026

Conversation

@roccoagain
Copy link
Copy Markdown
Collaborator

@roccoagain roccoagain commented May 25, 2026

Updates to align with RoboMaster’s 2026 spec.

RMU 2026 Communication Protocol

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

Doxygen warnings output: (if empty, there are no warnings). Please correct any warnings before merging.

  

Copy link
Copy Markdown
Collaborator

@ericv555 ericv555 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid 1 or 2 big bugs most other comments are small optimizations.

Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystem.cpp
read_mcm();
}

void RefSystem::write(uint8_t* packet, uint8_t length) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
void RefSystem::write(uint8_t* packet, uint16_t length) {

length can now be up to 309 which exceeds uint8_t max size.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Holy good catch

Comment thread src/sensors/RefSystemPacketDefs.hpp Outdated
Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystemPacketDefs.hpp
Comment thread src/sensors/RefSystemPacketDefs.hpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants