Package com.thunder.lib.trajectory
Class ThunderTrajectoryRunnerProperties.DriveControllerInputData
java.lang.Object
com.thunder.lib.trajectory.ThunderTrajectoryRunnerProperties.DriveControllerInputData
- Enclosing class:
- ThunderTrajectoryRunnerProperties
Class containing
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Pose2dThe current robot pose.final CanonicalAngleThe (alliance-adjusted) target heading.final doubleThe target linear velocity in meters per second.final Pose2dThe (alliance-adjusted) target pose. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DriveControllerInputData.DriveControllerInputData(Pose2d currentPose, Pose2d targetPose, CanonicalAngle heading, double linearVelocityMetersPerSecond) Constructor for DiagnosticSpeedData. -
Method Summary
-
Field Details
-
currentPose
The current robot pose. -
targetPose
The (alliance-adjusted) target pose. -
heading
The (alliance-adjusted) target heading. -
linearVelocityMetersPerSecond
public final double linearVelocityMetersPerSecondThe target linear velocity in meters per second.
-
-
Constructor Details
-
DriveControllerInputData
public DriveControllerInputData(Pose2d currentPose, Pose2d targetPose, CanonicalAngle heading, double linearVelocityMetersPerSecond) Constructor for DiagnosticSpeedData.- Parameters:
currentPose- The current robot pose.targetPose- The (alliance-adjusted) target pose.heading- The (alliance-adjusted) target heading.linearVelocityMetersPerSecond- The target linear velocity in meters per second.
-
DriveControllerInputData
public DriveControllerInputData()Default constructor for DriveControllerInputData.
-