2015-01-11 16:02:49 -05:00
|
|
|
#ifndef OI_H
|
|
|
|
#define OI_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
2015-02-12 21:18:48 -05:00
|
|
|
#include "Commands/Command.h"
|
2015-01-11 16:02:49 -05:00
|
|
|
|
|
|
|
class OI
|
|
|
|
{
|
2015-01-16 20:12:48 -05:00
|
|
|
private:
|
2015-01-17 12:21:16 -05:00
|
|
|
Joystick *leftStick, *rightStick;
|
2015-01-16 20:12:48 -05:00
|
|
|
public:
|
|
|
|
OI();
|
2015-02-15 17:10:20 -05:00
|
|
|
Command *raise, *lower, *binLower, *binRaise;
|
2015-01-17 12:21:16 -05:00
|
|
|
Joystick* GetRightStick();
|
|
|
|
Joystick* GetLeftStick();
|
2015-02-15 17:10:20 -05:00
|
|
|
double GetLeftThrottle();
|
|
|
|
double GetRightThrottle();
|
2015-01-11 16:02:49 -05:00
|
|
|
};
|
|
|
|
#endif
|
2015-02-08 12:26:15 -05:00
|
|
|
// vim: ts=2:sw=2:et
|