This commit is contained in:
Connor Peach
2023-11-02 16:42:36 -06:00
parent a44b74663e
commit 295b672e98
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ public final class Main {
* <p>If you change your main robot class, change the parameter type.
*/
public static void main(String... args) {
RobotBase.startRobot(Robot::new);
System.out.println("Todo: the robot");
RobotBase.startRobot(Robot::new);
}
}
@@ -1,4 +1,4 @@
x/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
@@ -70,6 +70,8 @@ public class JoystickRecorder extends CommandBase {
swerve.driveWithInput(new Translation2d(inputs.driverLeftX, inputs.driverLeftX),
new Translation2d(inputs.driverRightX, inputs.driverRightY),
true);
arm.setRotVel(inputs.operatorLeftY);
arm.setTeleVel(inputs.operatorRightY);
System.out.println("RECORDING");
}