DrivetrainManualMode
abstract class DrivetrainManualMode<T : Drivetrain, R : DrivetrainRobot<T>>(params: DrivetrainManualMode.DrivetrainControlsParams = DrivetrainControlsParams(), manualParams: ManualMode.ManualParams = ManualParams()) : ManualMode<R>
A ManualMode that defines events for controlling a DrivetrainRobot.
Parameters
T
the type of drivetrain to control
R
the type of robot with drivetrain
params
the configuration object for manual control
manualParams
the configuration object for manual control
Inheritors
Constructors
Link copied to clipboard
constructor(params: DrivetrainManualMode.DrivetrainControlsParams = DrivetrainControlsParams(), manualParams: ManualMode.ManualParams = ManualParams())
Types
Link copied to clipboard
data class DrivetrainControlsParams(val minPower: Double = 0.05, val turnScale: Double = 0.9, val speedScale: Double = 0.4)
Configuration object for drivetrain control.