mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 08:48:07 -06:00
sadd
This commit is contained in:
@@ -146,6 +146,7 @@ public class RobotContainer {
|
||||
true),
|
||||
m_robotSwerveDrive).withName("Swerve driveWithInput defaultCommand"));
|
||||
|
||||
|
||||
// continually sends updates to the Blinkin LED controller to keep the lights on
|
||||
// m_robotLED
|
||||
// .setDefaultCommand(new RunCommand(m_robotLED::updateLED,
|
||||
@@ -194,13 +195,6 @@ public class RobotContainer {
|
||||
.whenPressed(new RunClaw(m_claws, ClawType.LEFT, false))
|
||||
.whenPressed(new RunClaw(m_claws, ClawType.RIGHT, false));
|
||||
|
||||
// new JoystickButton(getOperatorJoystick(), XboxController.Y_BUTTON)
|
||||
// .whenPressed(() -> m_claws.setSpeed(0.5))
|
||||
// .whenReleased(() -> m_claws.setSpeed(0.0));
|
||||
// new JoystickButton(getOperatorJoystick(), XboxController.X_BUTTON)
|
||||
// .whenPressed(() -> m_claws.setSpeed(-0.5))
|
||||
// .whenReleased(() -> m_claws.setSpeed(0.0));
|
||||
|
||||
/*
|
||||
* new JoystickButton(getOperatorController(), XboxController.Button.kB.value)
|
||||
* .whenPressed(() -> m_robotLED.setPattern(LEDPatterns.LAVA_RAINBOW))
|
||||
|
||||
@@ -74,7 +74,10 @@ public class Claws extends SubsystemBase {
|
||||
|
||||
m_open = open;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the state of both hooks
|
||||
* @param open The state of the hooks
|
||||
*/
|
||||
public void setOpen(boolean open) {
|
||||
if(open) {
|
||||
// m_leftClaw.getEncoder().setPosition(ClawsConstants.OPEN_POSITION + m_leftOffset);
|
||||
|
||||
Reference in New Issue
Block a user