debug

open fun debug(@NonNull motor: DcMotor, @NonNull name: String, @NonNull scopes: Array<Motor.Scope>)

Utility for debugging a motor and encoder on telemetry/logs for the desired scopes. This will log to all telemetry sources and log to the FlightRecorder.

Must be called periodically.

Parameters

motor

The motor to debug

name

The name to debug as

scopes

The motor properties to record and log. No passed scope parameters will log all scopes.


open fun debug(@NonNull motor: DcMotor, @NonNull name: String, onlyLog: Boolean, @NonNull scopes: Array<Motor.Scope>)

Utility for debugging a motor and encoder on telemetry/logs for the desired scopes.

Must be called periodically.

Parameters

motor

The motor to debug

name

The name to debug as

onlyLog

Whether to only record debug information to the FlightRecorder, not telemetry/live dash.

scopes

The motor properties to record and log. No passed scope parameters will log all scopes.