mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
fix x
This commit is contained in:
@@ -24,6 +24,7 @@ public final class Main {
|
|||||||
* <p>If you change your main robot class, change the parameter type.
|
* <p>If you change your main robot class, change the parameter type.
|
||||||
*/
|
*/
|
||||||
public static void main(String... args) {
|
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. */
|
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
|
||||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
/* 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 */
|
/* 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),
|
swerve.driveWithInput(new Translation2d(inputs.driverLeftX, inputs.driverLeftX),
|
||||||
new Translation2d(inputs.driverRightX, inputs.driverRightY),
|
new Translation2d(inputs.driverRightX, inputs.driverRightY),
|
||||||
true);
|
true);
|
||||||
|
arm.setRotVel(inputs.operatorLeftY);
|
||||||
|
arm.setTeleVel(inputs.operatorRightY);
|
||||||
|
|
||||||
System.out.println("RECORDING");
|
System.out.println("RECORDING");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user