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