Skip to content

Set up the initial project structure#1

Merged
CPrutean merged 2 commits into
mainfrom
proposed_format
May 26, 2026
Merged

Set up the initial project structure#1
CPrutean merged 2 commits into
mainfrom
proposed_format

Conversation

@CPrutean
Copy link
Copy Markdown
Collaborator

Proposed the inital project structure for the motor library. Please feel free to critique and suggest something different. I felt that in the can folder would live the specific can frames and the logic for both sending and reading can frames would live in there made sense. Protocol would host the specific MIT can id's as well as the different error bits which could be read as exceptions. In the AK_series file there would live the specific motor bindings, In IO.hpp would live the nice toString values to allow for better logging. Additionally specifically defining exceptions for the error bits and can frames would allow us better to understand what is wrong with the motors.

@CPrutean
Copy link
Copy Markdown
Collaborator Author

Additionally frame.hpp Will just be a base class and both MIT_frame and Servo_frame will be derivative classes just to make it a little simpler.

@RadAlpaca11
Copy link
Copy Markdown

Seems solid to me!

@alexrsing
Copy link
Copy Markdown

Looks good to me

@CPrutean CPrutean merged commit 9009038 into main May 26, 2026
1 check passed
@CPrutean CPrutean deleted the proposed_format branch May 26, 2026 23:00
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.

3 participants