Class FrcMatchInfo

java.lang.Object
frclib.driverio.FrcMatchInfo

public class FrcMatchInfo extends Object
  • Field Details

    • eventDate

      public final Date eventDate
    • eventName

      public final String eventName
    • matchType

      public final edu.wpi.first.wpilibj.DriverStation.MatchType matchType
    • matchNumber

      public final int matchNumber
    • replayNumber

      public final int replayNumber
    • alliance

      public final edu.wpi.first.wpilibj.DriverStation.Alliance alliance
    • location

      public final Integer location
    • gameSpecificMessage

      public final String gameSpecificMessage
  • Method Details

    • getMatchInfo

      public static FrcMatchInfo getMatchInfo()
      This method returns the FRC match info. If none exists, it will create the FrcMatchInfo object.
      Returns:
      match info.
    • toString

      public String toString()
      This method returns the string form of the match info.
      Overrides:
      toString in class Object
      Returns:
      match info string.