File tree Expand file tree Collapse file tree
src/main/java/frc/robot/subsystems/groundintake Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package frc .robot .subsystems .groundintake ;
22
3+ import edu .wpi .first .units .Unit ;
34import edu .wpi .first .units .Units ;
45import edu .wpi .first .units .measure .Angle ;
6+ import edu .wpi .first .units .measure .Distance ;
7+ import edu .wpi .first .units .measure .Mass ;
58
69public class GroundIntakePivotConstants {
710 public static final Angle PIVOT_UP_POSITION = Units .Rotations .of (0.15869140625 );
@@ -10,4 +13,10 @@ public class GroundIntakePivotConstants {
1013 public static final double kP_PIVOT = 1 ;
1114 public static final double kI_PIVOT = 0 ;
1215 public static final double kD_PIVOT = 0 ;
16+ public static final double MOTOR_TO_PIVOT_GEARING = 21d /11 ;
17+ public static final Mass GROUND_INTAKE_WEIGHT = Units .Pounds .of (11.257 );
18+ public static final Distance GROUND_INTAKE_LENGTH = Units .Inches .of (13.751 );
19+
20+ public static final Angle MIN_PIVOT_ANGLE = Units .Degrees .of (0 ); // Down
21+ public static final Angle MAX_PIVOT_ANGLE = Units .Degrees .of (138.047 ); // Up
1322}
Original file line number Diff line number Diff line change 11package frc .robot .subsystems .groundintake ;
22
3- import edu .wpi .first .units .Unit ;
43import edu .wpi .first .units .Units ;
54import edu .wpi .first .units .measure .Angle ;
65import org .littletonrobotics .junction .AutoLog ;
You can’t perform that action at this time.
0 commit comments