Class ExponentialProfile.ProfileTiming

java.lang.Object
edu.wpi.first.math.trajectory.ExponentialProfile.ProfileTiming
Enclosing class:
ExponentialProfile

public static class ExponentialProfile.ProfileTiming extends Object
Profile timing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
    Profile inflection time.
    final double
    Total profile time.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ProfileTiming(double inflectionTime, double totalTime)
    Constructs a ProfileTiming.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isFinished(double t)
    Decides if the profile is finished by time t.

    Methods inherited from class java.lang.Object

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

    • inflectionTime

      public final double inflectionTime
      Profile inflection time.
    • totalTime

      public final double totalTime
      Total profile time.
  • Constructor Details

    • ProfileTiming

      protected ProfileTiming(double inflectionTime, double totalTime)
      Constructs a ProfileTiming.
      Parameters:
      inflectionTime - Profile inflection time.
      totalTime - Total profile time.
  • Method Details

    • isFinished

      public boolean isFinished(double t)
      Decides if the profile is finished by time t.
      Parameters:
      t - The time since the beginning of the profile.
      Returns:
      if the profile is finished at time t.