Set Up for This Course

Download VEX Code Pro V5

VEX code Pro V5 is the IDE we will use for code development.  It is available at no charge from vexrobotics.

Go to the V5 download page and find the correct version for you type of computer, make sure it is vex code Pro.

Git Hub

We will use git hub to share code and review assignments.  If you do not have one you will need to set up an account at github.com.  We also like to use the graphical interface gitHub Desktop, download that also.

Once you have an account you will be invited to our repository of code.  make sure you are using an e-mail you can access from anywhere as you will need to accept the invite in your email.

As a student in this course you will be given access to this repository: https://github.com/7700VRC/AdvancedLessons

Bring Your Own Laptop is best, but if you cannot let us know and we can provide one for you.

Using Github and Github Desktop

For most of our work we will be using github as a single user repository, meaning that only one team member at a time will be working on the code. github allows us to store our code remotely in a “repository”. You can think of it as just a file with your code but stored in the cloud, this way you can pick up any laptop anywhere and access your code.

We will use github.com and the app github dektop. It is important that each time you work on code the first thing you do is fetch and pull the latest version of your code from github. After making changes to your code you must commit and push your code back to the repository.

If you follow this process each time you work on code then all will be in synch and we will consider the github repository as the source of truth. Meaning that the code on git hub is the most current version and we can ignore any code that is on our laptops until we re-fetch from github.

Process for using Github

  1. First get logged in on github.com if you go to github.com and someone is already signed in sign out and then sign in with your account.

  2. Open github desktop You sign in by going to the top menu and clicking GithubDesktop/settings. see image:

    gitdesktoplogin.png

  3. After you login you will need to select the repository where your code is and click Fetch. If it gives you an error about local changes, remember github is the source of truth so we want to get rid of the local changes and replace with what is on github.

  4. Clone: if the repository does not exist on your laptop the first time you may have to “clone” it. In the top Left corner where it says Current Repository click the expand arrow, click ADD, select your repository and select clone. If the folder already exists, first go to that folder and move it to the trash, then repeat the “clone” process.