[Orxonox-commit 374] r2976 - branches/netp2/src/orxonox/objects/worldentities
scheusso at orxonox.net
scheusso at orxonox.net
Wed May 13 15:14:08 CEST 2009
Author: scheusso
Date: 2009-05-13 15:14:08 +0200 (Wed, 13 May 2009)
New Revision: 2976
Modified:
branches/netp2/src/orxonox/objects/worldentities/ControllableEntity.cc
Log:
removed some debug output
Modified: branches/netp2/src/orxonox/objects/worldentities/ControllableEntity.cc
===================================================================
--- branches/netp2/src/orxonox/objects/worldentities/ControllableEntity.cc 2009-05-13 12:25:04 UTC (rev 2975)
+++ branches/netp2/src/orxonox/objects/worldentities/ControllableEntity.cc 2009-05-13 13:14:08 UTC (rev 2976)
@@ -333,7 +333,6 @@
void ControllableEntity::tick(float dt)
{
MobileEntity::tick(dt);
-// COUT(0) << this->common_angular_velocity_ << endl;
if (this->isActive())
{
@@ -346,7 +345,6 @@
this->common_orientation_ = this->getOrientation();
this->common_linear_velocity_ = this->getVelocity();
this->common_angular_velocity_ = this->getAngularVelocity();
- COUT(0) << "tick " << this->common_angular_velocity_ << endl;
// }
// else if (this->bHasLocalController_)
// {
@@ -380,7 +378,7 @@
registerVariable(this->common_position_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerPosition), true);
registerVariable(this->common_linear_velocity_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerLinearVelocity), true);
registerVariable(this->common_orientation_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerOrientation), true);
-// registerVariable(this->common_angular_velocity_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerAngularVelocity), true);
+ registerVariable(this->common_angular_velocity_, variableDirection::serverMaster, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::processServerAngularVelocity), true);
registerVariable(this->playerID_, variableDirection::toclient, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::networkcallback_changedplayerID));
registerVariable(this->gtinfoID_, variableDirection::toclient, new NetworkCallback<ControllableEntity>(this, &ControllableEntity::networkcallback_changedgtinfoID));
@@ -408,7 +406,6 @@
{
if (!this->bHasLocalController_)
MobileEntity::setAngularVelocity(this->common_angular_velocity_);
- COUT(0) << "process " << this->common_angular_velocity_ << endl;
}
void ControllableEntity::processOverwrite()
@@ -511,7 +508,6 @@
// {
MobileEntity::setAngularVelocity(velocity);
this->common_angular_velocity_ = this->getAngularVelocity();
- COUT(0) << "setav " << this->common_angular_velocity_ << endl;
// ++this->server_overwrite_;
// }
// else if (this->bHasLocalController_)
@@ -530,7 +526,6 @@
this->common_orientation_ = this->getOrientation();
this->common_linear_velocity_ = this->getVelocity();
this->common_angular_velocity_ = this->getAngularVelocity();
- COUT(0) << "setwt " << this->common_angular_velocity_ << endl;
// }
// else if (this->bHasLocalController_)
// {
More information about the Orxonox-commit
mailing list