DriveCurve
vectorlib::DriveCurve — fields, methods, parameters and return types.
pub trait DriveCurveA function applied to joystick input during driver control.
Implement this to make a custom curve, exactly like subclassing lemlib::DriveCurve.
Methods
Prop
Type
curve
fn curve(&mut self, input: f32) -> f32Process an input in [-127, 127] and return an output in [-127, 127].
Parameters
Prop
Type
Returns
f32