Our software is aimed to provide an intuitive set of controls for our drivers. We have accomplished this by making most of the systems on our robot semi-automated. Providing the driver with simplistic controls such as "aim", "shoot", and "pick up ball". these function control all of the pneumatics and motors are handled in software to allow the driver to think about driving, not how long he needs to spin the intake.
Intellij IDEA being our preferred development environment here are a few simple steps to get you started programming for FIRST Robotics Competitions. It's recommended that you read through once first so you don't miss anything.
-
If you haven't already follow the wpilib documentation to install your development tools. which can be found here.
-
then make sure you've download and installed intell Intellij IDEA Community from here.
-
clone the project to your preferred directory. step for using git can be found here.
-
Navigate to you preferred directory and select the project folder.
-
Click next a few times the default settings will work fine. Feel free to mess around and make it feel a little more personal.
-
Next we are going to setup the project for development first we need to tell intellij what to build right click on the build.xml file and mark it as ant build file.
-
Now we need to tell IDEA where all of our libraries are this can be done by pressing (ctrl + alt + shift + s) then navigating to modules -> dependencies.
-
Clicking the small plus sign beside the word scope (as shown above) allows us to add external libraries to the build path. We will navigate to C:\Users"your username"\wpilib\java\current\ and select the following and click ok.
-
Great! Now you'll just have to click apply and ok and your ready to develop.