Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2014, 2:18:08 PM (10 years ago)
Author:
mkronig
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController/src/orxonox/controllers/ScriptController.cc

    r10056 r10057  
    3636namespace orxonox
    3737{
    38     float scTime=0;  /*initialise time, to coordinate eventTime*/
     38    float scTime=0;  /*initialize time, to coordinate eventTime*/
    3939
    4040
     
    117117        if(ev.fctName=="moveToPosition_beta")
    118118        {
     119
    119120            moveToPosition_beta(ev.xCoord,ev.yCoord,ev.zCoord);
    120121        }
     
    137138            /*TO DO: execute the function: eventList[0].fctName*/
    138139
    139 
     140            execute(eventList[0]);
    140141            eventList.erase(eventList.begin());
    141142        }
     
    167168    void ScriptController::eventScheduler(std::string instruction, float x, float y, float z, float executionTime)
    168169    {
     170
    169171        /*put data (from LUA) into time-sorted eventList*/
    170172        /*nimmt den befehl und die argumente aus luascript und ertellt einen struct pro event, diese structs werden sortiert nach eventTime*/
     
    195197        }
    196198       
     199       
    197200    }
    198201
Note: See TracChangeset for help on using the changeset viewer.