From 31b588d961da0cf1adfae1b81d1b588e1e499621 Mon Sep 17 00:00:00 2001 From: Prateek Machiraju Date: Sun, 15 Dec 2019 17:34:18 -0500 Subject: [PATCH] Fix ArmFeedforward Javadocs (#2176) --- .../java/edu/wpi/first/wpilibj/controller/ArmFeedforward.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/controller/ArmFeedforward.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/controller/ArmFeedforward.java index 355b182885..33f9784a30 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/controller/ArmFeedforward.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/controller/ArmFeedforward.java @@ -49,6 +49,7 @@ public class ArmFeedforward { /** * Calculates the feedforward from the gains and setpoints. * + * @param positionRadians The position (angle) setpoint. * @param velocityRadPerSec The velocity setpoint. * @param accelRadPerSecSquared The acceleration setpoint. * @return The computed feedforward. @@ -64,7 +65,8 @@ public class ArmFeedforward { * Calculates the feedforward from the gains and velocity setpoint (acceleration is assumed to * be zero). * - * @param velocity The velocity setpoint. + * @param positionRadians The position (angle) setpoint. + * @param velocity The velocity setpoint. * @return The computed feedforward. */ public double calculate(double positionRadians, double velocity) {