mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Minor collector changes
This commit is contained in:
parent
e07c7a2da7
commit
c783651d56
@ -3,7 +3,7 @@ CloseCollector::CloseCollector() : Command("CloseCollector"){
|
|||||||
}
|
}
|
||||||
void CloseCollector::Initialize(){
|
void CloseCollector::Initialize(){
|
||||||
printf("Initialized collector: 0.5\n");
|
printf("Initialized collector: 0.5\n");
|
||||||
SetTimeout(.5);
|
SetTimeout(1);
|
||||||
}
|
}
|
||||||
void CloseCollector::Execute(){
|
void CloseCollector::Execute(){
|
||||||
//printf("Closing collector: -0.5f\n");
|
//printf("Closing collector: -0.5f\n");
|
||||||
|
@ -5,8 +5,13 @@
|
|||||||
#include "CloseCollector.h"
|
#include "CloseCollector.h"
|
||||||
CollectTote::CollectTote(){
|
CollectTote::CollectTote(){
|
||||||
AddParallel(new CloseCollector());
|
AddParallel(new CloseCollector());
|
||||||
// TODO: Fix null error
|
AddParallel(new AutoDrive(0.5, -1.0));
|
||||||
//AddParallel(new AutoDrive(0.5, -0.75));
|
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());
|
AddSequential(new RollIn());
|
||||||
}
|
}
|
||||||
// vim: ts=2:sw=2:et
|
// vim: ts=2:sw=2:et
|
||||||
|
Loading…
Reference in New Issue
Block a user