-
Notifications
You must be signed in to change notification settings - Fork 127
Motor driver firmware integration #3458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
7ff486b
project vimrc for FZF
itsarune e2258b1
filter out .swp files
itsarune 60d7215
crosstool-ng config
itsarune cc78e24
Merge branch 'vimrc' of github.com:itsarune/Software into tbots_cross…
itsarune a184ae1
working on getting a nano compilation working
itsarune adf6f45
seems to compile
itsarune 74a219a
Working impl of x-compiler
itsarune 329019d
updat headed_estop_reader test timeout
itsarune f84a945
Update clang-format to work on ubuntu 24
itsarune aab1eed
wip
itsarune 71ae4da
Update cross-compiler compilation paths
itsarune 6dea991
delete my local computer config
itsarune 9177e23
Merge branch 'master' of github.com:UBC-Thunderbots/Software into tbo…
itsarune 6ebef9c
fix runtime issues with robot_info and robot_view widgets
itsarune 02d6ecf
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] e8dc746
delete crosstool-ng config
itsarune 70dc8ce
Remove boost build flag and build c++20 for robots
itsarune f7e08df
Merge branch 'tbots_crosstool_compiler' of github.com:itsarune/Softwa…
itsarune 9d0d377
Arun's refactoring of MotorService
itsarune 1143567
Remove old method declarations from MotorService header
williamckha b1ce843
Merge branch 'tbots_crosstool_compiler' of https://github.com/itsarun…
williamckha 558752c
Fix bugs in TmcMotorController
williamckha 9ba1129
Initial implementation of StSpinMotorController
williamckha 939daa8
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
williamckha bd17506
Implement checkDriverFault in StSpinMotorController
williamckha 0982f95
Fix build errors
williamckha b9a1ddb
Fix spi path bug and add additional xbox controller support
williamckha 17a2fe9
Add Frame Alignment
x4132 e9ce0eb
Revert "Add Frame Alignment"
x4132 a813a36
Update StSpinMotorController frame transmission to match new spec
williamckha ae9d0c1
Add CRC checksum
williamckha a6de20e
Remove unnecessary includes
williamckha 9169e46
Ignore conversion warnings for cppcrc
williamckha 6b117e0
Merge remote-tracking branch 'upstream/master' into motor_firmware_in…
williamckha d515cee
testing spi
williamckha 7695852
Changes from scrimmage weekend
williamckha 1062aaa
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
williamckha 3159928
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
williamckha 17ae921
Fix build issues and update docs
williamckha 31db8ec
Testing changes
williamckha eb1cdeb
Wait on data ready signal
williamckha 5e56f18
Nits
williamckha 3821858
Remove unused robot constant
williamckha 6156d7f
euclidean_to_wheel.cpp changes
williamckha 3ca4df1
Per-motor data ready GPIO
williamckha 3a10ac7
Working motor service
williamckha d58d9e4
Move busy wait code to GPIO class
williamckha 6fd9133
Update data ready GPIO pins
williamckha 8f1d017
Updates for circular DMA based SPI with new protocol
williamckha 01b5969
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
williamckha aae2f54
Change MPS_PER_RPM constant
williamckha 77b89d1
Implement command based SPI protocol
williamckha 311f839
Add more SPI commands
williamckha 44beb71
Add stspin_motor_controller_test
williamckha af8a626
Add enabled_motors option to stspin_motor_controller_test
williamckha bb4c163
Change function signatures for MotorController
williamckha ff88bcb
Add reflective_enum::nameOf utility function
williamckha 7b0216f
Cancel StSpinMotorControllerTest with Ctrl+C
williamckha 67cbc4d
Update robot constants with correct wheel angles for 2026 robot
williamckha 6953ca4
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
williamckha 6bdc907
Delete robot_auto_test.cpp
williamckha 3db198a
Add additional response types
williamckha 1985bf9
Fix errors in drive and dribbler widget
williamckha 08350e7
Add frame counter
williamckha a558c2a
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
williamckha db871f0
Major refactoring
williamckha 98d8fa8
Minor cleanup
williamckha e0c2eb2
Remove unnecessary earlyPoll method
williamckha f0d7f3f
Minor renamings
williamckha d74a493
Fix issue with reflective_enum::values
williamckha 278f1c7
Add frame type for setting speed feedforward gains
williamckha 92ceb8d
Lower max acceleration
williamckha e1b1575
Update robot constants for 2026
williamckha bf90e6a
Use robot constants directly in euclidean_to_wheel.cpp
williamckha 5bd942c
Merge branch 'william/robot_constants' into motor_firmware_integration
williamckha 59dc90e
Implement static feedforward gain based on driving angle
Thunderbots 42ef088
Cleanup feedforward static gain calculation
Thunderbots d2072c8
Update static gain constants
Thunderbots 03f740b
Fix thunderscope_main
Thunderbots e7ff0af
Add ability to drag to orient robot in GLMovementFieldTestLayer
williamckha 9c2ba44
Fix incorrect conversion rate in tmc_motor_controller
Thunderbots 0833dc7
Merge branch 'master' of https://github.com/UBC-Thunderbots/Software …
Thunderbots f9ce19d
Run formatting
Thunderbots 9157ff0
refactor constants for 2026
Andrewyx 1064751
merged
Andrewyx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Description: | ||
| # A very small, fast, header-only, C++ library for generating CRCs | ||
| # https://github.com/DarrenLevine/cppcrc/tree/main | ||
|
|
||
| cc_library( | ||
| name = "cppcrc", | ||
| hdrs = ["cppcrc.h"], | ||
| visibility = ["//visibility:public"], | ||
| ) |
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
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
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Empty file.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.