[x] Code is complete, and naming of variables, methods and classes are readable by non-coder humans.
[x] This code change has been tested and validated working as expected.
[x] This code change has been reflected in robot documentation in the docs folder.
[x] The questions below have all been answered.
[x] The title of this PR has been updated to describe the change made, for example, [Subsystem or Command Name] Short description of change.
[x] Assignees (usually yourself) have been assigned in the "Assignees" section to the right.
[x] Relevant reviewers have been assigned under the "Reviewers" section at the right.
What is changing and why?
This PR implements a slower speed during endgame that applies to both normal drive speed and "slow mode" drive speed. It scales the x1 and y1 values in DriveSticks (lateral movement joystick reads) by an 80% multiplier, and divides the joystick deadband by that same multiplier to account for rescaling needed there.
How was this tested?
This was tested on the bot, and the drivers have said it's good.
Is there anything the reviewer of this PR needs to know to validate that this code is correct?
What do your team members need to know about this?
Related Issues and PRs
Issue:
Related PRs:
Checklist
docs
folder.[Subsystem or Command Name] Short description of change
.What is changing and why?
This PR implements a slower speed during endgame that applies to both normal drive speed and "slow mode" drive speed. It scales the
x1
andy1
values inDriveSticks
(lateral movement joystick reads) by an 80% multiplier, and divides the joystick deadband by that same multiplier to account for rescaling needed there.How was this tested?
This was tested on the bot, and the drivers have said it's good.
Is there anything the reviewer of this PR needs to know to validate that this code is correct?
What do your team members need to know about this?