41 units::meters_per_second_squared_t minAcceleration{
47 units::meters_per_second_squared_t maxAcceleration{
63 units::meters_per_second_t velocity)
const = 0;
77 units::meters_per_second_t speed)
const = 0;
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Represents a 2D pose containing translational and rotational elements.
Definition: Pose2d.h:23
An interface for defining user-defined velocity and acceleration constraints while generating traject...
Definition: TrajectoryConstraint.h:22
TrajectoryConstraint & operator=(TrajectoryConstraint &&)=default
virtual units::meters_per_second_t MaxVelocity(const Pose2d &pose, units::curvature_t curvature, units::meters_per_second_t velocity) const =0
Returns the max velocity given the current pose and curvature.
TrajectoryConstraint(TrajectoryConstraint &&)=default
virtual MinMax MinMaxAcceleration(const Pose2d &pose, units::curvature_t curvature, units::meters_per_second_t speed) const =0
Returns the minimum and maximum allowable acceleration for the trajectory given pose,...
TrajectoryConstraint()=default
TrajectoryConstraint & operator=(const TrajectoryConstraint &)=default
virtual ~TrajectoryConstraint()=default
TrajectoryConstraint(const TrajectoryConstraint &)=default
Definition: AprilTagPoseEstimator.h:15
UnitTypeLhs() max(const UnitTypeLhs &lhs, const UnitTypeRhs &rhs)
Definition: base.h:3417
Represents a minimum and maximum acceleration.
Definition: TrajectoryConstraint.h:37