Ignore:
Timestamp:
Feb 20, 2018, 2:08:56 PM (7 years ago)
Author:
Sanahuja Guillaume
Message:

reduce delay between server and client for simulated vrpn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Model_impl.cpp

    r214 r218  
    158158
    159159void Model_impl::mainloop(void) {
     160  struct timeval _timestamp;
     161 
    160162  if (enable_opti->Value() == false)
    161163    return;
    162164  vrpn_gettimeofday(&_timestamp, NULL);
    163   vrpn_Tracker::timestamp = _timestamp;
    164 
     165 
    165166  // change to vrpn reference
    166167  states_mutex->GetMutex();
Note: See TracChangeset for help on using the changeset viewer.