Skip to content

Rising/Falling edge detection is in the SDK now #462

@abidingabi

Description

@abidingabi

As of FTC SDK version 10.3, there are methods on gamepad which return if a given button is on the rising or falling edge of activation. We should advise using those instead of the logic provided on the gamepad page. I think showing the logic is still useful, but I do not think we should recommend using it.

See FIRST-Tech-Challenge/FtcRobotController#1503, with “Added support for gamepad edge detection.” in the changelog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementAdd information that isn't already present in an article

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions