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

22 lines
618 B
C++
Raw Normal View History

2015-02-06 13:45:01 -05:00
#include "Autonomous.h"
#include "../../DentRobot.h"
2015-02-07 12:50:36 -05:00
#include "../Elevator/Raise.h"
#include "../Elevator/Lower.h"
#include "AutoDrive.h"
#include "Turn.h"
#include "../Collector/CloseCollector.h"
#include "../Collector/OpenCollector.h"
#include "../Collector/CollectTote.h"
2015-02-07 12:32:46 -05:00
Autonomous::Autonomous(){
2015-02-07 13:17:22 -05:00
AddSequential(new Raise());
AddSequential(new Lower());
AddParallel(new OpenCollector());
AddParallel(new CloseCollector());
AddSequential(new Turn());
AddParallel(new AutoDrive());
AddParallel(new CloseCollector());
AddParallel(new CollectTote());
AddSequential(new Turn());
2015-02-06 13:45:01 -05:00
}
2015-02-08 12:26:15 -05:00
// vim: ts=2:sw=2:et