Skip to content

Improve Driver Controls#152

Merged
scotch-tape merged 6 commits into
mainfrom
Improve-Driver-Controls
Jun 5, 2026
Merged

Improve Driver Controls#152
scotch-tape merged 6 commits into
mainfrom
Improve-Driver-Controls

Conversation

@scotch-tape

Copy link
Copy Markdown
Contributor

No description provided.


return RotationsPerSecond.of(
Math.signum(joystickInput)
* Math.pow(Math.abs(joystickInput), 2)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It would be best to write joystickInput * joystickInput instead of Math.pow(Math.abs(joystickInput), 2).

// operator
// .rightTrigger()
Trigger shootButtonsTrigger =
operator.rightTrigger().or(driver.back()).and(RobotState::isEnabled);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do you want to make shooting a more intuitive button?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, i'm used to the weird button and kind of like it

@scotch-tape scotch-tape merged commit dc88c0f into main Jun 5, 2026
1 check failed
@scotch-tape scotch-tape deleted the Improve-Driver-Controls branch June 5, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants