Skip to main content Link Menu Expand (external link) Document Search Copy Copied

DriveController(Chassis* chassis, int threshold)

Constructs a DriveController on the chassis with the given threshold.

Parameters

  • chassis - The chassis to drive the motors on
  • threshold - The joystick threshold

Example

DriveController dc = DriveController(&chassis, 20);