20template <
size_t NumModules>
25 units::meters_per_second_t maxSpeed);
29 units::meters_per_second_t velocity)
const override;
32 units::meters_per_second_t speed)
const override;
36 units::meters_per_second_t m_maxSpeed;
Represents a 2D pose containing translational and rotational elements.
Definition: Pose2d.h:23
A class that enforces constraints on the swerve drive kinematics.
Definition: SwerveDriveKinematicsConstraint.h:21
MinMax MinMaxAcceleration(const Pose2d &pose, units::curvature_t curvature, units::meters_per_second_t speed) const override
Returns the minimum and maximum allowable acceleration for the trajectory given pose,...
Definition: SwerveDriveKinematicsConstraint.inc:36
SwerveDriveKinematicsConstraint(const frc::SwerveDriveKinematics< NumModules > &kinematics, units::meters_per_second_t maxSpeed)
Definition: SwerveDriveKinematicsConstraint.inc:13
units::meters_per_second_t MaxVelocity(const Pose2d &pose, units::curvature_t curvature, units::meters_per_second_t velocity) const override
Returns the max velocity given the current pose and curvature.
Definition: SwerveDriveKinematicsConstraint.inc:20
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual module ...
Definition: SwerveDriveKinematics.h:56
An interface for defining user-defined velocity and acceleration constraints while generating traject...
Definition: TrajectoryConstraint.h:22
Definition: AprilTagPoseEstimator.h:15
Represents a minimum and maximum acceleration.
Definition: TrajectoryConstraint.h:37