mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Fix SysId log key for acceleration (#6196)
Also add to docs that logging acceleration and current is optional.
This commit is contained in:
@@ -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).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user