Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
first:adis16470_imu_frc:java [26 Dec 2018 03:23] – add github link Kristen Chongfirst:adis16470_imu_frc:java [16 Jan 2019 17:12] – [Online Install] Kristen Chong
Line 7: Line 7:
 \\ \\
 ===== Installing the Library ===== ===== Installing the Library =====
-In order to use the IMU, you will need to download and install the appropriate library. There are two ways to do thisdepending on your team's programming environment setup+In order to use the IMU, you will need to download and install the appropriate library. You can either do an online install or an offline install. The instructions below assume you are using VS Codethe official supported development environment for FRC
-==== Gradle Install ==== +==== Online Install ==== 
-Since this library depends on the WPI library, **we strongly recommend any teams using Gradle to use [[https://github.com/Open-RIO/GradleRIO|GradleRIO]] for this install!** First, add [[https://jitpack.io/#juchong/ADIS16470-RoboRIO-Driver|JitPack]] to your repositories block like this: +  Open FRC Visual Studio Code 
-<code> +  Click the WPILib command pallete icon 
-maven { url 'https://jitpack.io' } +  Select "Manage Vendor Libraries" in the menu 
-</code> +  Choose "Install New Libraries (Online)" 
-Then, add the following code line to your dependencies block. This will always be the most recent version+  - Paste the following link: http://maven.highcurrent.io/vendordeps/ADIS16470.json 
-<code> +==== Offline Install ==== 
-compile 'com.github.juchong:ADIS16470-RoboRIO-Driver:master-SNAPSHOT' +  Download the latest release zip from [[https://github.com/juchong/ADIS16470-RoboRIO-Driver/releases|this page]]. The zip will be named adis16470_roborio-[releaseversion].zip. 
-</code> +  - Close all instances of FRC Visual Studio Code 
-[[https://github.com/juchong/ADIS16470-RoboRIO-Driver/blob/master/Java/build.gradle.example|Your GradleRIO file should look like this when it's done if you use GradleRIO]] +  - If using Windows, extract the zip you downloaded to C:\Users\Public\frc2019. If using Linux or Macextract the zip to ~/home/frc2019/. 
-\\ +  Open FRC Visual Studio Code 
-\+  Click the WPILib command pallete icon 
-==== Manual Install ==== +  - Select "Manage Vendor Libraries" in the menu 
-To install the driver manuallyjust add the com/analog/adis16470 package to your srcfolder. You can find the GitHub repository for Java [[https://github.com/juchong/ADIS16470-RoboRIO-Driver/tree/master/Java|here]].+  - Choose "Install New Libraries (Offline)" 
 +  - Check ADIS16470, then click "OK".
 \\ \\
 \\ \\
first/adis16470_imu_frc/java.txt · Last modified: 31 Jan 2020 01:54 by Kristen Chong