mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
21 lines
331 B
C
21 lines
331 B
C
|
|
#ifndef CloseClaw_H
|
||
|
|
#define CloseClaw_H
|
||
|
|
|
||
|
|
#include "Commands/Command.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Opens the claw for one second. Real robots should use sensors, stalling
|
||
|
|
* motors is BAD!
|
||
|
|
*/
|
||
|
|
class CloseClaw: public Command {
|
||
|
|
public:
|
||
|
|
CloseClaw();
|
||
|
|
void Initialize();
|
||
|
|
void Execute();
|
||
|
|
bool IsFinished();
|
||
|
|
void End();
|
||
|
|
void Interrupted();
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|