FRC Team Ninjas#4744's robot code for the 2025 FRC game REEFSCAPE (Offseason Edition).
- auto drive – Autonomous routines in teleop, including auto-driving to the closest side of the reef and game piece output.
- statemachine – state machine system integrated with WPILib commands for easier and safer code design.
- constants – General constants for drivetrain, mechanisms, and sensors.
- subsystems – Each subsystem has its IO according to AdvantageKit usage.
- NinjasLib – Our custom library providing reusable FRC utilities, math helpers, hardware abstractions, swerve and vision.
- State Machine + WPILib Commands – Combines the predictability of finite state machines with the flexibility of command-based programming.
- AdvantageKit Logging – Robust data logging for debugging and performance analysis.
- Robot Physics Simulation – Realistic simulation of drivetrain and mechanisms for testing without hardware.
- Automated Driving – Automatic navigation to the reef and controlled scoring/output sequences.
- NinjasLib – Internal utility framework used across multiple Ninjas robots.
- Clone this repo
- Build:
./gradlew build
- Deploy on robot:
./gradlew deploy
- Simulate on PC:
./gradlew simulateJavaRelease
- Visual Studio Code (Official WPILib IDE)
- Jetbrains IntelliJ IDEA
- AdvantageScope for debugging
- Elastic for real-time data during games
- Pathplanner for planning autos