*
* @return Whether Y coordinate is in the upper half (left side on blue alliance)
*/
- public static boolean isOnLeftSideOfField(Translation2d drivepose){
+ public static boolean isOnLeftSideOfField(Translation2d drivepose) {
return drivepose.getY() > FIELD_WIDTH/2;
}
--- /dev/null
+package frc.robot.util.BrownOut;
+
+public class BrownOutLevel {
+ // in percentage values (0.0-1.0)
+ double shooterCurrent;
+ double hoodCurrent;
+ double spindexerCurrent;
+ double intakeCurrent;
+ double drivetrainCurrent;
+
+ public BrownOutLevel() {
+
+ }
+}
+