DifferentialDriveKinematicsConstraint
- class wpimath.trajectory.constraint.DifferentialDriveKinematicsConstraint(kinematics: wpimath.kinematics._kinematics.DifferentialDriveKinematics, maxSpeed: meters_per_second)
Bases:
TrajectoryConstraint
A class that enforces constraints on the differential drive kinematics. This can be used to ensure that the trajectory is constructed so that the commanded velocities for both sides of the drivetrain stay below a certain limit.
- static fromFps(kinematics: wpimath.kinematics._kinematics.DifferentialDriveKinematics, maxSpeed: feet_per_second) wpimath._controls._controls.constraint.DifferentialDriveKinematicsConstraint
- maxVelocity(pose: wpimath.geometry._geometry.Pose2d, curvature: radians_per_meter, velocity: meters_per_second) meters_per_second
- minMaxAcceleration(pose: wpimath.geometry._geometry.Pose2d, curvature: radians_per_meter, speed: meters_per_second) wpimath._controls._controls.constraint.TrajectoryConstraint.MinMax