Changes between Version 7 and Version 8 of ControlSystems/SoftwareTeam/Training/GettingStarted


Ignore:
Timestamp:
Sep 26, 2018, 4:08:21 PM (7 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted

    v7 v8  
    1313== Setup your laptop:
    1414   1. Install the Java [https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html JDK 8]
    15    2. Install Microsoft [https://code.visualstudio.com/download VSCode] and the [https://github.com/wpilibsuite/vscode-wpilib/releases latest WPILib] extension.  Detailed instructions are [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/932382-installing-vs-code here]
    16    3. Install the National Instruments (NI) FRC 2018 Update Suite [http://www.ni.com/download/first-robotics-software-2015/5112/en/ here].  Detailed instructions are [https://wpilib.screenstepslive.com/s/4485/m/getting_started/l/599670-installing-the-frc-update-suite-all-languages here]
    17    4. Install the [http://www.ctr-electronics.com/control-system/hro.html#product_tabs_technical_resources CTRE Phoenix Framework]
    18    5. Launch the CTRE Hero Lifeboat Imager, choose the FRC roboRio tab, and press the Install Phoenix/Web-based Config
     15   2. Install Git (if not already on your computer) from [https://git-scm.com/downloads here]
     16   3. Install Microsoft [https://code.visualstudio.com/download VSCode] and the [https://github.com/wpilibsuite/vscode-wpilib/releases latest WPILib] extension.  Detailed instructions are [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/932382-installing-vs-code here]
     17   4. Install the National Instruments (NI) FRC 2018 Update Suite [http://www.ni.com/download/first-robotics-software-2015/5112/en/ here].  Detailed instructions are [https://wpilib.screenstepslive.com/s/4485/m/getting_started/l/599670-installing-the-frc-update-suite-all-languages here]
     18   5. Install the [http://www.ctr-electronics.com/control-system/hro.html#product_tabs_technical_resources CTRE Phoenix Framework]
     19
     20== Update your roboRIO
     21The roboRIO is a full, headless (no screen or keyboard) linux computer and runs lots of software in addition to the code you write to drive your robot.  For example, there is a very useful web server that provides access to the roboRIO and connected devices and lets you test them.  To extend this web server to include support for the CTRE/CAN-connected devices, launch the CTRE Hero Lifeboat Imager, choose the FRC roboRio tab, and press the Install Phoenix/Web-based Config button.
    1922
    2023== Start with an example
     
    181184    // Use controller joysticks to set drive speed, but
    182185    // safety stop if too close to an obstacle
    183     double leftSpeed  = -0.5*xbox.getY(Hand.kRight);
    184     double rightSpeed = -0.5*xbox.getY(Hand.kLeft);
     186    double leftSpeed  = -0.5*xbox.getY(Hand.kLeft);
     187    double rightSpeed = -0.5*xbox.getY(Hand.kRight);
    185188    // If there's an obstacle in front of us, don't
    186189    // allow any more forward motion