Class DifferentialDriveVoltageConstraint

java.lang.Object
edu.wpi.first.math.trajectory.constraint.DifferentialDriveVoltageConstraint
All Implemented Interfaces:
TrajectoryConstraint

public class DifferentialDriveVoltageConstraint
extends Object
implements TrajectoryConstraint
A class that enforces constraints on differential drive voltage expenditure based on the motor dynamics and the drive kinematics. Ensures that the acceleration of any wheel of the robot while following the trajectory is never higher than what can be achieved with the given maximum voltage.