mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Initial checkin of unified hierarchy of WPILib 2015
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#include "$classname.h"
|
||||
|
||||
$classname::$classname() {
|
||||
// Use Requires() here to declare subsystem dependencies
|
||||
// eg. Requires(chassis);
|
||||
}
|
||||
|
||||
// Called just before this Command runs the first time
|
||||
void $classname::Initialize() {
|
||||
|
||||
}
|
||||
|
||||
// Called repeatedly when this Command is scheduled to run
|
||||
void $classname::Execute() {
|
||||
|
||||
}
|
||||
|
||||
// Make this return true when this Command no longer needs to run execute()
|
||||
bool $classname::IsFinished() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Called once after isFinished returns true
|
||||
void $classname::End() {
|
||||
|
||||
}
|
||||
|
||||
// Called when another command which requires one or more of the same
|
||||
// subsystems is scheduled to run
|
||||
void $classname::Interrupted() {
|
||||
}
|
||||
Reference in New Issue
Block a user