2015-03-24 14:42:11 -04:00
|
|
|
#ifndef ELEVATORCYCLE_H
|
|
|
|
|
|
|
|
#include "Commands/CommandGroup.h"
|
|
|
|
#include "../../DentRobot.h"
|
|
|
|
#include "WPILib.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Completes one cycle with the main elevator
|
|
|
|
*
|
|
|
|
* Completes a cycle by lowering the elevator to the bottom sensor,
|
|
|
|
* then raising the elevator the the top sensor.
|
|
|
|
* Timeouts are still in place in the event of a sensor failure.
|
|
|
|
*/
|
|
|
|
|
2015-07-31 12:52:15 -04:00
|
|
|
class ElevatorCycle: public CommandGroup {
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* @brief Constructs ElevatorCycle
|
|
|
|
*/
|
|
|
|
ElevatorCycle();
|
2015-03-24 14:42:11 -04:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
// vim: ts=2:sw=2:et
|