-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add swerve #74
base: development
Are you sure you want to change the base?
Add swerve #74
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't actually know much about swerve so I won't comment about the mathematics.
This should be tested though.
So I guess we will keep it waiting here until we get the chance.
.project
Outdated
@@ -0,0 +1,28 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding all those files:
Place them in .gitignore
(can use the root one) and then you can run:
git rm [-r] --cached {file path}
to remove them from git
} | ||
|
||
//this is bad, but I assume there is something built in, so I will wait for the PR on this one | ||
public static double convertAngle(double angle) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep the degrees 0->360?
Mathf.translateAngle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool
Notes:
There are some things that I wasn't sure about, so I commented them, or did it in some way so you would correct it.
There is a little bit of code that still needs to be tested on a robot, but it's pretty straightforward. I will test it when I get the chance.
There are a lot of changes made to project files by vs code's Java extension.... Also, the wait a long time test fails on my machine for some reason. (unrelated to the changes)