mirror of
https://github.com/team2059/Dent
synced 2024-12-28 21:02:30 -05:00
46 lines
712 B
C++
46 lines
712 B
C++
#ifndef CHECKDRIVE_H
|
|
#define CHECKDRIVE_H
|
|
|
|
#include "Commands/Command.h"
|
|
#include "../../DentRobot.h"
|
|
#include "../../DentRobot.h"
|
|
#include "WPILib.h"
|
|
|
|
/**
|
|
* @brief TODO
|
|
*/
|
|
class CheckDrive: public CommandGroup{
|
|
private:
|
|
int motor; //<! TODO
|
|
public:
|
|
/**
|
|
* @brief TODO
|
|
*
|
|
* @param int
|
|
*/
|
|
CheckDrive(int);
|
|
/**
|
|
* @brief Initializes the class
|
|
*/
|
|
void Initialize();
|
|
/**
|
|
* @brief TODO
|
|
*/
|
|
void Execute();
|
|
/**
|
|
* @brief Checks if the command is finished
|
|
*
|
|
* @return TODO
|
|
*/
|
|
bool IsFinished();
|
|
/**
|
|
* @brief TODO
|
|
*/
|
|
void End();
|
|
/**
|
|
* @brief Calls End()
|
|
*/
|
|
void Interrupted();
|
|
};
|
|
#endif
|