Setting Up Git

What is git?

Git is kind of like a google doc for code. It allows multiple people to make changes to our competition code and keeps track of changes (which is nice when there’s a bug

Download git

https://git-scm.com/downloads

If you are using windows download git bash as well: https://git-for-windows.github.io/

Connecting to github

You’ll need to follow the steps in these links to push your code to the KwarQs repo:

https://help.github.com/articles/checking-for-existing-ssh-keys/

https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/

https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

Finally, go to our organization’s github page and clone this year’s repo to your computer: https://github.com/frc2423

Download the Java SDK

You must have the Java SDK installed to use eclipse. Download it here. Choose the appropriate link under Java SE Development Kit 8 Downloads.

Download Eclipse and Python

Follow this guide to download the latest version of Eclipse and Python: http://www.mysamplecode.com/2012/10/python-tutorial-eclipse-pydev-plugin.html

This guide also takes you through setting up a Python project in Eclipse. When you get to step 3, you can access the Eclipse update manager in the menu under Help > Install New Software….

Opening a file in the file manager or terminal/command line

Follow the instructions to download the StartExplorer eclipse plugin.

Download Robot Python Packages

After setting up Python types these commands inside the terminal/command prompt to get the Python packages required to write and deploy robot code:

$ pip3 install pyfrc
$ pip3 install robotpy-ctre

Bug fixes and other updates will be made to these packages, so at times you’ll need to upgrade them:

$ pip3 install pyfrc --upgrade
$ pip3 install robotpy-ctre --upgrade