setDriveSpeeds

public void setDriveSpeeds(double forwardSpeed, double leftSpeed, double turnSpeed)

Sets the drive speeds for the swerve modules.

Parameters

forwardSpeed

The forward speed.

leftSpeed

The left speed.

turnSpeed

The turn speed.


public void setDriveSpeeds(double forwardSpeed, double leftSpeed, double turnSpeed, boolean isFieldOriented)

Sets the drive speeds for the swerve modules.

Parameters

forwardSpeed

The forward speed.

leftSpeed

The left speed.

turnSpeed

The turn speed.

isFieldOriented

Whether the robot is field oriented.