mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[docs] Fix docs for SysID routine (#6164)
This commit is contained in:
@@ -151,10 +151,11 @@ public class SysIdRoutine extends SysIdRoutineLog {
|
||||
*
|
||||
* @param drive Sends the SysId-specified drive signal to the mechanism motors during test
|
||||
* routines.
|
||||
* @param log Returns measured data (voltages, positions, velocities) of the mechanism motors
|
||||
* during test routines. To return data, call `recordFrame` on the supplied
|
||||
* `SysIdRoutineLog` instance. Multiple motors can return data within a single `log`
|
||||
* callback by calling `recordFrame` multiple times.
|
||||
* @param log Returns measured data of the mechanism motors during test routines. To return
|
||||
* data, call `motor(string motorName)` on the supplied `SysIdRoutineLog` instance, and then
|
||||
* call one or more of the chainable logging handles (e.g. `voltage`) on the returned
|
||||
* `MotorLog`. Multiple motors can be logged in a single callback by calling `motor`
|
||||
* multiple times.
|
||||
* @param subsystem The subsystem containing the motor(s) that is (or are) being characterized.
|
||||
* Will be declared as a requirement for the returned test commands.
|
||||
* @param name The name of the mechanism being tested. Will be appended to the log entry title
|
||||
@@ -178,10 +179,11 @@ public class SysIdRoutine extends SysIdRoutineLog {
|
||||
*
|
||||
* @param drive Sends the SysId-specified drive signal to the mechanism motors during test
|
||||
* routines.
|
||||
* @param log Returns measured data (voltages, positions, velocities) of the mechanism motors
|
||||
* during test routines. To return data, call `recordFrame` on the supplied
|
||||
* `SysIdRoutineLog` instance. Multiple motors can return data within a single `log`
|
||||
* callback by calling `recordFrame` multiple times.
|
||||
* @param log Returns measured data of the mechanism motors during test routines. To return
|
||||
* data, call `motor(string motorName)` on the supplied `SysIdRoutineLog` instance, and then
|
||||
* call one or more of the chainable logging handles (e.g. `voltage`) on the returned
|
||||
* `MotorLog`. Multiple motors can be logged in a single callback by calling `motor`
|
||||
* multiple times.
|
||||
* @param subsystem The subsystem containing the motor(s) that is (or are) being characterized.
|
||||
* Will be declared as a requirement for the returned test commands. The subsystem's `name`
|
||||
* will be appended to the log entry title for the routine's test state, e.g.
|
||||
|
||||
Reference in New Issue
Block a user