Package edu.wpi.first.math.kinematics
Class MecanumDriveMotorVoltages
java.lang.Object
edu.wpi.first.math.kinematics.MecanumDriveMotorVoltages
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the motor voltages for a mecanum drive drivetrain.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the front left motor.double
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the front right motor.double
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the rear left motor.double
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the rear right motor. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Constructs a MecanumDriveMotorVoltages with zeros for all member fields.MecanumDriveMotorVoltages
(double frontLeftVoltage, double frontRightVoltage, double rearLeftVoltage, double rearRightVoltage) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a MecanumDriveMotorVoltages. -
Method Summary
-
Field Details
-
frontLeftVoltage
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the front left motor. -
frontRightVoltage
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the front right motor. -
rearLeftVoltage
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the rear left motor. -
rearRightVoltage
Deprecated, for removal: This API element is subject to removal in a future version.Voltage of the rear right motor.
-
-
Constructor Details
-
MecanumDriveMotorVoltages
public MecanumDriveMotorVoltages()Deprecated, for removal: This API element is subject to removal in a future version.Constructs a MecanumDriveMotorVoltages with zeros for all member fields. -
MecanumDriveMotorVoltages
public MecanumDriveMotorVoltages(double frontLeftVoltage, double frontRightVoltage, double rearLeftVoltage, double rearRightVoltage) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a MecanumDriveMotorVoltages.- Parameters:
frontLeftVoltage
- Voltage of the front left motor.frontRightVoltage
- Voltage of the front right motor.rearLeftVoltage
- Voltage of the rear left motor.rearRightVoltage
- Voltage of the rear right motor.
-
-
Method Details