CapitalRobotics / Janxs_Brain

This repository contains the core production code for FTC #14251, including autonomous, teleop, and utility functions used in both current and past seasons.
https://sites.google.com/mpsvt.org/capital-robotics/home
BSD 3-Clause Clear License
1 stars 0 forks source link
ftc ftc-teamcode

Capitol Robotics

FTC Team Code Master Repository

Welcome to our FTC (First Tech Challenge) Team's Code Master Repository! This repository contains the entire codebase for our robot, including autonomous, teleop, and hardware configuration code.

Table of Contents

About the Project

This repository contains all the code we are using to control our robot for the current FTC season. Our code is written in Java and organized into different modules for autonomous mode, teleop control, and hardware configuration.

Key Features

Installation

To set up the repository on your local machine:

  1. Clone the repository using Git:

    https://github.com/CapitalRobotics/Janxs_Brain.git
  2. Open the project in Android Studio, as it is built for the FTC SDK.

  3. Connect your FTC robot controller device to your development machine.

Usage

Branching Workflow

We use a branching strategy to ensure smooth collaboration and protect the main branch from unintended changes. Here's how we manage the workflow:

  1. Clone the Repository: Team members clone the main repository:

    https://github.com/CapitalRobotics/Janxs_Brain.git
  2. Create a Feature Branch: Instead of working directly on the main branch, create a new feature branch for your work:

    git checkout -b feature/your-feature-name
  3. Branch Protection: The main branch is protected, so no direct commits can be made. All changes must be merged via pull requests (PRs) after code review.

  4. Submit a Pull Request: Once your feature is complete, open a pull request to merge your feature branch into the main branch. Your code will go through a review process before being merged.

Contributing

  1. Clone the repository and create a feature branch.
  2. Commit your changes to the feature branch.
  3. Submit a pull request for review.
  4. Once approved, your changes will be merged into the main branch.