Skip to content

Commit 5ff4644

Browse files
committed
Configs from Comp
1 parent 48681f1 commit 5ff4644

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

src/main/java/frc/robot/config/FlywheelConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
package frc.robot.config;
22

33
public class FlywheelConfig {
4-
public static final double FLYWHEEL_RIGHT_SUPPLY_CURRENT_LIMIT = 70;
5-
public static final double FLYWHEEL_RIGHT_STATOR_CURRENT_LIMIT = 80;
4+
public static final double FLYWHEEL_RIGHT_SUPPLY_CURRENT_LIMIT = 50;
5+
public static final double FLYWHEEL_RIGHT_STATOR_CURRENT_LIMIT = 60;
66
public static final double FLYWHEEL_RIGHT_GEAR_RATIO = 1;
77

8-
public static final double FLYWHEEL_LEFT_SUPPLY_CURRENT_LIMIT = 70;
9-
public static final double FLYWHEEL_LEFT_STATOR_CURRENT_LIMIT = 80;
8+
public static final double FLYWHEEL_LEFT_SUPPLY_CURRENT_LIMIT = 50;
9+
public static final double FLYWHEEL_LEFT_STATOR_CURRENT_LIMIT = 60;
1010
public static final double FLYWHEEL_LEFT_GEAR_RATIO = 1;
1111

1212
// Set
1313
public static final double FLYWHEEL_RIGHT_MAX_CRUISE_VELOCITY = 3000;
1414
public static final double FLYWHEEL_RIGHT_TARGET_ACCELERATION = 500;
15-
public static final double FLYWHEEL_RIGHT_P = 10;
15+
public static final double FLYWHEEL_RIGHT_P = 0.5;
1616
public static final double FLYWHEEL_RIGHT_I = 0;
1717
public static final double FLYWHEEL_RIGHT_D = 0;
18-
public static final double FLYWHEEL_RIGHT_S = 0;
19-
public static final double FLYWHEEL_RIGHT_V = 0;
18+
public static final double FLYWHEEL_RIGHT_S = 0.18;
19+
public static final double FLYWHEEL_RIGHT_V = 0.115;
2020
public static final double FLYWHEEL_RIGHT_A = 0;
2121

2222
// Set
@@ -30,9 +30,9 @@ public class FlywheelConfig {
3030
public static final double FLYWHEEL_LEFT_A = 0;
3131

3232
// Set
33-
public static final double FLYWHEEL_HUB_SHOT_SPEED = 47;
33+
public static final double FLYWHEEL_HUB_SHOT_SPEED = 43;
3434
public static final double FLYWHEEL_TOWER_SHOT_SPEED = 65;
35-
public static final double FLYWHEEL_TRENCH_SHOT_SPEED = 65;
35+
public static final double FLYWHEEL_TRENCH_SHOT_SPEED = 67;
3636

3737
public static final double FLYWHEEL_OUTTAKE_SPEED = 0;
3838
public static final double FLYWHEEL_DEFAULT_SHOT_SPEED = 40;

src/main/java/frc/robot/config/HopperConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ public class HopperConfig {
88
// Set
99
public static final double HOPPER_MAX_CRUISE_VELOCITY = 500;
1010
public static final double HOPPER_TARGET_ACCELERATION = 500;
11-
public static final double HOPPER_P = 1.25;
11+
public static final double HOPPER_P = 1;
1212
public static final double HOPPER_I = 0;
1313
public static final double HOPPER_D = 0;
1414
public static final double HOPPER_S = 0;
1515
public static final double HOPPER_V = 0;
1616
public static final double HOPPER_A = 0;
1717

18-
public static final double SLOW_HOPPER_P = 1.25;
18+
public static final double SLOW_HOPPER_P = 0.5;
1919
public static final double SLOW_HOPPER_I = 0;
2020
public static final double SLOW_HOPPER_D = 0;
2121

2222
public static final double HOPPER_TOLERANCE = 0.2;
2323

2424
// Set
25-
public static final double HOPPER_EXTEND_ROTATION = 4.1;
26-
public static final double HOPPER_RETRACT_ROTATION = 0.1;
25+
public static final double HOPPER_EXTEND_ROTATION = -17;
26+
public static final double HOPPER_RETRACT_ROTATION = -0.1;
2727
public static final double HOPPER_RETRACT_FOR_NEUTRAL_MODE_ROTATION = 1.752;
2828
}

src/main/java/frc/robot/config/IntakeConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package frc.robot.config;
22

33
public class IntakeConfig {
4-
public static final double INTAKE_STATOR_CURRENT_LIMIT = 80;
5-
public static final double INTAKE_SUPPLY_CURRENT_LIMIT = 70;
4+
public static final double INTAKE_STATOR_CURRENT_LIMIT = 40;
5+
public static final double INTAKE_SUPPLY_CURRENT_LIMIT = 35;
66
public static final double INTAKE_GEAR_RATIO = 1;
77

88
// Set
9-
public static final double INTAKE_INTAKE_SPEED = 4;
9+
public static final double INTAKE_INTAKE_SPEED = 10;
1010

1111
public static final double INTAKE_OUTTAKE_SPEED = 4;
1212
public static final double INTAKE_SLOW_SPEED = 3;

src/main/java/frc/robot/config/KickerConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package frc.robot.config;
22

33
public class KickerConfig {
4-
public static final double KICKER_FRONT_STATOR_CURRENT_LIMIT = 80;
5-
public static final double KICKER_FRONT_SUPPLY_CURRENT_LIMIT = 70;
4+
public static final double KICKER_FRONT_STATOR_CURRENT_LIMIT = 60;
5+
public static final double KICKER_FRONT_SUPPLY_CURRENT_LIMIT = 50;
66
public static final double KICKER_FRONT_GEAR_RATIO = 3;
7-
public static final double KICKER_BACK_STATOR_CURRENT_LIMIT = 80;
8-
public static final double KICKER_BACK_SUPPLY_CURRENT_LIMIT = 70;
7+
public static final double KICKER_BACK_STATOR_CURRENT_LIMIT = 60;
8+
public static final double KICKER_BACK_SUPPLY_CURRENT_LIMIT = 50;
99
public static final double KICKER_BACK_GEAR_RATIO = 3;
1010

1111
// Set

0 commit comments

Comments
 (0)