setTeleOpMovementVectors

public void setTeleOpMovementVectors(double forwardDrive, double lateralDrive, double heading)

This sets the teleop drive vectors. This defaults to robot centric.

Parameters

forwardDrive

determines the forward drive vector for the robot in teleop. In field centric movement, this is the x-axis.

lateralDrive

determines the lateral drive vector for the robot in teleop. In field centric movement, this is the y-axis.

heading

determines the heading vector for the robot in teleop.


public void setTeleOpMovementVectors(double forwardDrive, double lateralDrive, double heading, boolean robotCentric)

This sets the teleop drive vectors.

Parameters

forwardDrive

determines the forward drive vector for the robot in teleop. In field centric movement, this is the x-axis.

lateralDrive

determines the lateral drive vector for the robot in teleop. In field centric movement, this is the y-axis.

heading

determines the heading vector for the robot in teleop.

robotCentric

sets if the movement will be field or robot centric