Class WaitCommand
- java.lang.Object
- 
- edu.wpi.first.wpilibj2.command.CommandBase
- 
- com.lightningrobotics.common.command.core.WaitCommand
 
 
- 
- All Implemented Interfaces:
- edu.wpi.first.util.sendable.Sendable,- edu.wpi.first.wpilibj2.command.Command
 
 public class WaitCommand extends edu.wpi.first.wpilibj2.command.CommandBaseCommand that waits for a dashboard-determined amount of time to elapse before returning. This is useful for adding tunable delays to auton sequences to better-coordinate with alliance partners.
- 
- 
Constructor SummaryConstructors Constructor Description WaitCommand()Creates a new DashboardWaitCommand calledAutoWaitSecondsunderAutonomousshuffleboard tab.WaitCommand(java.lang.String key)Creates a new DashboardWaitCommand underAutonomousshuffleboard tab.WaitCommand(java.lang.String key, java.lang.String tab_name)Creates a new DashboardWaitCommand.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize()booleanisFinished()- 
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBaseaddRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface edu.wpi.first.wpilibj2.command.CommandalongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, end, execute, hasRequirement, isScheduled, perpetually, raceWith, runsWhenDisabled, schedule, schedule, until, withInterrupt, withTimeout
 
- 
 
- 
- 
- 
Constructor Detail- 
WaitCommandpublic WaitCommand() Creates a new DashboardWaitCommand calledAutoWaitSecondsunderAutonomousshuffleboard tab.
 - 
WaitCommandpublic WaitCommand(java.lang.String key) Creates a new DashboardWaitCommand underAutonomousshuffleboard tab.- Parameters:
- key- Name of- Network Table Entry
 
 - 
WaitCommandpublic WaitCommand(java.lang.String key, java.lang.String tab_name)Creates a new DashboardWaitCommand.- Parameters:
- key- Name of- Network Table Entry
- tab_name- Name of shuffleboard tab for the entry
 
 
- 
 
-