Package frc.robot.util
Class Util
java.lang.Object
frc.robot.util.Util
General utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if the alliance is red, defaults to false if alliance isn't available.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
isRedAlliance
public static boolean isRedAlliance()Checks if the alliance is red, defaults to false if alliance isn't available.- Returns:
- true if the red alliance, false if blue. Defaults to false if none is available.
-