Lab 5 Creating a Robot using MaterBot - MDHSRobotics/TeamWiki GitHub Wiki

Home / References / [Introduction to Programming - Part 2](Introduction to Programming - Part 2)

#Lab 5 - Creating a Robot using MaterBot

###Objective In this lab, we will use the MaterBot project to create a Java command base robot.

###Steps

  1. Instructor Only Use the direction in the MaterBot project page to fork the project
  • follow the technique described in the duplicating a repository guide:

    • see the Cloning a Reporsitory guide and the [How to Git](How to Git) tutorial to make sure you have a cloned copy of the MaterBot project with the latest codebase
    • create a new Repository for the new project, see Creating a new Repository guide
    • in the local repository folder being duplicated, enter the git command to mirror the repository to the new repository

    git push --mirror https://github.com/MDHSRobotics/ToteBot2016.git


ALL

#####Prerequisite

  • Git client. See [How to Git](How to Git) tutorial for information on installing the Git client.
  1. Clone the ToteBot2016 project. See [How to Git](How To Git) tutorial.

    • Open a browser window to the ToteBot2016 Repository

    • Click on the clone button and copy the clone URL to the clipboard

    • Create a Repositories folder. This folder will be used to contain all of the cloned respositories

    • Open a command window to the Repositories folder

    • Enter the command to clone the repository

      git clone https://github.com/MDHSRobotics/ToteBot2016.git

  2. Import project into Eclipse

    • Start Eclipse
    • If prompted to select workspace, select the Repositories folder created above. You can use Switch Workspace option of the File menu to explicitly switch the workspace to the Repositories folder.
    • Select import from the file menu
      • select the Existing Projects into workspace