WestlakeLEARN
FTC · Java

FIRST Tech Challenge

FTC · Java

  • Git Workflow for FTC Teams
  • Debugging with Telemetry
  • Code Review for Robot Programmers
  • Competition Code Freeze and Recovery Workflow

Git Workflow for FTC Teams

Protect working code while students experiment.

Module 14: Team Workflow and Competition ReadinessTeam

In this lesson, you will:

  1. 01Use branches.
  2. 02Write behavior-focused commits.
  3. 03Know the deployed commit.

Concept narrative

Git is how the programming team experiments without losing the last working robot. It creates a history that can be reviewed, reverted, and trusted at events.

Robot mental model

A branch is a safe workspace. A commit is a named robot behavior change. A pull request is a chance for teammates to catch risk before the robot does.

Implementation walkthrough

Use short-lived feature branches, commit small behavior changes, pull before field testing, and tag or record the deployed commit before matches.

GitCommands.mdJava

git switch -c feat/arm-telemetry
git status
git add TeamCode/src/main/java
git commit -m "feat: add arm state telemetry"
git push

Common mistakes and debugging

If nobody knows what code is on the robot, debugging starts in a hole. If commits are huge, rollback is scary.

Practice

Make a branch, commit one telemetry improvement, and explain how to revert it.

Checkpoint

  • Branch names describe work.
  • Commit messages describe behavior.
  • Deployed commit is recorded.
  • The test record includes the setup, prediction, and observed result.
  • A teammate can repeat the check from the saved evidence without guessing.

Reflection check

Check your understanding before moving on.

Which result best demonstrates completion of “Git Workflow for FTC Teams”?

Why record the test setup, prediction, and observed result?

0 of 2 answered

References

Game Manual 0FTC community reference for programming, controls, and robot design.Pro GitOfficial Git book covering branches, commits, remotes, and recovery.

Finished reading?

Mark this lesson complete — “Debugging with Telemetry” is up next.

Build a Full Road Runner AutonomousDebugging with Telemetry