mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
46 lines
716 B
C++
46 lines
716 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 motorID
|
|
*/
|
|
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
|