Class TankPath
java.lang.Object
org.wildstang.framework.subsystems.drive.TankPath
- All Implemented Interfaces:
Path
A path implementation which represents tank drive.
It contains 2 sets of trajectorys, one for each side of the drivebase.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLeft()Returns the left side Trajectory.getRight()Returns the right side Trajectory.voidsetLeft(Trajectory p_left) Sets the left side Trajectory.voidsetRight(Trajectory p_right) Sets the right side Trajectory.
-
Constructor Details
-
TankPath
public TankPath()
-
-
Method Details
-
getLeft
Returns the left side Trajectory.- Returns:
- Trajectory for left motors.
-
setLeft
Sets the left side Trajectory.- Parameters:
p_left- New Trajectory for left motors.
-
getRight
Returns the right side Trajectory.- Returns:
- Trajectory for right motors.
-
setRight
Sets the right side Trajectory.- Parameters:
p_right- New Trajectory for right motors.
-