Visual Servoing Platform  version 3.0.0
vpTime Class Reference

#include <visp3/core/vpTime.h>

Detailed Description

Time management and measurement.

The example below shows how to synchronize a loop to a given framerate.

#include <visp3/core/vpTime.h>
int main()
{
double t;
for ( ; ; ) {
...
vpTime::wait(t, 40); // Loop time is set to 40 ms, ie 25 Hz
}
}