1 #ifndef _CRAWLDRIVE_HG_ 3 #define _CRAWLDRIVE_HG_ 5 #include <frc/commands/Subsystem.h> 6 #include <frc/DigitalInput.h> 7 #include <frc/WPILib.h> 21 void Move(
double Speed);
36 #endif // _CRAWLDRIVE_HG_
bool GetSensor(void)
Returns true if its on the floor.
frc::Spark * pCrawlRight
Pointer for the right crawl motor.
CrawlDrive()
Class constructor.
A subsytem that interfaces with the climberbase on the robot.
void InitDefaultCommand() override
Initalizes the default command for this subsystem ()
frc::DigitalInput * pFloorSensor
void Move(double Speed)
Drive, (or crawl), forwards or backwards Moves the wheels attached to the arms. What wheels do...
frc::Spark * pCrawlLeft
Pointer for the left crawl motor.