Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Swerve chassis speeds #20

Merged
merged 6 commits into from
Jan 27, 2024
Merged

Swerve chassis speeds #20

merged 6 commits into from
Jan 27, 2024

Conversation

qntmcube
Copy link
Contributor

Description

Adapts the swerve code so that it works with new phoenix 6 frameworks
Updates swerve code to have a more standard rotational coordinate system
Updates swerve code values in general so that it works and makes more sense
Overloads the controlFieldOriented method to accept a chassisSpeeds input

How Has This Been Tested?

  • Unit tests: [Add your description here]
  • Simulator testing: [Add your description here]
  • On-robot bench testing: [Add your description here]
  • On-robot field testing: [Add your description here]

Copy link
Contributor

@dejabot dejabot left a comment

Choose a reason for hiding this comment

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

LG. Needs docs. :)

@qntmcube qntmcube merged commit 4427477 into main Jan 27, 2024
3 checks passed
@qntmcube qntmcube deleted the swerve-chassis-speeds branch January 27, 2024 22:19
The-Arx pushed a commit that referenced this pull request Feb 10, 2024
* made drive yaw input come directly from gyro
added chassisSpeeds support

* added pathplanner

* chassisSpeeds part works, cancoder issue

* Adapted to new phoenix 6 cancoder methods
Fixed minor issues with drive

* fixing merge issue

* linting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants