diff --git a/wpilibc/src/main/native/include/frc/sysid/SysIdRoutineLog.h b/wpilibc/src/main/native/include/frc/sysid/SysIdRoutineLog.h index 7f106bd173..117d120870 100644 --- a/wpilibc/src/main/native/include/frc/sysid/SysIdRoutineLog.h +++ b/wpilibc/src/main/native/include/frc/sysid/SysIdRoutineLog.h @@ -112,6 +112,8 @@ class SysIdRoutineLog { /** * Log the linear acceleration of the motor. * + * This is optional; SysId can perform an accurate fit without it. + * * @param acceleration The linear acceleration to record. * @return The motor log (for call chaining). */ @@ -122,6 +124,8 @@ class SysIdRoutineLog { /** * Log the angular acceleration of the motor. * + * This is optional; SysId can perform an accurate fit without it. + * * @param acceleration The angular acceleration to record. * @return The motor log (for call chaining). */ @@ -132,6 +136,8 @@ class SysIdRoutineLog { /** * Log the current applied to the motor. * + * This is optional; SysId can perform an accurate fit without it. + * * @param current The current to record. * @return The motor log (for call chaining). */ diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/sysid/SysIdRoutineLog.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/sysid/SysIdRoutineLog.java index 38bc46f400..dac100fac0 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/sysid/SysIdRoutineLog.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/sysid/SysIdRoutineLog.java @@ -163,12 +163,14 @@ public class SysIdRoutineLog { /** * Log the linear acceleration of the motor. * + *

This is optional; SysId can perform an accurate fit without it. + * * @param acceleration The linear acceleration to record. * @return The motor log (for call chaining). */ public MotorLog linearAcceleration(Measure>> acceleration) { return value( - "position", + "acceleration", acceleration.in(MetersPerSecond.per(Second)), MetersPerSecond.per(Second).name()); } @@ -176,12 +178,14 @@ public class SysIdRoutineLog { /** * Log the angular acceleration of the motor. * + *

This is optional; SysId can perform an accurate fit without it. + * * @param acceleration The angular acceleration to record. * @return The motor log (for call chaining). */ public MotorLog angularAcceleration(Measure>> acceleration) { return value( - "position", + "acceleration", acceleration.in(RotationsPerSecond.per(Second)), RotationsPerSecond.per(Second).name()); } @@ -189,6 +193,8 @@ public class SysIdRoutineLog { /** * Log the current applied to the motor. * + *

This is optional; SysId can perform an accurate fit without it. + * * @param current The current to record. * @return The motor log (for call chaining). */