- Timestamp:
- May 31, 2010, 6:18:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/controllers/AIController.cc
r7034 r7066 127 127 128 128 if (this->specificMasterAction_ != NONE) 129 {130 129 this->specificMasterActionHold(); 131 132 // if (this->specificMasterAction_ == TURN180)133 // this->turn180Init();134 135 // if (this->specificMasterAction_ == SPIN)136 // this->spinInit();137 138 // if (this->specificMasterAction_ == FOLLOWHUMAN)139 // this->followHuman(this->HumanToFollow_, false);140 }141 130 142 131 else { … … 151 140 if (random < 5) 152 141 this->spinInit(); 142 143 // follow a randomly chosen human - a specific Master Action 144 random = rnd(1000.0f); 145 if (random < 1) 146 this->followRandomHumanInit(); 153 147 154 148 // lose master status (only if less than 4 slaves in formation) … … 230 224 if (this->specificMasterAction_ == SPIN) 231 225 this->spin(); 232 if (this->specificMasterAction_ == FOLLOW HUMAN)226 if (this->specificMasterAction_ == FOLLOW) 233 227 this->follow(); 234 228 }
Note: See TracChangeset
for help on using the changeset viewer.