001/************************* PROJECT RON *************************/ 002/* Copyright (c) 2026 StuyPulse Robotics. All rights reserved. */ 003/* Use of this source code is governed by an MIT-style license */ 004/* that can be found in the repository LICENSE file. */ 005/***************************************************************/ 006package com.stuypulse.robot.commands.swerve; 007 008import com.stuypulse.robot.subsystems.swerve.CommandSwerveDrivetrain; 009import edu.wpi.first.math.geometry.Rotation2d; 010import edu.wpi.first.wpilibj2.command.InstantCommand; 011 012public class SwerveDriveResetRotation extends InstantCommand { 013 014 public SwerveDriveResetRotation() { 015 super(() -> CommandSwerveDrivetrain.getInstance().resetRotation(Rotation2d.kZero)); 016 } 017}