Lab 4 Programming a Command Robot using the base FRC framework - MDHSRobotics/TeamWiki GitHub Wiki

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

#Lab 4 - Programming a Command Robot using the base FRC framework

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

###Steps

  1. Start eclpise

  2. Using the File menu, create a new Project: File/New/Project ... (do not use Java Project)

    New Eclipse project

  3. Select the Robot Java Project option of the WPILib Robot Java Development menu

    Robot Java Project

  4. Enter a name for your project. Java class names usually start with a capitalized first letter, e.g. MyRobot

    • use default option, should be command-based robot
    • click the Finish button

    Name Robot project

  5. Review created project

    • expand src folder in the package explorer on the left of the screen

    New Robot project