The Robotics Catalyst Foundation

Open Source

Publicly available resources to assist robotics teams.

Run to Position Axon

This is a Java class designed to combine an Axon Servo with its built in Analog Encoder, enabling precise run-to-position functionality similar to the built in functionality for DC motors. Key Features:

  • โœ… Supports position tracking using an encoder.
  • โœ… Calculates rollover to allow for >360ยฐ rotation.
  • โœ… Implements a proportional control loop for accurate movement.
  • โœ… Allows direction control and power adjustment.
    • Tracks total rotation and target rotation for precise servo positioning. Includes a logging function for easy telemetry.

Run to Position Axon

FTC Gamepad Wrapper

GamepadPair is a Java utility class designed for FTC robotics programming, providing an useful interface for handling multiple gamepads with features like: โœ… Button State Management โ€“ Detects button presses, holds, and releases with debounce filtering. โœ… Joystick & Trigger Support โ€“ Reads precise values from both joysticks and triggers. โœ… Debounce Handling โ€“ Customizable debounce times to prevent accidental double presses. โœ… LED Control โ€“ Changes LED colors on supported gamepads. โœ… Rumble Feedback โ€“ Supports short and long rumbles with custom effects.

FTC Gamepad Wrapper

AutoCorrection code for fll teams

PID Drive Logic is a specialized control algorithm for SPIKE Prime robots, providing high-precision navigation and path correction through the following features: โœ… Real-Time Path Correction โ€“ Utilizes Proportional (Kpโ€‹) control to eliminate drift and maintain perfectly straight lines. โœ… Precision Rotation โ€“ Implements dynamic deceleration as the robot approaches target headings to prevent overshooting. โœ… Linear Accuracy โ€“ Uses refined motor encoders to drive and turn in exact inches or degrees for consistent mission mapping. โœ… Environmental Consistency โ€“ Maintains uniform performance regardless of battery voltage fluctuations or mat friction variations.

AutoCorrection code for fll teams
Robotics Catalyst Foundation

A 501(c)(3) non-profit organization dedicated to advancing robotics and STEM education.

Support Our Mission

Your contribution helps us put robotics kits, mentorship, and competitions in the hands of students who need it most.

Donate

ยฉ2026 The Robotics Catalyst Foundation