drive

public final static PadDrive drive(GamingController controller, Boolean isFieldOriented)

Creates a PadDrive command to control the robot's driving mechanism.

Return

A PadDrive command to control the robot's driving mechanism.

Parameters

controller

The gaming controller used to drive the robot.

isFieldOriented

Whether the driving should be field-oriented.