2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00

Merge branch 'develop' into feature/doxygen

This commit is contained in:
Austen Adler 2015-03-01 16:49:16 -05:00
commit 4f82b3304c
4 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#include "Turn.h"
#include "../../DentRobot.h"
// Drive for a short while then stop. Just for testing
Turn::Turn(int k) : Command("Turn"){
Turn::Turn(double k) : Command("Turn"){
Requires(DentRobot::drivetrain);
SetTimeout(k);
}

View File

@ -10,7 +10,7 @@ class Turn: public Command{
private:
int degrees;
public:
Turn(int);
Turn(double);
void Initialize();
void Execute();
bool IsFinished();

View File

@ -4,11 +4,10 @@
BinCloseArms::BinCloseArms() : Command("BinCloseArms"){
}
void BinCloseArms::Initialize(){
//Should never need to use this
SetTimeout(0.5);
}
void BinCloseArms::Execute(){
DentRobot::pneumatics->SetOpen(true);
DentRobot::pneumatics->SetOpen(false);
}
bool BinCloseArms::IsFinished(){
return true;

View File

@ -4,7 +4,6 @@
BinOpenArms::BinOpenArms() : Command("BinOpenArms"){
}
void BinOpenArms::Initialize(){
//Should never need to use this
SetTimeout(0.5);
}
void BinOpenArms::Execute(){