Skip to content

Commit f2ca3e1

Browse files
committed
pre set hood auton
1 parent 37f30ef commit f2ca3e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/frc/robot/RobotContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public CommandBase createHubToBall() {
288288
Trajectory t_hubToBall = loadTrajectory("HubToBall");
289289
CommandBase hubToBall = genRamseteCommand(t_hubToBall);
290290

291-
return new ParallelDeadlineGroup(hubToBall, new ShootSetVelocity(m_shooter, () -> 7500.0), createIntakeIndex()).andThen(createShootInterpolated().withTimeout(2.2));
291+
return new ParallelDeadlineGroup(hubToBall, new ShootSetVelocity(m_shooter, () -> 7500.0), createIntakeIndex(), new SetHoodPosition(m_hood, () -> 50.0)).andThen(createShootInterpolated().withTimeout(2.45));
292292
}
293293

294294
public CommandBase createBallToPlayer() {

0 commit comments

Comments
 (0)