Changeset 11170 for code/branches/sagerjFS16/src/orxonox/controllers
- Timestamp:
- Apr 21, 2016, 3:33:48 PM (9 years ago)
- Location:
- code/branches/sagerjFS16/src/orxonox/controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/orxonox/controllers/HumanController.cc
r11166 r11170 159 159 void HumanController::fire(unsigned int firemode) 160 160 { 161 orxout() << "fire hc " << firemode << endl;162 161 if (HumanController::localController_s) 163 162 HumanController::localController_s->doFire(firemode); … … 166 165 void HumanController::doFire(unsigned int firemode) 167 166 { 168 orxout() << "do fire hc " << firemode << endl;169 167 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 170 168 { … … 180 178 void HumanController::release(unsigned int firemode) 181 179 { 182 orxout() << "release hc " << firemode << endl;183 180 if (HumanController::localController_s) 184 181 HumanController::localController_s->doRelease(firemode); … … 187 184 void HumanController::doRelease(unsigned int firemode) 188 185 { 189 orxout() << "do release hc " << firemode << endl;190 186 if (HumanController::localController_s && HumanController::localController_s->controllableEntity_) 191 187 { -
code/branches/sagerjFS16/src/orxonox/controllers/NewHumanController.cc
r11166 r11170 285 285 if (firemode == 1 && this->controlMode_ == 1) 286 286 { 287 orxout() << "do fire nhc if " << firemode << endl;288 287 //unlocked steering, steer on right mouse click 289 288 HumanController::yaw(Vector2(this->currentYaw_, 0)); … … 292 291 else 293 292 { 294 orxout() << "do fire nhc else " << firemode << endl;295 293 HumanController::doFire(firemode); //call for formationflight 296 294 } … … 299 297 void NewHumanController::doRelease(unsigned int firemode) 300 298 { 301 orxout() << "do release nhc" << firemode << endl;302 299 if (!this->controllableEntity_) 303 300 return;
Note: See TracChangeset
for help on using the changeset viewer.