Skip to content

Commit da5325b

Browse files
authored
Merge branch 'main' into Mechanism-Position-Grouping
2 parents 8d10f35 + cbfbe35 commit da5325b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/frc/robot/commands/DriveManual.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import edu.wpi.first.wpilibj2.command.Command;
1515
import frc.robot.Constants.constDrivetrain;
1616
import frc.robot.Constants.constField;
17-
import frc.robot.subsystems.Drivetrain;
1817
import frc.robot.subsystems.StateMachine.DriverState;
1918

2019
public class DriveManual extends Command {
@@ -54,6 +53,8 @@ public void execute() {
5453

5554
subStateMachine.setDriverState(StateMachine.DriverState.MANUAL);
5655

56+
subDrivetrain.drive(
57+
new Translation2d(xVelocity, yVelocity), rVelocity, isOpenLoop);
5758
}
5859

5960
@Override

0 commit comments

Comments
 (0)