
MARSLib Framework
A zero-allocation, physics-simulated FRC framework with deterministic AdvantageKit logging, 250Hz odometry, and shot-on-the-move kinematics.
Built on the FIRST® Core Values
Driven by MARSLib Values
Documentation Hub
Explore the framework conceptually or dig right into tutorials.
🚀 Zero to MARS
Start here! Configure Vendordeps, construct your first RobotContainer, and scaffold subsystems automatically with our VS Code extension.
🏗️ Core Architecture
Learn the IO Layer AdvantageKit abstraction pattern, thread-safe fault management, and strict zero-allocation loop rules.
🦾 Mechanism Abstraction
Implement RotaryMechanismIO and LinearMechanismIO to dramatically speed up standard mechanism development.
🎮 Control Theory
Dive into Shoot-on-the-Move (SOTM) math, EliteShooterMath, Feedforwards, and WPILib SysId tuning integration.
🖥️ Simulation & Telemetry
Configure Dyn4j 2D physics integration, AdvantageScope 3D field layouts, and automated GitHub log offloading.
🤖 AI Agents & Tooling
Install the MARSLib VS Code extension to access .agent skills, automate subsystem scaffolding, and run championship-grade logic audits.
📻 SysId Characterization
Automated system identification for calculating perfect feedforward constants passively during real matches.
🛡️ Fault Resilience
Discover the military-grade two-layer fault system, real-time driver alerts, and structural hardware fallbacks.
🔧 Troubleshooting
Is the CAN bus dropping out? Robot not driving? Compilation errors? Follow our mechanical issue triage wizards.
♿ Accessible by Design
Read our commitment to inclusive engineering. Learn how we use AI agents and Pa11y to enforce WCAG 2.1 AA DOM parity.
