mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
28 lines
639 B
C++
28 lines
639 B
C++
#include "CloseClaw.h"
|
|
|
|
#include "Robot.h"
|
|
|
|
CloseClaw::CloseClaw() {
|
|
Requires(Robot::collector);
|
|
}
|
|
|
|
// Called just before this Command runs the first time
|
|
void CloseClaw::Initialize() {
|
|
Robot::collector->Close();
|
|
}
|
|
|
|
// Called repeatedly when this Command is scheduled to run
|
|
void CloseClaw::Execute() {}
|
|
|
|
// Make this return true when this Command no longer needs to run execute()
|
|
bool CloseClaw::IsFinished() {
|
|
return true;
|
|
}
|
|
|
|
// Called once after isFinished returns true
|
|
void CloseClaw::End() {}
|
|
|
|
// Called when another command which requires one or more of the same
|
|
// subsystems is scheduled to run
|
|
void CloseClaw::Interrupted() {}
|