wpilibsuite/allwpilib
View on GitHubAdd function to get next position-velocity pair from ProfiledPIDController
Open
#5,236 opened on Mar 24, 2023
component: wpimatheffort: 1good first issuetype: fix
Repository metrics
- Stars
- (1,281 stars)
- PR merge metrics
- (PR metrics pending)
Description
Is your feature request related to a problem? Please describe. The feedforward calculate() overloads that take nextVelocity are more accurate for discrete systems. ProfiledPIDController doesn't provide a way to get it though.
Describe the solution you'd like Add a function that returns the next setpoint pair.