added pneumatics subsystem as param to driveWithJoysticks

This commit is contained in:
Aarav Shah
2020-02-29 13:28:20 -07:00
parent 7859fa3318
commit 6bdeaefc7c
2 changed files with 3 additions and 2 deletions
@@ -93,7 +93,7 @@ public class RobotContainer {
/* Default Commands */
// drives the robot with a two-axis input from the driver controller
m_robotDrive.setDefaultCommand(new DriveWithJoystick(m_robotDrive, getDriverController()));
m_robotDrive.setDefaultCommand(new DriveWithJoystick(m_robotDrive, m_robotPneumatics, getDriverController()));
// drives intake with input from triggers on the opperator controller
m_robotIntake.setDefaultCommand(new RunIntakeWithTriggers(m_robotIntake, getOperatorController()));
// runs the drum shooter in idle mode