Class MecanumDriveMotorVoltages

java.lang.Object
edu.wpi.first.math.kinematics.MecanumDriveMotorVoltages

@Deprecated(since="2025", forRemoval=true) public class MecanumDriveMotorVoltages extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    double
    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

    Constructors
    Constructor
    Description
    Deprecated, 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

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • frontLeftVoltage

      public double frontLeftVoltage
      Deprecated, for removal: This API element is subject to removal in a future version.
      Voltage of the front left motor.
    • frontRightVoltage

      public double frontRightVoltage
      Deprecated, for removal: This API element is subject to removal in a future version.
      Voltage of the front right motor.
    • rearLeftVoltage

      public double rearLeftVoltage
      Deprecated, for removal: This API element is subject to removal in a future version.
      Voltage of the rear left motor.
    • rearRightVoltage

      public double rearRightVoltage
      Deprecated, for removal: This API element is subject to removal in a future version.
      Voltage of the rear right motor.
  • Constructor Details

    • 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

    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object