refs #691 INetwork must set timestamp for received situations.

This commit is contained in:
Mathew Sutcliffe
2016-06-28 18:21:47 +01:00
parent 37b8436ebb
commit 76db851bc4

View File

@@ -785,6 +785,7 @@ namespace BlackCore
CAngle(position->bank, CAngleUnit::deg()),
CSpeed(position->groundSpeed, CSpeedUnit::kts())
);
situation.setCurrentUtcTime();
situation.setTimeOffsetMs(6000);
QString transponderName("transponder ");
@@ -862,6 +863,7 @@ namespace BlackCore
// There is no speed information in a interim packet
CSpeed(0.0, CSpeedUnit::kts())
);
situation.setCurrentUtcTime();
situation.setTimeOffsetMs(2000);
situation.setInterimFlag(true);