public static class LaunchFunction.Linear extends LaunchFunction
LaunchFunction.Bezier, LaunchFunction.Linear
Constructor and Description |
---|
Linear() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateDistance(int ticks)
Function to be implemented for calculating the distance at a given ticks timestamp.
|
getDistance, getEndVelocity, getMaximumVelocity, getMinimumVelocity, getStartVelocity, getTotalDistance, getTotalTime, setEndVelocity, setMaximumVelocity, setMinimumVelocity, setStartVelocity, setTotalDistance, setTotalTime, setVelocityRange, toString
protected double calculateDistance(int ticks)
LaunchFunction
calculateDistance
in class LaunchFunction
ticks
- timestamp, where 0 is the start and LaunchFunction.totalTime
is the endCopyright © 2019. All rights reserved.