From: mixxlto Date: Thu, 22 Jan 2026 00:32:24 +0000 (-0800) Subject: Create TurretJoyStickAim.java X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=6502ee4ac9dcededfa445d0b84ca8be74fdb2aff;p=FRC2026.git Create TurretJoyStickAim.java --- diff --git a/src/main/java/frc/robot/commands/gpm/TurretJoyStickAim.java b/src/main/java/frc/robot/commands/gpm/TurretJoyStickAim.java new file mode 100644 index 0000000..4722dd0 --- /dev/null +++ b/src/main/java/frc/robot/commands/gpm/TurretJoyStickAim.java @@ -0,0 +1,16 @@ +package frc.robot.commands.gpm; + +import edu.wpi.first.wpilibj2.command.Command; +import frc.robot.subsystems.drivetrain.Drivetrain; +import frc.robot.subsystems.turret.Turret; + +public class TurretJoyStickAim extends Command{ + private Turret turret; + + public TurretJoyStickAim(Turret turret){ + this.turret = turret; + } + + Rotation2d desiredAngle = new Rotation2d(-driver.getRawSideTranslation(), driver.getRawForwardTranslation()); //this feels better + +}