Class DeadwheelWheelPositions

java.lang.Object
xbot.common.math.kinematics.DeadwheelWheelPositions
All Implemented Interfaces:
Interpolatable<DeadwheelWheelPositions>

public class DeadwheelWheelPositions extends Object implements Interpolatable<DeadwheelWheelPositions>
Represents the wheel positions for a differential drive drivetrain.
  • Field Details

    • leftMeters

      public double leftMeters
      Distance measured by the left side.
    • rightMeters

      public double rightMeters
      Distance measured by the right side.
    • frontMeters

      public double frontMeters
      Distance measured by the front side.
    • rearMeters

      public double rearMeters
      Distance measured by the left side.
  • Constructor Details

    • DeadwheelWheelPositions

      public DeadwheelWheelPositions(double leftMeters, double rightMeters, double frontMeters, double rearMeters)
      Constructs a DeadwheelWheelPositions.
      Parameters:
      leftMeters - Distance measured by the left side.
      rightMeters - Distance measured by the right side.
      frontMeters - Distance measured by the left side.
      rearMeters - Distance measured by the right side.
    • DeadwheelWheelPositions

      public DeadwheelWheelPositions(Distance left, Distance right, Distance front, Distance rear)
      Constructs a DeadwheelWheelPositions.
      Parameters:
      left - Distance measured by the left side.
      right - Distance measured by the right side.
      front - Distance measured by the front side.
      rear - Distance measured by the rear side.
  • Method Details