wpilibsuite/allwpilib

Add function to get next position-velocity pair from ProfiledPIDController

Open

#5,236 建立於 2023年3月24日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C++ (714 fork)auto 404
component: wpimatheffort: 1good first issuetype: fix

倉庫指標

Star
 (1,281 star)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南