Record Class StdDevModel.StdDevs
java.lang.Object
java.lang.Record
frc.spectrumLib.localization.StdDevModel.StdDevs
- Record Components:
xyMeters- translation std-dev, metresthetaRadians- heading std-dev, radianstier- name of the confidence tier that chose these
- Enclosing interface:
StdDevModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thethetaRadiansrecord component.tier()Returns the value of thetierrecord component.final StringtoString()Returns a string representation of this record class.doublexyMeters()Returns the value of thexyMetersrecord component.
-
Constructor Details
-
StdDevs
Creates an instance of aStdDevsrecord class.- Parameters:
xyMeters- the value for thexyMetersrecord componentthetaRadians- the value for thethetaRadiansrecord componenttier- the value for thetierrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
xyMeters
-
thetaRadians
public double thetaRadians()Returns the value of thethetaRadiansrecord component.- Returns:
- the value of the
thetaRadiansrecord component
-
tier
-