Package | Description |
---|---|
frc.team670.robot.dataCollection | |
frc.team670.robot.utils.math |
Modifier and Type | Method and Description |
---|---|
Rotation |
MustangSensors.getRotationAngle()
Gets the Rotation for the Pure Pursuit drive.
|
Modifier and Type | Method and Description |
---|---|
static Rotation |
Rotation.fromDegrees(double degrees) |
static Rotation |
Rotation.fromRadians(double radians) |
Rotation |
RigidTransform.getRotation() |
Rotation |
Rotation.inverse()
Calculates the inverse of this rotation matrix
Basically what when multiplied after this matrix will turn it into the identity matrix
In other words, it's the rotation matrix representing the angle that is the opposite of this angle
|
Rotation |
Rotation.normal()
Calculates the Normal or perpendicular rotation matrix to the angle of this rotation matrix
Example: If this represents a rotation matrix of 0 degrees, normal will return a rotation matrix for 90 degrees
|
Rotation |
Rotation.rotate(Rotation other)
Rotates this rotation matrix by a specified angle
|
Modifier and Type | Method and Description |
---|---|
Translation |
Translation.rotate(Rotation rotation)
Rotate a translation vector.
|
Rotation |
Rotation.rotate(Rotation other)
Rotates this rotation matrix by a specified angle
|
Constructor and Description |
---|
RigidTransform(Translation translation,
Rotation rotation) |