arm limits

This commit is contained in:
Connorppeach
2023-02-09 19:13:55 -07:00
parent f5b7e5ffef
commit dd4223e13e
4 changed files with 77 additions and 60 deletions
@@ -62,9 +62,8 @@ public class RobotContainer {
-getDriverController().getRightXAxis(), false), m_robotSwerveDrive)
);
m_robotArm.setDefaultCommand(new RunCommand(() -> m_robotArm.runPivotAndTele(
getOperatorController().getLeftYAxis(),
getOperatorController().getLeftXAxis()), m_robotArm)
m_robotArm.setDefaultCommand(new RunCommand(() -> m_robotArm.armSetLength(
getOperatorController().getLeftYAxis()), m_robotArm)
);
}