Package tagalong.measurements
Class AllianceTranslation2d
java.lang.Object
tagalong.measurements.AllianceTranslation2d
Alliance specific Translation2d wrapper class
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Translation2d
Blue and Red alliance specific 2-dimensional translationsfinal Translation2d
Blue and Red alliance specific 2-dimensional translations -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
blue
Blue and Red alliance specific 2-dimensional translations -
red
Blue and Red alliance specific 2-dimensional translations
-
-
Constructor Details
-
AllianceTranslation2d
- Parameters:
blue
- Blue 2d translationred
- Red 2d translation
-
-
Method Details
-
get
- Parameters:
isRed
- True if on red alliance- Returns:
- Specified alliance's Translation2d
-