Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: CommandPool.cpp
- 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)