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:
- Install Java
- Install Git (if not already on your computer) from here.
- See detailed instructions here.
- Install the Microsoft VSCode IDE software development environment using either of these methods:
- Manually
- Install Microsoft VSCode
- 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
- Install the Java Extension for VSCode using the extension manager (this will install a number of additional extensions)
- Automatically
- Follow the detailed instructions here
- Manually
- 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
- 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.
- Install the CTRE Phoenix Framework
- Make sure Microsoft Internet Explorer (yep) is installed on your computer
macOS:
- 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.
- Install Git (if not already on your computer) from here.
- See detailed instructions here.
- Install the macOS VSCode IDE software development environment using these instructions; make sure you are under the macOS tab.
Linux:
- Install Java
- Install Git (if not already on your computer) from here.
- Instructions may vary depending on your distro; if you use Ubuntu use this
- 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:
- Control Panel->Network and Internet->Network Sharing Center->Change Adapter Settings
- Right click the National Instruments USBLAN Adapter and select Properties
- Select Internet Protocol Version 4 and then press the Properties button
- Choose Obtain an IP address automatically and Obtain DNS server address automatically then press OK
- 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
- Choose the Settings (gear icon)
- Enter your Team Number
Last modified 5 years ago
Last modified on Aug 3, 2020, 2:25:00 PM