- Timestamp:
- May 15, 2014, 2:18:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController/src/orxonox/controllers/ScriptController.cc
r10056 r10057 36 36 namespace orxonox 37 37 { 38 float scTime=0; /*initiali se time, to coordinate eventTime*/38 float scTime=0; /*initialize time, to coordinate eventTime*/ 39 39 40 40 … … 117 117 if(ev.fctName=="moveToPosition_beta") 118 118 { 119 119 120 moveToPosition_beta(ev.xCoord,ev.yCoord,ev.zCoord); 120 121 } … … 137 138 /*TO DO: execute the function: eventList[0].fctName*/ 138 139 139 140 execute(eventList[0]); 140 141 eventList.erase(eventList.begin()); 141 142 } … … 167 168 void ScriptController::eventScheduler(std::string instruction, float x, float y, float z, float executionTime) 168 169 { 170 169 171 /*put data (from LUA) into time-sorted eventList*/ 170 172 /*nimmt den befehl und die argumente aus luascript und ertellt einen struct pro event, diese structs werden sortiert nach eventTime*/ … … 195 197 } 196 198 199 197 200 } 198 201
Note: See TracChangeset
for help on using the changeset viewer.