mirror of
https://github.com/TimeCrafters/CenterStage
synced 2025-12-15 08:42:35 +00:00
Modified The structure, for an autonomous, TeleOp, and Common directory. with engine and state folders inside those.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package org.timecrafters.CenterStage.Autonomous.Engines;
|
||||
|
||||
public class AutoEngineSample {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package org.timecrafters.CenterStage.Autonomous.States;
|
||||
|
||||
public class AutoStateSample {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package org.timecrafters.CenterStage.Autonomous.TestingStates;
|
||||
|
||||
public class TestingStateSample {
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.timecrafters.CenterStage.Engines;
|
||||
package org.timecrafters.CenterStage.TeleOp.Engines;
|
||||
|
||||
import dev.cyberarm.engine.V2.CyberarmEngine;
|
||||
|
||||
@@ -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")
|
||||
@@ -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;
|
||||
@@ -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();
|
||||
@@ -0,0 +1,4 @@
|
||||
package org.timecrafters.CenterStage.TeleOp.TestingState;
|
||||
|
||||
public class TestingStateSample {
|
||||
}
|
||||
Reference in New Issue
Block a user