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

Commit

Permalink
change climber controls for driver so that they don't conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
dublUayaychtee committed Mar 22, 2024
1 parent 4a23cdd commit 45d6bc1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rio/robotcontainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,16 @@ def configureButtonBindings(self) -> None:
self.driverController.start().onTrue(ResetYaw(self.robotDrive))

# Climbing
self.driverController.rightBumper().whileTrue(
self.driverController.pov(0).whileTrue(
Climb(
lambda: self.opController.getRightTriggerAxis()
- self.opController.getLeftTriggerAxis(),
1,
self.climber,
self.shooter,
)
)
self.driverController.pov(180).whileTrue(
Climb(
1,
self.climber,
self.shooter,
)
Expand Down

1 comment on commit 45d6bc1

@KenwoodFox
Copy link
Member

Choose a reason for hiding this comment

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

Not using the triggers for smooth climbing anymore?

Please sign in to comment.