2015-02-06 13:45:01 -05:00
|
|
|
#ifndef AUTODRIVE_H
|
|
|
|
#define AUTODRIVE_H
|
|
|
|
|
|
|
|
#include "Commands/Command.h"
|
|
|
|
#include "../../CommandBase.h"
|
|
|
|
#include "../../DentRobot.h"
|
|
|
|
#include "WPILib.h"
|
|
|
|
|
|
|
|
class AutoDrive: public Command{
|
2015-02-13 21:41:38 -05:00
|
|
|
private:
|
|
|
|
double *power;
|
2015-02-06 13:45:01 -05:00
|
|
|
public:
|
2015-02-13 17:34:38 -05:00
|
|
|
AutoDrive(double);
|
2015-02-13 21:41:38 -05:00
|
|
|
AutoDrive(double, double);
|
2015-02-06 13:45:01 -05:00
|
|
|
void Initialize();
|
|
|
|
void Execute();
|
|
|
|
bool IsFinished();
|
|
|
|
void End();
|
|
|
|
void Interrupted();
|
|
|
|
};
|
|
|
|
#endif
|
2015-02-08 12:26:15 -05:00
|
|
|
// vim: ts=2:sw=2:et
|