RealTimeBiomechanics / rtosim

The real-time OpenSim extension (RTOSIM) is a set of libraries in C++ that wrap OpenSim APIs to enable the real-time computation of inverse kinematics and inverse dynamics.
Apache License 2.0
33 stars 14 forks source link

Use steady clock instead of system clock #4

Closed lucaTagliapietra closed 7 years ago

lucaTagliapietra commented 7 years ago

Steady clock avoids possible issues in calculating time differences if system clock resets. http://en.cppreference.com/w/cpp/chrono/steady_clock