forked from FIRST-Tech-Challenge/FtcRobotController
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
106 additions
and
91 deletions.
There are no files selected for viewing
20 changes: 0 additions & 20 deletions
20
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/DownsampledWriter.java
This file was deleted.
Oops, something went wrong.
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
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
19 changes: 19 additions & 0 deletions
19
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/messages/MecanumCommandMessage.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,19 @@ | ||
package org.firstinspires.ftc.teamcode.messages; | ||
|
||
public final class MecanumCommandMessage { | ||
public long timestamp; | ||
public double voltage; | ||
public double leftFrontPower; | ||
public double leftBackPower; | ||
public double rightBackPower; | ||
public double rightFrontPower; | ||
|
||
public MecanumCommandMessage(double voltage, double leftFrontPower, double leftBackPower, double rightBackPower, double rightFrontPower) { | ||
this.timestamp = System.nanoTime(); | ||
this.voltage = voltage; | ||
this.leftFrontPower = leftFrontPower; | ||
this.leftBackPower = leftBackPower; | ||
this.rightBackPower = rightBackPower; | ||
this.rightFrontPower = rightFrontPower; | ||
} | ||
} |
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
15 changes: 15 additions & 0 deletions
15
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/messages/TankCommandMessage.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,15 @@ | ||
package org.firstinspires.ftc.teamcode.messages; | ||
|
||
public final class TankCommandMessage { | ||
public long timestamp; | ||
public double voltage; | ||
public double leftPower; | ||
public double rightPower; | ||
|
||
public TankCommandMessage(double voltage, double leftPower, double rightPower) { | ||
this.timestamp = System.nanoTime(); | ||
this.voltage = voltage; | ||
this.leftPower = leftPower; | ||
this.rightPower = rightPower; | ||
} | ||
} |
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
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
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