Class SwerveState

java.lang.Object
me.wobblyyyy.pathfinder.kinematics.ModuleState
me.wobblyyyy.pathfinder.kinematics.SwerveState

public class SwerveState
extends ModuleState
  • Field Summary

    Fields
    Modifier and Type Field Description
    private Angle turnAngle  
  • Constructor Summary

    Constructors
    Constructor Description
    SwerveState​(double power, Angle turnAngle)  
  • Method Summary

    Modifier and Type Method Description
    double getDegrees()  
    double getRadians()  
    Angle getTurnAngle()  

    Methods inherited from class me.wobblyyyy.pathfinder.kinematics.ModuleState

    getPower, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • turnAngle

      private final Angle turnAngle
  • Constructor Details

    • SwerveState

      public SwerveState​(double power, Angle turnAngle)
  • Method Details

    • getTurnAngle

      public Angle getTurnAngle()
    • getDegrees

      public double getDegrees()
    • getRadians

      public double getRadians()