Class FeedForwardToVelocityProcessor

    • Constructor Detail

      • FeedForwardToVelocityProcessor

        public FeedForwardToVelocityProcessor​(double maxVelocity)
        Creates a new FeedForwardToVelocityProcessor that clears feed-forwards in the returned data.
        Parameters:
        maxVelocity - The maximum velocity of the robot.
      • FeedForwardToVelocityProcessor

        public FeedForwardToVelocityProcessor​(double maxVelocity,
                                              boolean clearFeedForwards)
        Creates a new FeedForwardToVelocityProcessor.
        Parameters:
        maxVelocity - The maximum velocity of the robot.
        clearFeedForwards - Whether to set the feed-forwards in the TankDriveData to empty OptionalDoubles. If true, the value will be cleared; if false, it will be passed through as-is.
      • FeedForwardToVelocityProcessor

        public FeedForwardToVelocityProcessor​(DoubleSupplier maxVelSupplier,
                                              boolean clearFeedForwards)
        Creates a new FeedForwardToVelocityProcessor.
        Parameters:
        maxVelSupplier - A supplier that supplies the maximum velocity of the robot.
        clearFeedForwards - Whether to set the feed-forwards in the TankDriveData to empty OptionalDoubles. If true, the value will be cleared; if false, it will be passed through as-is.