Class FeedforwardConstants

java.lang.Object
tagalong.controls.FeedforwardConstants

public class FeedforwardConstants extends Object
Wrapper class for FeedForward coefficients for generic reuse or conversion between multiple devices
  • Field Details

    • s

      public final double s
      FeedForward coefficient S or static in volts
    • g

      public final double g
      FeedForward coefficient G or gravity in volts
    • v

      public final double v
      FeedForward coefficient V or velocity in volts per unit of velocity
    • a

      public final double a
      FeedForward coefficient A or acceleration in volts per unit of acceleration
  • Constructor Details

    • FeedforwardConstants

      public FeedforwardConstants(double s, double g, double v, double a)
      Parameters:
      s - FeedForward coefficient S or static in volts
      g - FeedForward coefficient G or gravity in volts
      v - FeedForward coefficient V or velocity in volts per unit of velocity
      a - FeedForward coefficient A or acceleration in volts per unit of acceleration
  • Method Details