Record Class Navx.AngularVelocity3d
java.lang.Object
java.lang.Record
com.studica.frc.Navx.AngularVelocity3d
- Record Components:
x- about the X axisy- about the Y axisz- about the Z axis
- Enclosing class:
Navx
public static record Navx.AngularVelocity3d(org.wpilib.units.measure.AngularVelocity x, org.wpilib.units.measure.AngularVelocity y, org.wpilib.units.measure.AngularVelocity z)
extends Record
Angular velocity about each axis.
-
Constructor Summary
ConstructorsConstructorDescriptionAngularVelocity3d(org.wpilib.units.measure.AngularVelocity x, org.wpilib.units.measure.AngularVelocity y, org.wpilib.units.measure.AngularVelocity z) Creates an instance of aAngularVelocity3drecord class. -
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.final StringtoString()Returns a string representation of this record class.org.wpilib.units.measure.AngularVelocityx()Returns the value of thexrecord component.org.wpilib.units.measure.AngularVelocityy()Returns the value of theyrecord component.org.wpilib.units.measure.AngularVelocityz()Returns the value of thezrecord component.
-
Constructor Details
-
AngularVelocity3d
public AngularVelocity3d(org.wpilib.units.measure.AngularVelocity x, org.wpilib.units.measure.AngularVelocity y, org.wpilib.units.measure.AngularVelocity z) Creates an instance of aAngularVelocity3drecord class.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
x
-
y
-
z
-