java.lang.Object
org.wildstang.framework.subsystems.drive.TankPath
All Implemented Interfaces:
Path

public class TankPath extends Object implements Path
A path implementation which represents tank drive. It contains 2 sets of trajectorys, one for each side of the drivebase.
  • Constructor Details

    • TankPath

      public TankPath()
  • Method Details

    • getLeft

      public Trajectory getLeft()
      Returns the left side Trajectory.
      Returns:
      Trajectory for left motors.
    • setLeft

      public void setLeft(Trajectory p_left)
      Sets the left side Trajectory.
      Parameters:
      p_left - New Trajectory for left motors.
    • getRight

      public Trajectory getRight()
      Returns the right side Trajectory.
      Returns:
      Trajectory for right motors.
    • setRight

      public void setRight(Trajectory p_right)
      Sets the right side Trajectory.
      Parameters:
      p_right - New Trajectory for right motors.