Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2976 for code/branches/netp2


Ignore:
Timestamp:
May 13, 2009, 3:14:08 PM (16 years ago)
Author:
scheusso
Message:

removed some debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp2/src/orxonox/objects/worldentities/ControllableEntity.cc

    r2974 r2976  
    334334    {
    335335        MobileEntity::tick(dt);
    336 //         COUT(0) << this->common_angular_velocity_ << endl;
    337336
    338337        if (this->isActive())
     
    347346                    this->common_linear_velocity_ = this->getVelocity();
    348347                    this->common_angular_velocity_ = this->getAngularVelocity();
    349                     COUT(0) << "tick " << this->common_angular_velocity_ << endl;
    350348//                 }
    351349//                 else if (this->bHasLocalController_)
     
    381379        registerVariable(this->common_linear_velocity_,  variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerLinearVelocity), true);
    382380        registerVariable(this->common_orientation_,      variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerOrientation), true);
    383 //         registerVariable(this->common_angular_velocity_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerAngularVelocity), true);
     381        registerVariable(this->common_angular_velocity_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerAngularVelocity), true);
    384382
    385383        registerVariable(this->playerID_,                variableDirection::toclient, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::networkcallback_changedplayerID));
     
    409407        if (!this->bHasLocalController_)
    410408            MobileEntity::setAngularVelocity(this->common_angular_velocity_);
    411         COUT(0) << "process " << this->common_angular_velocity_ << endl;
    412409    }
    413410
     
    512509            MobileEntity::setAngularVelocity(velocity);
    513510            this->common_angular_velocity_ = this->getAngularVelocity();
    514             COUT(0) << "setav " << this->common_angular_velocity_ << endl;
    515511//             ++this->server_overwrite_;
    516512//         }
     
    531527            this->common_linear_velocity_ = this->getVelocity();
    532528            this->common_angular_velocity_ = this->getAngularVelocity();
    533             COUT(0) << "setwt " << this->common_angular_velocity_ << endl;
    534529//         }
    535530//         else if (this->bHasLocalController_)
Note: See TracChangeset for help on using the changeset viewer.