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.intake; 007 008import static edu.wpi.first.units.Units.Degrees; 009 010import com.stuypulse.robot.subsystems.intake.Intake; 011import edu.wpi.first.wpilibj2.command.InstantCommand; 012 013public class IntakeSeedPivotNinety extends InstantCommand { 014 015 private final Intake intake; 016 017 public IntakeSeedPivotNinety() { 018 this.intake = Intake.getInstance(); 019 addRequirements(intake); 020 } 021 022 @Override 023 public boolean runsWhenDisabled() { 024 return true; 025 } 026 027 @Override 028 public void initialize() { 029 intake.seedPivotAngle(Degrees.of(-90)); 030 } 031}