Skip to content

Commit

Permalink
Remove additional Bintray references
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrott committed Feb 23, 2021
1 parent 9472001 commit 4a7dd96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
1 change: 0 additions & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
<a href="https://bintray.com/acmerobotics/maven/ftc-dashboard" class="btn">View on Bintray</a>
</section>

<section class="main-content">
Expand Down
2 changes: 0 additions & 2 deletions docs/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ There are two ways to send telemetry to the dashboard: through the familiar `Tel

In general, one **should not use both in the same op mode** as the contents of each new packet overwrite the last.

<!-- **Note** that both methods use the same underlying transmission mechanism and **are therefore mutually exclusive**. There is also no **rate limiting** so be careful with sending telemetry too frequently (20ms and slower is probably fine). -->

### SDK Telemetry

The method `FtcDashboard#getTelemetry()` returns a `Telemetry` implementation that can be used as follows.
Expand Down
18 changes: 3 additions & 15 deletions docs/gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,15 @@ layout: default

### Basic

1. Open `build.gradle` in the root of your project. Add the following lines to the end:
1. Open `build.dependencies.gradle`. In the `repositories` section add `maven { url = "https://maven.brott.dev/" }`, and in the `dependencies` section add `implementation 'com.acmerobotics.dashboard:dashboard:0.4.0'`.

```groovy
allprojects {
repositories {
maven { url = "https://maven.brott.dev/" }
}
}
```

1. Open `build.release.gradle` in `FtcRobotController`. In the `dependencies` section add `implementation 'com.acmerobotics.dashboard:dashboard:0.4.0'`.

Note: If you're using OpenRC or use non-Bintray SDK dependencies, add the following exclusion.
Note: If you're using OpenRC or have non-standard SDK dependencies, add the following exclusion.
```groovy
implementation('com.acmerobotics.dashboard:dashboard:0.4.0') {
exclude group: 'org.firstinspires.ftc'
}
```

1. Repeat the previous step for `TeamCode` (and other modules you'd like to use the dashboard in).

1. Navigate to the main activity (`org.firstinspires.ftc.robotcontroller.internal.FtcRobotControllerActivity`) inside of the `FtcRobotController` module.

1. Insert `FtcDashboard.start();` at the end of `onCreate()` (pass `true` to suppress enable/disable op mode registration).
Expand All @@ -47,7 +35,7 @@ layout: default

1. Clone this repo locally.

1. Append `-SNAPSHOT` to the end of `ext.dashboard_version` in `FtcDashboard/build.gradle` (this differentiates your local build from the releases on Bintray).
1. Append `-SNAPSHOT` to the end of `ext.dashboard_version` in `FtcDashboard/build.gradle`.

1. After making changes, publish them locally with `./gradlew publishToMavenLocal` (this has to be done on each computer).

Expand Down

0 comments on commit 4a7dd96

Please sign in to comment.