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:25
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
constexpr common_t< T1, T2 > max(const T1 x, const T2 y) noexcept
Compile-time pairwise maximum function.
Definition: max.hpp:35
Definition: AprilTagFieldLayout.h:22
Represents a minimum and maximum acceleration.
Definition: TrajectoryConstraint.h:37