Skip to content

[allwpilib codex] Update GamepadChooserTest to camel_case #284

Description

@pjreiniger

Problem description

wpilibsuite/allwpilib#9041 (review)

With the wpilib bindings now generated as snake_case and enum values as CAPS_CASE, this example still calls setMode, Mode.Line, addOptions, and the other camelCase chooser/display methods in both autonomous constructors. Running the DSGamepadChooser example now raises AttributeError before the opmodes can be used; update these calls to the same names used by the converted tests (set_mode, Mode.LINE, add_options, etc.).

Operating System

Linux

Installed Python Packages


Reproducible example code


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions