robotpy / robotpy/mostrobotpy

[allwpilib codex] Update GamepadChooserTest to camel_case

Open Beginner friendly
#284 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
27
Forks
29
Avg merge
4d 6h
Merged PRs (30d)
12

Description

### Problem description

https://github.com/wpilibsuite/allwpilib/pull/9041#pullrequestreview-4667957779

```
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

```text

```

### Reproducible example code

```text

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open GamepadChooserTest and the DSGamepadChooser example, then compare their chooser and display calls with the converted tests referenced in the issue. Update the remaining camelCase method calls and enum values in both autonomous constructors, and confirm the example no longer raises AttributeError when run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.