ftclib

Provide a command-based framework for FTC robot code development.

4|4|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/ncssm-robotics/ftc-claude --skill ftclib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ftclib
Source: https://github.com/ncssm-robotics/ftc-claude/tree/main/plugins/ftclib/skills/ftclib
Command: npx skills add https://github.com/ncssm-robotics/ftc-claude --skill ftclib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FTCLib provides a ready-to-use command-based framework and utilities to streamline FTC robot software development, reducing boilerplate and maintenance.

Core Features & Use Cases

  • Command-based architecture with Subsystem patterns for modular robot code.
  • Enhanced input handling with GamepadEx and button bindings for rapid control mapping.
  • Pure Pursuit path following and vision pipelines for autonomous and perception tasks.
  • Real-world teleop and autonomous usage examples to illustrate integration.

Quick Start

Install FTCLib into your FTC project and start structuring code with Command-based subsystems.

Frequently Asked Questions about ftclib

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure FTC robot code using a command-based architecture?

FTCLib provides a command-based framework with subsystem patterns for modular FTC robot development, reducing boilerplate and maintenance. You organize robot code into independent subsystems and commands to separate control logic from hardware operations.

How do I map gamepad inputs for an FTC robot teleop routine?

You can map gamepad inputs for an FTC robot teleop routine using the GamepadEx enhanced input handling utility. It provides button bindings to rapidly configure control mappings and trigger commands without writing manual polling logic.

What is the best way to implement autonomous path following for FTC robots?

FTCLib implements autonomous path following for FTC robots using a Pure Pursuit algorithm. This allows your robot to navigate autonomous paths accurately by calculating continuous curvature trajectories during the autonomous period.

How do I add vision pipelines to an FTC robot project?

You add vision pipelines to an FTC robot project by integrating the vision utilities provided by FTCLib. These pipelines process camera input for perception tasks, enabling your robot to detect and react to game elements during autonomous or teleop.

Can I use command-based subsystems in an existing FTC project?

Yes, you can integrate command-based subsystems into an existing FTC project by adding FTCLib as a Gradle dependency. The framework provides a stable API and example implementations to accelerate adoption without requiring a full project rewrite.

Does command-based FTC robot programming work for both teleop and autonomous?

Command-based FTC robot programming works for both teleop and autonomous periods. FTCLib provides real-world usage examples illustrating how to bind commands for driver control and schedule autonomous sequences using the same subsystem architecture.