set Tele Op Movement Vectors
This sets the teleop drive vectors. This defaults to robot centric.
Parameters
forward Drive
determines the forward drive vector for the robot in teleop. In field centric movement, this is the x-axis.
lateral Drive
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
forward Drive
determines the forward drive vector for the robot in teleop. In field centric movement, this is the x-axis.
lateral Drive
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.
robot Centric
sets if the movement will be field or robot centric