summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp')
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
index d1e51bfc..ef72f9a2 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
@@ -68,8 +68,8 @@ void Tracker::run()
QTextStream log_stream(&log_file);
#endif
- time.start();
- float dt;
+ time.start();
+ double dt;
bool new_frame;
forever
{
@@ -77,7 +77,7 @@ void Tracker::run()
if (commands & PAUSE) continue;
commands = 0;
apply_inner();
- dt = time.start() / 1000.0;
+ dt = time.start() / 1000000000.;
new_frame = camera.get_frame(dt, &frame);