-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing Color methods, SDK color samples & Gamepad stub in OpModes
- Loading branch information
1 parent
72fa9fd
commit 3610615
Showing
12 changed files
with
984 additions
and
57 deletions.
There are no files selected for viewing
This file contains 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
22 changes: 22 additions & 0 deletions
22
Common/src/main/java/org/firstinspires/ftc/robotcore/robocol/TelemetryMessage.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.firstinspires.ftc.robotcore.robocol; | ||
|
||
/** | ||
* Placeholder for telemetry message constants | ||
*/ | ||
public class TelemetryMessage { | ||
|
||
static final int cbTimestamp = 8; | ||
static final int cbSorted = 1; | ||
static final int cbRobotState = 1; | ||
static final int cbTagLen = 1; | ||
static final int cbCountLen = 1; | ||
static final int cbKeyLen = 2; | ||
static final int cbValueLen = 2; | ||
static final int cbFloat = 4; | ||
|
||
public final static int cbTagMax = (1 << (cbTagLen*8)) - 1; | ||
public final static int cCountMax = (1 << (cbCountLen*8)) - 1; | ||
public final static int cbKeyMax = (1 << (cbKeyLen*8)) - 1; | ||
public final static int cbValueMax = (1 << (cbValueLen*8)) - 1; | ||
|
||
} |
This file contains 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
Oops, something went wrong.