Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2010, 4:32:26 PM (15 years ago)
Author:
solex
Message:

formation flight: new formations

File:
1 edited

Legend:

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

    r6850 r6888  
    127127
    128128            // lose master status (only if less than 4 slaves in formation)
    129             random = rnd(maxrand);
    130             if(random < 15/(this->slaves_.size()+1) && this->slaves_.size() < 5 )
    131                 this->loseMasterState();
     129//             random = rnd(maxrand);
     130//             if(random < 15/(this->slaves_.size()+1) && this->slaves_.size() < 4 )
     131//                 this->loseMasterState();
    132132
    133133            // look out for outher masters if formation is small
     
    167167            {
    168168                this->bShooting_ = true;
    169                 this->forceFreeSlaves();
     169//                 this->forceFreeSlaves();
    170170            }
    171171            // stop shooting
Note: See TracChangeset for help on using the changeset viewer.