mirror of
https://github.com/TimeCrafters/UltimateGoal.git
synced 2025-12-15 14:02:33 +00:00
Prepared Autonomous and TeleOp Workspaces
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
package org.timecrafters.UltimateGoal;
|
||||||
|
|
||||||
|
public class AutoEngine {
|
||||||
|
}
|
||||||
@@ -47,7 +47,7 @@ public class MecanumFunctionTest extends CyberarmState {
|
|||||||
double[] powers = robot.getMecanumPowers(leftJoystickDegrees, leftJoystickMagnitude, leftJoystickDegrees);
|
double[] powers = robot.getMecanumPowers(leftJoystickDegrees, leftJoystickMagnitude, leftJoystickDegrees);
|
||||||
powerFrontLeft = powers[0];
|
powerFrontLeft = powers[0];
|
||||||
powerFrontRight = powers[1];
|
powerFrontRight = powers[1];
|
||||||
powerBackLeft = powers[2];
|
powerBackLeft = powers[2];
|
||||||
powerBackRight = powers[3];
|
powerBackRight = powers[3];
|
||||||
} else {
|
} else {
|
||||||
if (leftJoystickMagnitude == 0) {
|
if (leftJoystickMagnitude == 0) {
|
||||||
|
|||||||
@@ -74,12 +74,12 @@ public class Robot {
|
|||||||
public double locationY;
|
public double locationY;
|
||||||
private float rotation;
|
private float rotation;
|
||||||
|
|
||||||
|
//Debugging
|
||||||
public double visionX;
|
public double visionX;
|
||||||
public double visionY;
|
public double visionY;
|
||||||
public float rawAngle;
|
public float rawAngle;
|
||||||
private String TestingRecord = "X,Y,Angle";
|
private String TestingRecord = "X,Y,Angle";
|
||||||
|
|
||||||
|
|
||||||
public double traveledLeft;
|
public double traveledLeft;
|
||||||
public double traveledRight;
|
public double traveledRight;
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package org.timecrafters.UltimateGoal;
|
||||||
|
|
||||||
|
public class TeleOpEngine {
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package org.timecrafters.UltimateGoal;
|
||||||
|
|
||||||
|
public class TeleOpState {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user