Dependencies: Command Math OBROT RobotBase ShootingSystem Steering mbed
Diff: main.cpp
- Revision:
- 3:74976774f006
- Parent:
- 0:bf802656c285
- Child:
- 6:05f1ca7fc0a7
--- a/main.cpp Wed Oct 14 12:57:58 2015 +0000 +++ b/main.cpp Thu Oct 15 08:24:13 2015 +0000 @@ -1,11 +1,8 @@ #include "OBROT.h" int main(){ - OBROT::create(); - OBROT* instance = OBROT::getInstance(); - while ( true ){ - instance->update(); + OBROT::getInstance()->update(); } return 0;