wiki:ControlSystems/SoftwareTeam/Training/GettingStarted

Version 28 (modified by David Albert, 6 years ago) (diff)

--

Welcome to Software!

Gear Needed

To start developing robot software for team 2537 you will need the following

  • A laptop running Windows 7, 8, or 10 (you can do most things on a Mac/Linux machine but you won't be able to test your code, so you really need a Windows laptop).
  • To load your code onto a robot and test it:

Setup your laptop:

  1. Install Java
    • Install Java Development Kit (JDK) version 8 or 11 from either Zulu (recommended) or Oracle
    • Add an environment variable JAVA_HOME that points to the directory where you installed Java and add the bin sub-folder to your search path; see detailed instructions here.
  2. Install Git (if not already on your computer) from here
  3. Install Microsoft VSCode, required extensions, and the latest WPILib extension. Follow the detailed instructions here
  4. To use cameras, you need to install the National Instruments (NI) FRC 2017 Vision Development Module here. Choose the 'current user' version, login to your NI account (or create one), and then select the 2017 Vision Development Module (FRC) for download. Unzip and install the module; when you later run the driver station software, it will ask you to activate the module using the instructions provided on the DriverStationSetup setup page
  5. Install the National Instruments (NI) FRC 2018 Update Suite here. Detailed instructions are here. Note: you won't be able to activate the 2018 vision module until we receive the 2018 Kit of Parts in January (so use the 2017 module until then.
  6. Install the CTRE Phoenix Framework
  7. Make sure Microsoft Internet Explorer (yep) is installed on your computer and install the SilverLight extension

Write your first Java Program(s)

Java is one of the most popular programming languages and is the language used in most high schools because it is used for the AP Computer Science exam. Java is part of a family of very similar languages: C, C++, C#, Java and when you learn to program in one you can easily pick up the others. Team 2537 uses Java to program their robots and you can get started with Java here?

Write your first Robot program(s)

Once you have learned some basic Java, you're ready to start writing your first robot programs. All of the Java skills you learned are directly applicable to robot programming; if you haven't finished the first Java Programs above, you should do so now; otherwise, go here? to get started with Java for Robotics.

Next Steps

Now that you've had an introduction to the tools your team uses and to basic Java and robot programming, continue your training, diving deeper into Java on the software training page.