/** * 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 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; } }