wiki:ControlSystems/SoftwareTeam/Training/GettingStarted/LaptopSetup

Setup your laptop

Note: although you can do Java development using any laptop (Windows, Mac, Linux), you can only run java robot software using a Windows laptop (the FRC driver station doesn't run on Mac or Linux), so for 2537 development, you should plan to do your work using a computer running MS Windows (either your own or the team's laptops if possible). Otherwise, if you don't have access to a Windows, make sure you are following the proper steps for your specific laptop.

Windows:

  1. Install Java
    • Install Java Development Kit (JDK) version 11 from either Zulu (recommended) or Oracle for Windows
    • 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.
    • See detailed instructions here.
  3. Install the Microsoft VSCode IDE software development environment using either of these methods:
    1. Manually
      1. Install Microsoft VSCode
      2. Install the latest WPILib Extension for VSCode using the VSCode extension manager (search for WPILib). You can also install manually by downloading the latest non-beta version from non-beta version here
      3. Install the Java Extension for VSCode using the extension manager (this will install a number of additional extensions)
    2. Automatically
      1. Follow the detailed instructions here
  4. To use cameras, you need to install the National Instruments (NI) FRC Vision Development Module here. Choose the 'current user' version, login to your NI account (or create one), and then select the 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 latest National Instruments (NI) FRC Update Suite here. Detailed instructions are here. Note: to activate the vision module you will need the current team serial number which you can get from a mentor.
  6. Install the CTRE Phoenix Framework
  7. Make sure Microsoft Internet Explorer (yep) is installed on your computer

macOS:

  1. Install Java
    • Install Java Development Kit (JDK) version 11 from either Zulu (recommended) or Oracle for macOS
    • 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; to do it, open up Terminal and type the following.
  2. Install Git (if not already on your computer) from here.
    • See detailed instructions here.
  3. Install the macOS VSCode IDE software development environment using these instructions; make sure you are under the macOS tab.

Linux:

  1. Install Java
    • Install Java Development Kit (JDK) version 11 from either Zulu (recommended) or Oracle for Linux
    • 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.
    • Instructions may vary depending on your distro; if you use Ubuntu use this
  3. Install the Linux VSCode IDE software development environment using these instructions; make sure you are under the Linux tab.

Notes

  • When using USB to connect to the RoboRIO (handy because you can keep your computer online while developing), you may need to edit the properties of the virtual Ethernet network adapter that is created:
    1. Control Panel->Network and Internet->Network Sharing Center->Change Adapter Settings
    2. Right click the National Instruments USBLAN Adapter and select Properties
    3. Select Internet Protocol Version 4 and then press the Properties button
    4. Choose Obtain an IP address automatically and Obtain DNS server address automatically then press OK
    5. After the changes are made you may need to unplug and replug the USB connection
  • When you first launch the driver station, remember to set your team number
    1. Choose the Settings (gear icon)
    2. Enter your Team Number
Last modified 10 months ago Last modified on Aug 3, 2020, 2:25:00 PM