core / com.acmerobotics.roadrunner.drive / Kinematics / calculateMotorFeedforward

calculateMotorFeedforward

@JvmStatic fun calculateMotorFeedforward(velocities: List<Double>, accelerations: List<Double>, kV: Double, kA: Double, kStatic: Double): List<Double>

Computes the motor feedforwards (i.e., open loop powers) for the given set of coefficients.

@JvmStatic fun calculateMotorFeedforward(velocity: Double, acceleration: Double, kV: Double, kA: Double, kStatic: Double): Double

Computes the motor feedforward (i.e., open loop power) for the given set of coefficients.