|
Robot Core Documentation
|
Public Member Functions | |
| T | interpolate (T endValue, double t) |
An object should extend interpolatable if you wish to interpolate between a lower and upper bound, such as a robot position on the field between timesteps. This behavior can be linear or nonlinear.
| <T> | The class that is interpolatable. |
| T edu.wpi.first.math.interpolation.Interpolatable< T >.interpolate | ( | T | endValue, |
| double | t ) |
Return the interpolated value. This object is assumed to be the starting position, or lower bound.
| endValue | The upper bound, or end. |
| t | How far between the lower and upper bound we are. This should be bounded in [0, 1]. |