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

Minor collector changes

This commit is contained in:
Austen Adler 2015-02-14 14:31:38 -05:00
parent e07c7a2da7
commit c783651d56
2 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@ CloseCollector::CloseCollector() : Command("CloseCollector"){
}
void CloseCollector::Initialize(){
printf("Initialized collector: 0.5\n");
SetTimeout(.5);
SetTimeout(1);
}
void CloseCollector::Execute(){
//printf("Closing collector: -0.5f\n");

View File

@ -5,8 +5,13 @@
#include "CloseCollector.h"
CollectTote::CollectTote(){
AddParallel(new CloseCollector());
// TODO: Fix null error
//AddParallel(new AutoDrive(0.5, -0.75));
AddParallel(new AutoDrive(0.5, -1.0));
AddSequential(new RollIn());
AddParallel(new CloseCollector());
AddParallel(new AutoDrive(0.5, 1.0));
AddSequential(new RollIn());
AddParallel(new CloseCollector());
AddParallel(new AutoDrive(0.5, -1.0));
AddSequential(new RollIn());
}
// vim: ts=2:sw=2:et