generated from Patribots4738/Swerve-Command-Based
-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Soft inversion for Neo.java #56
Labels
good first issue
Good for newcomers
invalid
This doesn't seem right
logic
A logic problem or solution
Comments
GalexY727
added
good first issue
Good for newcomers
invalid
This doesn't seem right
logic
A logic problem or solution
labels
Jan 24, 2024
ooooo |
have at it! |
Jacob1010-h
added a commit
that referenced
this issue
Jan 24, 2024
Jacob1010-h
added a commit
that referenced
this issue
Jan 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
invalid
This doesn't seem right
logic
A logic problem or solution
Rather than having a parameter inside of Neo's constructor to call motor.setInverted, we should rather have it set a global variable (-1 multiplier) that gets applied to every input going to the motor. For example, We want a motor to be inverted and go 100% speed. if the "soft inversion" is true, then it would multiply our desired speed and multiply it by -1, which would effectively invert it and give us the same effect we would have gotten if we inverted the motor. I am still freaked out about the qual at chezy champs where jerome's claw didn't invert after telling it to, so this would be an alternate solution to hope that this doesn't have the opportunity to happen again.
The text was updated successfully, but these errors were encountered: