forked from ftctechnh/ftc_app
-
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.
Merge pull request ftctechnh#2 from JeremyYao/master
10/4 Start AttachmentsInterface,
- Loading branch information
Showing
4 changed files
with
35 additions
and
15 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/AttatchmentsInterface.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; | ||
|
||
/** | ||
* Created by Jeremy on 10/4/2017. | ||
*/ | ||
|
||
public interface AttatchmentsInterface | ||
{ | ||
void moveLift(double x, double y, boolean leftTrigger, boolean leftBumper); | ||
/*Joystick=fine tuning position of forklift (left,right,slight up and down) | ||
Bumper=Position increases one position upwards | ||
Trigger=Position increases one position downwards | ||
*/ | ||
void moveWings(boolean up); | ||
boolean isSeeingRed(); | ||
void releaseGrabber(boolean buttonPressed); | ||
String readDiagram(); | ||
double[] getAccelerometerValues(); | ||
} |
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