Power port

This commit is contained in:
Aarav Shah
2021-04-07 16:33:35 -06:00
parent 95eef717ea
commit 1ccc4a807c
4 changed files with 26 additions and 10 deletions
+9 -7
View File
@@ -4,10 +4,12 @@ Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
103,19,6600,1,
126.6,20.25,7000,1.5,
156.6,23,7500,1.5,
174,30,12000,1.5,
180,30,12000,1.3,
185.85,30,12000,1.3,
231,28.8,9500,1.8,
245,28.8,9500,1.8,
262,28.8,9500,1.8,
999,28.8,9500,1.8,
174,28,12000,1.5,
180,28,12000,1.3,
185.85,28,12000,1.3,
187,28.4,12000,1.3
200,28.4,12000,1.3
231,28.4,12000,1.8,
245,28.8,12000,1.8,
262,28.8,12000,1.8,
999,28.8,12000,1.8,
1 Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
4 103,19,6600,1,
5 126.6,20.25,7000,1.5,
6 156.6,23,7500,1.5,
7 174,30,12000,1.5, 174,28,12000,1.5,
8 180,30,12000,1.3, 180,28,12000,1.3,
9 185.85,30,12000,1.3, 185.85,28,12000,1.3,
10 231,28.8,9500,1.8, 187,28.4,12000,1.3
11 245,28.8,9500,1.8, 200,28.4,12000,1.3
12 262,28.8,9500,1.8, 231,28.4,12000,1.8,
13 999,28.8,9500,1.8, 245,28.8,12000,1.8,
14 262,28.8,12000,1.8,
15 999,28.8,12000,1.8,
@@ -47,3 +47,17 @@ HOLD
Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
0,16,6000,1,
65.9,16,6000,1,
103,19,6600,1,
126.6,20.25,7000,1.5,
156.6,23,7500,1.5,
174,28.5,13000,1.5,
180,28.5,13000,1.3,
185.85,28.5,13000,1.3,
190,28.5,13000,1.9
231,28.5,13000,1.8,
245,28.8,13000,1.8,
262,28.8,13000,1.8,
999,28.8,13000,1.8,
1 Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
47 174,28.5,13000,1.5,
48 180,28.5,13000,1.3,
49 185.85,28.5,13000,1.3,
50 190,28.5,13000,1.9
51 231,28.5,13000,1.8,
52 245,28.8,13000,1.8,
53 262,28.8,13000,1.8,
54 999,28.8,13000,1.8,
55
56
57
58
59
60
61
62
63
@@ -163,7 +163,7 @@ public class RobotContainer {
// runs the hood with joystick
m_robotShooterHood.setDefaultCommand(new RunHoodWithJoystick(m_robotShooterHood, getOperatorController()));
// moves the drum not
m_robotShooter.setDefaultCommand(new RunCommand(() -> m_robotShooter.runDrumShooter(0.2), m_robotShooter));
m_robotShooter.setDefaultCommand(new RunCommand(() -> m_robotShooter.runDrumShooterVelocityPID(12000), m_robotShooter));
// drives climber with input from triggers on the opperator controller
m_robotClimber.setDefaultCommand(new RunClimberWithTriggers(m_robotClimber, getDriverController()));
// drives the leveler with an axis input from the driver controller
@@ -233,7 +233,7 @@ public class RobotContainer {
//.whenPressed(new ShootFullGroup(m_robotShooter, m_robotShooterAim, m_robotShooterHood, m_robotStorage), false);
//.whenReleased(new ManageStorage(m_robotStorage, StorageMode.RESET));
//.whenReleased(new RunCommand(() -> m_robotLime.limeOff()));
.whenPressed(new RunCommand(() -> m_robotStorage.runStorage(0.5), m_robotStorage))
.whenPressed(new RunCommand(() -> m_robotStorage.runStorage(1.0), m_robotStorage))
.whenReleased(new InterruptSubystem(m_robotStorage));
// extends or retracts the extender
@@ -94,7 +94,7 @@ public class DriveWithJoystick extends CommandBase {
}
*/
m_drive.driveWithInput(moveOutput, steerOutput);
m_drive.driveWithInput(moveOutput, steerOutput * .8);
}
// Called once the command ends or is interrupted.