wpilibsuite/allwpilib

Add LinearSystemLoop.atReference() function

Open

#4,098 opened on Mar 14, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (714 forks)auto 404
component: wpimatheffort: 1good first issuetype: fix

Repository metrics

Stars
 (1,281 stars)
PR merge metrics
 (PR metrics pending)

Description

LinearSystemLoop takes a vector of acceptable error values and also exposes a .getError() method.

These should be combined to create an atReference() function which returns whether the system is within the acceptable error range.

Discord discussion

Contributor guide