Examples
Repository of RobotPy example projects
Install / Use
/learn @robotpy/ExamplesREADME
RobotPy Example Code
NOTE: The main branch contains examples that work with the latest version
of RobotPy. While we don't change all that much every year, if you're looking
specifically for examples for older years, there are branches for different
years. If you are looking for examples that work with the current beta, there
will be a YEAR-beta branch containing those examples.
This repository contains lots of example code that can be used to learn more about creating robots using RobotPy. These examples are for core RobotPy/WPILib libraries. Examples specific to individual vendors can be found in their individual RobotPy repository under their 'examples' folder:
For RobotPy documentation, go to https://robotpy.readthedocs.io/
Contributions
WPILib (and the various vendors) have lots of examples that haven't been translated from C++/Java into Python yet. If there's an example that you found helpful for understanding how to write robot code, we'd love for you to take a shot at translating it into python and contributing to this repository!
Please check out our porting guide for a variety of guidelines for new examples.
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
337.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
