Xiaofei Qiu / CommandPool
Revision:
9:4a795f28545b
Parent:
7:bfbded2b0e8c
--- a/CommandPool.cpp	Sat Nov 28 23:27:49 2015 +0000
+++ b/CommandPool.cpp	Sun Nov 29 00:03:03 2015 +0000
@@ -26,7 +26,9 @@
     _pool[LED] = new LedCommand();
     _pool[TURN_LEFT] = new TurnLeftCommand();
     _pool[TURN_RIGHT] = new TurnRightCommand();
+    _pool[STRAIGHT] = new GoStraightCommand();
     _pool[STOP] = new StopCommand();
+    
 }
     
 Command* CommandPool::getCommand(const char& cmdstr)