From 6502ee4ac9dcededfa445d0b84ca8be74fdb2aff Mon Sep 17 00:00:00 2001 From: mixxlto Date: Wed, 21 Jan 2026 16:32:24 -0800 Subject: [PATCH] Create TurretJoyStickAim.java --- .../robot/commands/gpm/TurretJoyStickAim.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/frc/robot/commands/gpm/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 + +} -- 2.39.5