mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
22 lines
448 B
C
22 lines
448 B
C
|
#ifndef BINELEVATOR_H
|
||
|
#define BINELEVATOR_H
|
||
|
|
||
|
#include "WPILib.h"
|
||
|
#include "Commands/PIDSubsystem.h"
|
||
|
class BinElevator{
|
||
|
private:
|
||
|
CANTalon *motor;
|
||
|
Encoder *elevatorEncoder;
|
||
|
DigitalInput *elevatorBottom, *elevatorTop;
|
||
|
public:
|
||
|
BinElevator();
|
||
|
void InitDefaultCommand();
|
||
|
void Run(double);
|
||
|
void ResetEncoder();
|
||
|
double GetHeight();
|
||
|
bool GetElevatorTop();
|
||
|
bool GetElevatorBottom();
|
||
|
};
|
||
|
#endif
|
||
|
// vim: ts=2:sw=2:et
|