mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[cmd3] Add rising and falling edge trigger factories (#8366)
`Trigger.getAsBoolean()` behavior has been changed from passing through the underlying boolean supplier to returning the latest cached signal as determined by the most recent call to `poll()`. This allows rising and falling edge triggers to have a consistent return value over an entire polling cycle, rather than only being high for the _first_ check in a cycle. Closes #8309
This commit is contained in:
@@ -176,7 +176,7 @@ module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
|
||||
</module>
|
||||
<module name="LambdaParameterName">
|
||||
<property name="format"
|
||||
value="^(_?[a-zA-Z]|_?[a-z][a-zA-Z0-9]+)$" />
|
||||
value="^(_|_?[a-zA-Z]|_?[a-z][a-zA-Z0-9]+)$" />
|
||||
<message key="name.invalidPattern"
|
||||
value="Lambda parameter name ''{0}'' must match pattern ''{1}''." />
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user