Changeset 448 in flair-src for trunk/lib/FlairSensorActuator/src
- Timestamp:
- Sep 20, 2021, 5:16:50 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/VrpnClient_impl.cpp
r447 r448 202 202 timeout.tv_sec=0; 203 203 timeout.tv_usec=100000; 204 uint16_t vrpnliteCounter=0; 204 205 205 206 while (!self->ToBeStopped()) { … … 321 322 322 323 mutex->ReleaseMutex(); 324 325 if(trackables.size()!=0) { 326 vrpnliteCounter++;//send ack to monitor connection on vrpnlite 327 //on bth, vrpn is configured to 50Hz, send ack at 1Hz 328 if(vrpnliteCounter==50) { 329 vrpnliteCounter=0; 330 char data=0; 331 dataSocket->SendMessage(&data,sizeof(char)); 332 } 333 } 323 334 } 324 335 }
Note:
See TracChangeset
for help on using the changeset viewer.