mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #691 INetwork must set timestamp for received situations.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user