Adjustment of csv values

This commit is contained in:
Aarav Shah
2021-03-09 17:54:52 -07:00
parent 2f2a01e95d
commit c5c38d3017
2 changed files with 7 additions and 9 deletions
+1 -3
View File
@@ -2,6 +2,4 @@ Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
70,20,7000,2.5,
127,27,8467,2,
223,31.25,10398,2.75,
272,32.4,11776,2.5,
342,33,13733,2,
458,30.5,17000,0,
245,31,18000,1,
1 Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
2 70,20,7000,2.5,
3 127,27,8467,2,
4 223,31.25,10398,2.75,
5 272,32.4,11776,2.5, 245,31,18000,1,
342,33,13733,2,
458,30.5,17000,0,
@@ -236,14 +236,14 @@ public class RobotContainer {
// extends or retracts the extender
new JoystickButton(getOperatorJoystick(), XboxController.X_BUTTON)
//.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(0.5)))
//.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(0.2), m_robotShooterHood));
.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(0.5)))
.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
//.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(0.2), m_robotShooterHood));
new JoystickButton(getOperatorJoystick(), XboxController.Y_BUTTON)
//.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(-0.5)))
//.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(-0.2), m_robotShooterHood));
.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(-0.5)))
.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
//.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(-0.2), m_robotShooterHood));
// safety for climber and leveler
new JoystickButton(getOperatorJoystick(), XboxController.BACK_BUTTON)