5 #include <frc/commands/Subsystem.h> 6 #include <networktables/NetworkTable.h> 7 #include <frc/WPILib.h> 8 #include <ctre/Phoenix.h> 11 #include <frc/DigitalInput.h> 13 class Slider :
public frc::Subsystem {
23 void Slide(
double speed);
frc::DigitalInput * pLeftHall
std::shared_ptr< NetworkTable > ntTelemetry
A pointer to the /SmartDashboard/Telemetry table.
Slider()
Class constructor.
frc::DigitalInput * pRightHall
void InitDefaultCommand() override
Initalizes the default command for this subsystem (ControlSlider)
frc::DigitalInput * pCenterHall
can::WPI_TalonSRX * pSliderMotor
Pointer for the slider motor.
A subsystem that interfaces with the drivebase on the robot.