mirror of
https://github.com/team2059/Dent
synced 2025-01-17 22:19:21 -05:00
19 lines
447 B
C++
19 lines
447 B
C++
#ifndef ELEVATOR_H
|
|
#define ELEVATOR_H
|
|
|
|
#include "WPILib.h"
|
|
//#include "Commands/PIDSubsystem.h"
|
|
//class Elevator: public PIDSubsystem{
|
|
class Elevator: public Subsystem{
|
|
private:
|
|
AnalogPotentiometer *pot;
|
|
Talon *leftMotor, *rightMotor;
|
|
static constexpr double kP_real=4, kI_real=.0f, kP_simulation=18, kI_simulation=.2;
|
|
public:
|
|
Elevator();
|
|
void InitDefaultCommand();
|
|
float GetPotValue();
|
|
void Run(double);
|
|
};
|
|
#endif
|