A subsystem that interfaces with the drivebase on the robot.
More...
#include <Slider.h>
A subsystem that interfaces with the drivebase on the robot.
Definition at line 13 of file Slider.h.
◆ Slider()
Class constructor.
Definition at line 4 of file Slider.cpp.
◆ Center()
◆ InitDefaultCommand()
void Slider::InitDefaultCommand |
( |
| ) |
|
|
override |
◆ Slide()
void Slider::Slide |
( |
double |
speed | ) |
|
Pass data to motor
- Parameters
-
speed | Slider speed (form -1 to 1) |
Definition at line 27 of file Slider.cpp.
◆ ntTelemetry
std::shared_ptr<NetworkTable> Slider::ntTelemetry |
|
private |
A pointer to the /SmartDashboard/Telemetry table.
Definition at line 32 of file Slider.h.
◆ pCenterHall
frc::DigitalInput* Slider::pCenterHall |
|
private |
◆ pLeftHall
frc::DigitalInput* Slider::pLeftHall |
|
private |
◆ pRightHall
frc::DigitalInput* Slider::pRightHall |
|
private |
◆ pSliderMotor
can::WPI_TalonSRX* Slider::pSliderMotor |
|
private |
Pointer for the slider motor.
Definition at line 28 of file Slider.h.
◆ sliderSide
double Slider::sliderSide |
|
private |
The documentation for this class was generated from the following files: