Class AllianceTranslation2d

java.lang.Object
tagalong.measurements.AllianceTranslation2d

public class AllianceTranslation2d extends Object
Alliance specific Translation2d wrapper class
  • Field Details

    • blue

      public final Translation2d blue
      Blue and Red alliance specific 2-dimensional translations
    • red

      public final Translation2d red
      Blue and Red alliance specific 2-dimensional translations
  • Constructor Details

  • Method Details

    • get

      public Translation2d get(boolean isRed)
      Parameters:
      isRed - True if on red alliance
      Returns:
      Specified alliance's Translation2d