diff --git a/.idea/misc.xml b/.idea/misc.xml
index b009c7c..d451fa0 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/API.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/API.java
index c0ef16c..4327b39 100644
--- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/API.java
+++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/API.java
@@ -444,6 +444,17 @@ public class API {
return this.gamepad.y;
}
+ /**
+ Returns the status of all four buttons, as a 4-bit integer.
+
+ The four bits are A, B, X, and Y, respectively.
+
+ To get B, do: {@code (abxy >> 2) % 2}
+
+ The amount to bitshift is determined its position in the returned number.
+
+ @return The status of all four buttons as a 4-bit integer
+ */
public int getABXY() {
return
0b1000 * (this.getA() ? 1 : 0) +
diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Gamepad.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Gamepad.java
index 9defae0..89c02d9 100644
--- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Gamepad.java
+++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Gamepad.java
@@ -30,7 +30,7 @@ public abstract class Gamepad extends OpModeWithMovement {
double currentSpeed = gamepad1.y ? 1 : slowMode ? 0.35 : speed;
movement.move(-gamepad1.left_stick_y, gamepad1.left_stick_x, gamepad1.right_stick_x, currentSpeed, true);
- api.print("Speed", speed + ""); // i don't know how to do this better
+ api.print("Speed", Double.toString(speed));
api.print("Slow mode", slowMode ? "true" : "false");
if (gamepad1.x && !prevX) slowMode = !slowMode;
diff --git a/javadoc/allclasses-index.html b/javadoc/allclasses-index.html
index d819d52..dfaa7dc 100644
--- a/javadoc/allclasses-index.html
+++ b/javadoc/allclasses-index.html
@@ -2,10 +2,10 @@
-
+
All Classes
-
+
@@ -27,7 +27,7 @@
catch(err) {
}
//-->
-var data = {"i0":2,"i1":4,"i2":4,"i3":2,"i4":4,"i5":4,"i6":4,"i7":2};
+var data = {"i0":2,"i1":4,"i2":4,"i3":4,"i4":4,"i5":2,"i6":2};
var tabs = {65535:["t0","All Classes"],2:["t2","Class Summary"],4:["t3","Enum Summary"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -118,26 +118,22 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));