Skip to content

add byteshift reset#3654

Open
StarrryNight wants to merge 2 commits intoUBC-Thunderbots:motor_firmware_integrationfrom
StarrryNight:byteshift_fix
Open

add byteshift reset#3654
StarrryNight wants to merge 2 commits intoUBC-Thunderbots:motor_firmware_integrationfrom
StarrryNight:byteshift_fix

Conversation

@StarrryNight
Copy link
Contributor

Description

Resolves #3649
This PR racks consecutive SPI frame CRC failures per motor and triggers an automatic driver reset after 10 consecutive failures, preventing silent data corruption from persistent SPI line faults.

Testing Done

Resolved Issues

Resolves #3649

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

@StarrryNight StarrryNight changed the title add byteshift fdetect add byteshift reset Mar 21, 2026
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.

1 participant