Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
/**
* Helper function to check if a position is outdated or not
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Ehrlicher, SLSE, 2016-05-03
*/
#pragma once
#include <qglobal.h>
namespace LtsUtils
{
inline bool isPositionTimeOutdated(qint64 curTime, qint64 posTime)
{
// 10min in trainging area, so a little bit more in excon
return curTime > posTime + 11 * 60 * 1000;
}
}