Files
learning-garden/sources/2890/mothman-robot-code.md

1.5 KiB

type, id, title, domain, status, access, sourceType, repo, url, language, description, tags, growth
type id title domain status access sourceType repo url language description tags growth
source source.team2890-mothman Mothman — Team 2890 Robot Code robotics active gitea-api-token gitea-repo Team2890/Mothman https://gitea.hawkcollective2890.com/Team2890/Mothman Java 2026 FRC robot code — swerve drive, PathPlanner autonomous, PhotonVision
frc
2890
java
swerve
autonomous
pathplanner
photonvision
yagsl
tree

Team 2890 — Mothman Robot Code

Repo: https://gitea.hawkcollective2890.com/Team2890/Mothman Language: Java (WPILib 2026) Season: 2026 REBUILT


What's Here

Subsystems

  • SwerveSubsystem — YAGSL swerve drive with field-relative control
  • Vision — AprilTag detection via PhotonVision, pose estimation
  • ClimberSubsystem — Climber mechanism
  • IntakeSubsystem — Game piece intake
  • ShooterSubsystem — Scoring shooter
  • TargetingSubsystems — Aim assist

Commands

  • AbsoluteDriveAdv — Advanced field-relative swerve drive
  • AutoBalanceCommand — Auto leveling on charge station
  • PathPlanner autonomous routines

Config

  • Swerve module JSON configs (NEO motors)
  • PathPlanner paths + autos
  • Vendor dependencies (Phoenix 5/6, REV, PathPlanner, PhotonVision)

For Training

This codebase demonstrates real FRC programming patterns:

  • Command-based architecture
  • Swerve drive implementation
  • Autonomous path planning
  • Vision processing integration

C++ note: Patterns are identical. Syntax differs but logic is the same.