Gamepad and telemetry docs - #12
Open
28shettr wants to merge 16 commits into
Open
Conversation
zachwaffle4
reviewed
Aug 6, 2026
Collaborator
There was a problem hiding this comment.
Run git rm --cached -r .idea please.
Author
|
@zachwaffle4 please merge... |
zachwaffle4
requested changes
Aug 17, 2026
| <TabItem label="Java"> | ||
|
|
||
| ```java | ||
| CommandGamepad gp1 = new CommandGamepad(Trigger.getDefaultEventLoop(), gamepad1); |
Collaborator
There was a problem hiding this comment.
Suggested change
| CommandGamepad gp1 = new CommandGamepad(Trigger.getDefaultEventLoop(), gamepad1); | |
| CommandGamepad gp1 = new CommandGamepad(gamepad1); |
| <TabItem label="Kotlin"> | ||
|
|
||
| ```kotlin | ||
| val gp1 = CommandGamepad(gamepad = gamepad1) |
Collaborator
There was a problem hiding this comment.
Suggested change
| val gp1 = CommandGamepad(gamepad = gamepad1) | |
| val gp1 = CommandGamepad(gamepad1) |
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| ### Sticks and triggers |
Collaborator
There was a problem hiding this comment.
Suggested change
| ### Sticks and triggers | |
| ### Sticks and Triggers |
Comment on lines
+61
to
+62
| Are exposed as `RangeTrigger`s instead of plain `Trigger`s, since they report an analog value rather than a simple boolean. | ||
| Allowing you to use `RangeTrigger`s like `isOver()` or `isUnder()` etc. |
Collaborator
There was a problem hiding this comment.
neither of these are complete sentences
| import { Tabs, TabItem } from "@astrojs/starlight/components"; | ||
|
|
||
| `Telemetry` lets you send data to the Driver Station, FTC Dashboard, or anywhere else, all at once. | ||
| You don't need to create one, just call its functions directly. |
Collaborator
There was a problem hiding this comment.
Suggested change
| You don't need to create one, just call its functions directly. | |
| The `Telemetry` functions are all static; you don't need to create your own telemetry instances. |
zachwaffle4
requested changes
Aug 21, 2026
Collaborator
There was a problem hiding this comment.
can you please git restore this file
|
|
||
| ### Sticks and Triggers | ||
|
|
||
| They are exposed as `RangeTrigger`s instead of plain `Trigger`s, since they report an analog value rather than a simple boolean, letting you |
Collaborator
There was a problem hiding this comment.
Suggested change
| They are exposed as `RangeTrigger`s instead of plain `Trigger`s, since they report an analog value rather than a simple boolean, letting you | |
| Joysticks and gamepad triggers are exposed as `RangeTrigger`s instead of regular `Trigger`s, since they report an analog value rather than a boolean value, letting you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
split pr