Machine-Mavericks / Machine-Mavericks/FRC-2026

RobotContainer: toolOp.leftBumper() is double-bound to conflicting commands

Open
#39 0 comments 0 reactions 2 assignees View on GitHub

@zokabear is already working on this.

Since Mar 14, 2026.

Dominant language
Java
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Bug: `toolOp.leftBumper()` bound to two conflicting commands

**File:** `src/main/java/frc/robot/RobotContainer.java` lines 159 and 199

```java
// Line 159
toolOp.leftBumper().whileTrue(new ManualTurretControl());

// ...

// Line 199
toolOp.leftBumper().whileTrue(new RunIntakeCommand(intake));
```

`toolOp.leftBumper()` is bound to two different `whileTrue` commands. In WPILib, adding a second trigger binding to the same button does **not** replace the first — both commands will be scheduled simultaneously when the button is held. `ManualTurretControl` and `RunIntakeCommand` will fight over their respective subsystem requirements or run concurrently in unexpected ways.

## Fix

Move one of these to a free button. Currently unbound operator buttons that could be used:
- `toolOp.rightStick()`
- `toolOp.leftStick()`
- The left/right trigger axes (`toolOp.leftTrigger()`)

**Suggestion:** Move `RunIntakeCommand` to `toolOp.leftTrigger(0.5)` and keep `leftBumper` for manual turret override, since that is the more safety-critical binding.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.