[wpilib] Fix SysId log key for acceleration (#6196)

Also add to docs that logging acceleration and current is optional.
This commit is contained in:
Tyler Veness
2024-01-10 20:48:23 -08:00
committed by GitHub
parent 211c2a375c
commit ba9c21cf38
2 changed files with 14 additions and 2 deletions

View File

@@ -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).
*/