Ignore:
Timestamp:
09/25/19 15:29:26 (5 years ago)
Author:
Sanahuja Guillaume
Message:

use less bandwidth in vprnlite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/VrpnObject_impl.cpp

    r318 r330  
    5151    self->Err("erreur aucun identifiant specifie pour la connexion Xbee\n");
    5252  }
    53   if (id == -1 && GetVrpnClient()->ConnectionType()==VrpnClient::VrpnLite) {
    54     self->Err("erreur aucun identifiant specifie pour la connexion VrpnLite\n");
     53  if (id != -1 && GetVrpnClient()->ConnectionType()==VrpnClient::VrpnLite) {
     54    self->Err("identifiant pour la connexion ignore car inutile en mode VrpnLite\n");
    5555  }
    5656  if (id != -1 && GetVrpnClient()->ConnectionType()==VrpnClient::Vrpn) {
     
    9494    parent->pimpl_->AddTrackable(this);
    9595  } else if(GetVrpnClient()->ConnectionType()==VrpnClient::VrpnLite){
    96     parent->pimpl_->AddTrackable(this, id);
     96    parent->pimpl_->AddTrackable(this);
    9797  }
    9898 
     
    191191
    192192  caller->output->SetDataTime(time,deltaTime);
     193  //Printf("%s data filled\n",caller->self->ObjectName().c_str());
    193194  caller->output->ReleaseMutex();
    194195
     
    199200  caller->state->SetValueNoMutex(2, 0, Euler::ToDegree(euler.yaw));
    200201  caller->state->ReleaseMutex();
    201 
     202//Printf("%s process\n",caller->self->ObjectName().c_str());
    202203  caller->self->ProcessUpdate(caller->output);
    203 }
     204  //Printf("%s process ok\n",caller->self->ObjectName().c_str());
     205}
Note: See TracChangeset for help on using the changeset viewer.