Package edu.wpi.first.math.spline
Class PoseWithCurvature
- java.lang.Object
-
- edu.wpi.first.math.spline.PoseWithCurvature
-
public class PoseWithCurvature extends Object
Represents a pair of a pose and a curvature.
-
-
Field Summary
Fields Modifier and Type Field Description double
curvatureRadPerMeter
Pose2d
poseMeters
-
Constructor Summary
Constructors Constructor Description PoseWithCurvature()
Constructs a PoseWithCurvature with default values.PoseWithCurvature(Pose2d poseMeters, double curvatureRadPerMeter)
Constructs a PoseWithCurvature.
-
-
-
Field Detail
-
poseMeters
public Pose2d poseMeters
-
curvatureRadPerMeter
public double curvatureRadPerMeter
-
-
Constructor Detail
-
PoseWithCurvature
public PoseWithCurvature(Pose2d poseMeters, double curvatureRadPerMeter)
Constructs a PoseWithCurvature.- Parameters:
poseMeters
- The pose.curvatureRadPerMeter
- The curvature.
-
PoseWithCurvature
public PoseWithCurvature()
Constructs a PoseWithCurvature with default values.
-
-