WestlakeLEARN
FTC / Java

First Tech Challenge

FTC / Java

01 · Java for FTC
  • OpMode Anatomy and Hello Robot
  • Variables, Math, and Decisions
  • Methods, Classes, and Robot Helpers
02 · FTC Hardware Essentials
  • Hardware Map and RobotHardware
  • Motors, Servos, and Sensors
  • IMU, Encoders, and Bulk Caching
03 · TeleOp and Mecanum
  • Robot-Centric Mecanum Drive
  • Field-Centric Driving
  • Driver Ergonomics and Safe TeleOp
04 · Subsystems and Commands
  • Subsystem Lifecycle
  • Enums and Finite State Machines
  • Command-Based OpModes
05 · From Timed Steps to Actions
  • Timed and Encoder Autonomous
  • Autonomous State Machines
  • Actions and Sequencing
06 · PID and Feedforward
  • PID Basics
  • Feedforward and PIDF
  • Dashboard Tuning Workflow
07 · Motion Profiling
  • Motion Profile Concepts
  • Implementing a Profiled Mechanism
  • Testing Profiles and Failure Modes
08 · OpenCV and AprilTags
  • VisionPortal Camera Setup
  • OpenCV Color and Region Processors
  • AprilTags and Field Pose
09 · Setup and Tuning
  • Road Runner 1.0 Install and Drive Class
  • Feedforward Tuning
  • Localization and Validation
10 · Trajectories, Actions, and MeepMeep
  • Action Builder and Trajectories
  • MeepMeep Preview
  • Full Road Runner Autonomous
11 · Git, Debugging, and Competition Readiness1/3
  • Git Workflow for FTC Teams
  • Telemetry-First Debugging
  • Competition Readiness Checklist
12 · Driver Control
  • Driver Control
13 · Autonomous Build
  • Simple Autonomous
14 · Debugging
  • Debugging with Telemetry

11 / Git, Debugging, and Competition Readiness

Git Workflow for FTC Teams

Use branches, commits, and pull requests without slowing the team down.

50 minTeamGit, Debugging, and Competition Readiness

You will

  1. 01Explain commits, branches, pull, push, and merge.
  2. 02Use branch names for features and fixes.
  3. 03Write commit messages that describe robot behavior changes.

Why Git Workflow for FTC Teams matters

This lesson is part of the team workflow layer, where code quality becomes a competition habit. The point is to make programming choices visible, reviewable, and recoverable when students are tired or under event pressure.

Starting point

Version control protects working robot code

FTC teams move fast under pressure. Git lets students try changes without losing the last known working version, and it creates a record of what changed before an event.

Small commits are easier to review

A commit like feat: add arm PID is more useful than changed stuff. Students should group related changes and explain the robot behavior they affected.

Build path

Practice the workflow in small loops: make a change, describe it, test it, record the result, and decide whether it is safe to keep. The lesson should produce a team artifact such as a checklist, branch, commit, tuning note, or debug log.

For this specific lesson, students should first restate the goal in robot terms, then identify the value or behavior they expect to observe, then run the smallest test that proves the idea. The lesson should feel like a guided lab: predict, run, observe, explain, and only then extend.

UsefulGitCommands.md · Markdown

git status
git switch -c feat/arm-pid
git add TeamCode/src/main/java/org/firstinspires/ftc/teamcode
git commit -m "feat: add profiled arm control"
git pull
git push

Debugging and failure modes

Workflow breaks when knowledge lives only in one student's head. If nobody knows what changed, what was tested, or what code is deployed, the robot becomes fragile. The lesson should make the next action obvious to another teammate.

Practice

Create a feature branch, make a small documentation or telemetry change, commit it with a meaningful message, and open it for review.

Checks

  • The branch name describes the work.
  • The commit message uses a clear type and behavior.
  • The team can return to the previous working commit if needed.

Check your understanding

Module check

What is the main value of branches?

0 of 1 answered

References

Game Manual 0Community FTC programming, control, and robot design reference.

Finished reading?

Mark this lesson complete.

You'll move on to “Telemetry-First Debugging” next.

Full Road Runner AutonomousTelemetry-First Debugging