public class Path implements CSVWritable
Constructor and Description |
---|
Path(java.util.List<org.team5419.fault.math.geometry.Pose2dWithCurvature> points,
java.util.List<java.lang.Double> velocities,
boolean reversed) |
Path(Path other) |
Modifier and Type | Method and Description |
---|---|
int |
findClosestPointIndex(Pose2d point,
int lastIndex) |
Pose2dWithCurvature |
getEndPose() |
double |
getEndVelocity() |
int |
getPathLength() |
Pose2dWithCurvature |
getPose(int index) |
boolean |
getReversed() |
Pose2dWithCurvature |
getStartPose() |
double |
getStartVelocity() |
double |
getVelocity(int index) |
java.lang.String |
toCSV() |
java.lang.String |
toString() |
toCSV
public Path(java.util.List<org.team5419.fault.math.geometry.Pose2dWithCurvature> points, java.util.List<java.lang.Double> velocities, boolean reversed)
public Path(Path other)
public int getPathLength()
public boolean getReversed()
public Pose2dWithCurvature getStartPose()
public Pose2dWithCurvature getEndPose()
public double getStartVelocity()
public double getEndVelocity()
public Pose2dWithCurvature getPose(int index)
public double getVelocity(int index)
public int findClosestPointIndex(Pose2d point, int lastIndex)
public java.lang.String toString()
public java.lang.String toCSV()