|
FIRST Team #1977
|
|||||||
![]() |
SidebarMenuLogin |
Java ProgrammingFRC Java Programming HelpOur team has used java for our robot since 2010, when FIRST began to support it as an official language for its FRC competition, and many of the programmers use it for other programs as well. Why use Java?As stated above, it is officially supported by FIRST, meaning that there are libraries checked out by professionals from WPI, called WPILib. There are many advantages to using Java over the standard LabView, though. First, it is an actual typed language, not drag and drop, which is closer to what one would find in the real world. Also, there is little to no "low level" management in Java, which means that it will automatically take care of memory allocations, without you having to worry about it. Our team especially likes the organizational methods afforded by Java, as well as the fact that threads (to run multiple processes at once) are more easily implemented than in other languages.Helpful ResourcesOracleChief Delphi's Java Forums Installing Java for FRC1. Get a JDK:We recommend JDK 6, as we are not entirely sure how well JDK 7 works with FRC yet. It is available at Oracle2. Install NetBeans:Install version 7.0.1 or 7.1, available from NetBeans.org3. Install FRC PluginsIn NetBeans, go to Tools>Plugins, and select "Settings" on the window that pops up. Select "Add", and name the provider "FRC Java". The URL for this year should be available from FIRST on the WPI FIRST Forge page (WPILib |
Sidebar
About Us
|
![]() |
|||
|
Powered by Tiki Wiki CMS Groupware |
[ Execution time: 1.30 secs ] [ Memory usage: 12.93MB ] [ 37 database queries used in 0.0 secs ] [ Server load: 0.44 ]
|
|||||||