withStaticFeedforward

fun withStaticFeedforward(ks: Double): MotorFactory

Add a static feedforward term to the motor. This is included in motor power calculatiosn regardless of motor mode (e.g. a motor with MotorControlModes.OPEN_LOOP with still calculate static feedforward). Used to deal with motor problems.