Modified The structure, for an autonomous, TeleOp, and Common directory. with engine and state folders inside those.

This commit is contained in:
SpencerPiha
2023-10-10 19:03:47 -05:00
parent 4d9d4256e4
commit f0df2f6bcd
8 changed files with 22 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
package org.timecrafters.CenterStage.Autonomous.Engines;
public class AutoEngineSample {
}

View File

@@ -0,0 +1,4 @@
package org.timecrafters.CenterStage.Autonomous.States;
public class AutoStateSample {
}

View File

@@ -0,0 +1,4 @@
package org.timecrafters.CenterStage.Autonomous.TestingStates;
public class TestingStateSample {
}

View File

@@ -1,4 +1,4 @@
package org.timecrafters.CenterStage.Engines;
package org.timecrafters.CenterStage.TeleOp.Engines;
import dev.cyberarm.engine.V2.CyberarmEngine;

View File

@@ -1,9 +1,10 @@
package org.timecrafters.CenterStage.Engines;
package org.timecrafters.CenterStage.TeleOp.Engines;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import org.timecrafters.CenterStage.Common.PrototypeRobot;
import org.timecrafters.CenterStage.States.PrototypeRobotDrivetrainState;
import org.timecrafters.CenterStage.TeleOp.States.PrototypeRobotDrivetrainState;
import dev.cyberarm.engine.V2.CyberarmEngine;
@TeleOp(name = "Prototype Robot", group = "PROTOTYPE")

View File

@@ -1,4 +1,4 @@
package org.timecrafters.CenterStage.States;
package org.timecrafters.CenterStage.TeleOp.States;
import dev.cyberarm.engine.V2.CyberarmState;
import org.timecrafters.CenterStage.Common.ProtoBotSodi;

View File

@@ -1,4 +1,4 @@
package org.timecrafters.CenterStage.States;
package org.timecrafters.CenterStage.TeleOp.States;
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.timecrafters.CenterStage.Common.PrototypeRobot;
@@ -22,7 +22,6 @@ public class PrototypeRobotDrivetrainState extends CyberarmState {
if (engine.gamepad2.a){
// setting Servo Positions to do time Math
robot.currentSetPosShoulder = robot.SHOULDER_COLL
robot.depositorShoulder.setPosition(robot.currentSetPosShoulder);
// running math function to determine time
robot.ShoulderServoWaitTime();

View File

@@ -0,0 +1,4 @@
package org.timecrafters.CenterStage.TeleOp.TestingState;
public class TestingStateSample {
}