Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 7, 2011, 7:17:39 PM (13 years ago)
Author:
jo
Message:

Bots use boost now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/src/orxonox/controllers/AIController.cc

    r8735 r8736  
    211211            this->resetDeathFlag();
    212212        }
     213        this->boostControl();//TEST
    213214        float random;
    214215        float maxrand = 100.0f / ACTION_INTERVAL;
     
    281282                if(controllable->getRocket())//Check wether the bot is controlling the rocket and if the timeout is over.
    282283                {
    283                     this->follow(); //TODO: CHECK: does follow make the bot crash into the target_ ?
     284                    this->follow();
    284285                    this->timeout_ -= dt;
    285286                    if((timeout_< 0)||(!target_))//Check if the timeout is over or target died.
Note: See TracChangeset for help on using the changeset viewer.