Class TrajectoryConstraint.MinMax

  • Enclosing interface:
    TrajectoryConstraint

    public static class TrajectoryConstraint.MinMax
    extends Object
    Represents a minimum and maximum acceleration.
    • Field Detail

      • minAccelerationMetersPerSecondSq

        public double minAccelerationMetersPerSecondSq
      • maxAccelerationMetersPerSecondSq

        public double maxAccelerationMetersPerSecondSq
    • Constructor Detail

      • MinMax

        public MinMax​(double minAccelerationMetersPerSecondSq,
                      double maxAccelerationMetersPerSecondSq)
        Constructs a MinMax.
        Parameters:
        minAccelerationMetersPerSecondSq - The minimum acceleration.
        maxAccelerationMetersPerSecondSq - The maximum acceleration.
      • MinMax

        public MinMax()
        Constructs a MinMax with default values.