From 4a494bf31593d7e30e2aa360a7baa60b8779958e Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 8 Mar 2024 22:15:35 +0200 Subject: minor subsystem changes --- src/main/java/frc/robot/commands/IntakeIntermediate.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/main/java/frc/robot/commands') diff --git a/src/main/java/frc/robot/commands/IntakeIntermediate.java b/src/main/java/frc/robot/commands/IntakeIntermediate.java index e8ea7ee..3f3cc67 100644 --- a/src/main/java/frc/robot/commands/IntakeIntermediate.java +++ b/src/main/java/frc/robot/commands/IntakeIntermediate.java @@ -3,18 +3,19 @@ package frc.robot.commands; import edu.wpi.first.wpilibj2.command.Command; import frc.robot.subsystems.Arm; import frc.robot.subsystems.Chain; +import frc.robot.subsystems.MainMech; public class IntakeIntermediate extends Command { public Arm m_arm; public Chain m_chain; - public IntakeIntermediate(Arm arm, Chain chain) + public IntakeIntermediate(MainMech mech) { - m_arm = arm; - m_chain = chain; + m_arm = mech.m_arm; + m_chain = mech.m_chain; - addRequirements(arm, chain); + addRequirements(mech, m_arm, m_chain); } @Override -- cgit v1.2.3