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.
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.
To set up the repository on your local machine:
Clone the repository using Git:
https://github.com/CapitalRobotics/Janxs_Brain.git
Open the project in Android Studio, as it is built for the FTC SDK.
Connect your FTC robot controller device to your development machine.
We use a branching strategy to ensure smooth collaboration and protect the main branch from unintended changes. Here's how we manage the workflow:
Clone the Repository: Team members clone the main repository:
https://github.com/CapitalRobotics/Janxs_Brain.git
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
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.
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.