RIT VEXU Core API
Loading...
Searching...
No Matches
DelayCommand Class Reference

#include <delay_command.h>

Inherits AutoCommand.

Public Member Functions

 DelayCommand (int ms)
 
bool run () override
 

Detailed Description

File: delay_command.h Desc: A DelayCommand will make the robot wait the set amount of milliseconds before continuing execution of the autonomous route

Constructor & Destructor Documentation

◆ DelayCommand()

DelayCommand::DelayCommand ( int ms)
inline

Construct a delay command

Parameters
msthe number of milliseconds to delay for

Member Function Documentation

◆ run()

bool DelayCommand::run ( )
inlineoverride

Delays for the amount of milliseconds stored in the command Overrides run from AutoCommand

Returns
true when complete

The documentation for this class was generated from the following file: