generated from StuyPulse/Phil
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMobilityAuton.java
More file actions
28 lines (25 loc) · 982 Bytes
/
MobilityAuton.java
File metadata and controls
28 lines (25 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/************************ PROJECT PHIL ************************/
/* Copyright (c) 2024 StuyPulse Robotics. All rights reserved.*/
/* This work is licensed under the terms of the MIT license. */
/**************************************************************/
package com.stuypulse.robot.commands.auton.misc;
import edu.wpi.first.wpilibj2.command.WaitUntilCommand;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import com.stuypulse.robot.commands.drive.DriveTank;
import com.stuypulse.robot.commands.leds.LEDApplyPattern;
import com.stuypulse.robot.constants.Settings.LEDPatterns;
/**
* Move for the Ranking Point
*
* @author Sebastian Waldman
*/
public class MobilityAuton extends SequentialCommandGroup {
public MobilityAuton() {
addCommands(
new LEDApplyPattern(LEDPatterns.MOBILITY_AUTON),
new DriveTank(.25, .25, true),
new WaitUntilCommand(1.00),
new DriveTank(0, 0, true)
);
}
}