Skip to content

Add compatibility aliases, PlayStation controller presets, and FTC sample starters#6

Merged
elluveride merged 1 commit into
masterfrom
codex/improve-library-compatibility-and-add-samples
Feb 27, 2026
Merged

Add compatibility aliases, PlayStation controller presets, and FTC sample starters#6
elluveride merged 1 commit into
masterfrom
codex/improve-library-compatibility-and-add-samples

Conversation

@elluveride

Copy link
Copy Markdown
Collaborator

Motivation

  • Reduce friction for teams migrating from other command DSLs by adding alias methods and broader controller vocabularies.
  • Provide copy-ready sample hardware and autonomous templates to accelerate FTC onboarding and examples.

Description

  • Added compatibility aliases to AutoDsl.AutoBuilder (add, doInstant, waitFor, ifElse) and updated valleyLib-core tests to cover them in AutoDslTest.
  • Added PlayStation-style trigger aliases to CommandXboxLike (cross, circle, square, triangle, l1, r1) and a forDualShockLike(Gamepad) preset to CommandGamepad.
  • Introduced sample starter classes under valleyLib-ftc/src/main/java/com/vcs/valleylib/ftc/samples: SampleDriveHardware, SampleIntakeHardware, and SampleAutos with example PedroAutoDsl routines.
  • Updated README.md with a new "Compatibility and sample starters" section pointing to the new helpers and sample locations.

Testing

  • Ran the core unit tests for the auto DSL with AutoDslTest, and all assertions passed.
  • Built the project modules locally to verify compilation of the new FT C samples and core changes, and the build completed successfully.

Codex Task

@elluveride elluveride added the codex ChatGPT made this label Feb 27, 2026 — with ChatGPT Codex Connector
@elluveride elluveride merged commit c2698db into master Feb 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex ChatGPT made this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant