My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
InstallingPluginsAndCode  
Updated Nov 3, 2010 by James.Gosling

Installing the FRC plugins and getting the team's code:

First, you need a copy of NetBeans installed with the FRC plugins.

  1. If you don’t have NetBeans installed, go to http://netbeans.org/downloads and click on the leftmost download button
  2. Once it’s installed, start NetBeans
  3. Select the "Tools/Plugins…” menu and click on the “Settings” tab in the dialog that appears
  4. Click “Add”
  5. in “Name” enter “First” and in “URL” enter "http://first.wpi.edu/FRC/java/netbeans/update/updates.xml”; click “OK”
  6. Go to the “Available Plugins” tab and check all 5 of the plugins in the “FRC Java” Category; then click on install.
  7. It’ll ask you to accept a license: do so.
  8. You’ll get a “The following plugins are not signed” message. Click “Continue”
  9. In the next pane, “Restart IDE now” should be selected. Click on “Finish"

Now that you’ve got the tool setup, you can get the teams software

  1. Using a web browser, go to http://code.google.com/p/team751robotcode/
  2. Click the “Sign In” link in the upper right hand corner
  3. Enter your google account id and password
  4. Once you’re signed in, click on the “Source” link
  5. Then click on the “googlecode.com password” link and leave this page up.
  6. Go back to NetBeans and select the “Team” menu at the top, then the “Subversion” menu inside that, and finally “Checkout…” inside that. A big dialog box titled “Checkout” will appear.
  7. In the “Repository URL” field, enter "https://team751robotcode.googlecode.com/svn/trunk/
  8. In the “User” and “Password” fields enter the google code user and password information from the web page you browsed to.
  9. Check the “Save Username and Password” box.
  10. Click the “Next” button.
  11. On the next page, in the “Repository Folder(s)” field insert “Team751playground”
  12. Click the “Finish” button
  13. When it asks “ Team751playground project was checked out, do you want to open the project” click “Open Project"

You should now find the Team751playground project in your Projects list.

Now that you have the robot software installed, you can explore it (it’s in the src/edu.wpi.first.wpilibj.templates folder). This is the code from last years robot. It’s mostly the template from First, but last years students did some editing. An easy interesting file to read is RobotDrivePlus.java. This code had some pieces that used the camera to do image analysis, although last years robot didn’t use any of it: Target.java makes interesting reading. For an overview of what it does, the main body is in RobotTTest1.java

Powered by Google Project Hosting