Changeset 275 in flair-src for trunk/lib/FlairSensorActuator
- Timestamp:
- Dec 5, 2018, 4:53:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/VrpnObject_impl.cpp
r223 r275 143 143 VrpnObject_impl *caller = reinterpret_cast<VrpnObject_impl *>(userdata); 144 144 Time time = GetTime(); 145 //Printf("%s %lld %lld\n",caller->self->ObjectName().c_str(),time, t.msg_time.tv_sec*1000000+t.msg_time.tv_usec);146 Time vrpnTime= t.msg_time.tv_sec*1000000000+t.msg_time.tv_usec*1000;145 //Printf("%s %lld %lld\n",caller->self->ObjectName().c_str(),time,(Time)t.msg_time.tv_sec*(Time)1000000+(Time)t.msg_time.tv_usec); 146 Time vrpnTime=(Time)t.msg_time.tv_sec*(Time)1000000000+(Time)t.msg_time.tv_usec*(Time)1000; 147 147 Time deltaTime; 148 148 if(caller->previousTime!=TIME_INFINITE) {
Note:
See TracChangeset
for help on using the changeset viewer.