mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +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()),
|
CAngle(position->bank, CAngleUnit::deg()),
|
||||||
CSpeed(position->groundSpeed, CSpeedUnit::kts())
|
CSpeed(position->groundSpeed, CSpeedUnit::kts())
|
||||||
);
|
);
|
||||||
|
situation.setCurrentUtcTime();
|
||||||
situation.setTimeOffsetMs(6000);
|
situation.setTimeOffsetMs(6000);
|
||||||
|
|
||||||
QString transponderName("transponder ");
|
QString transponderName("transponder ");
|
||||||
@@ -862,6 +863,7 @@ namespace BlackCore
|
|||||||
// There is no speed information in a interim packet
|
// There is no speed information in a interim packet
|
||||||
CSpeed(0.0, CSpeedUnit::kts())
|
CSpeed(0.0, CSpeedUnit::kts())
|
||||||
);
|
);
|
||||||
|
situation.setCurrentUtcTime();
|
||||||
situation.setTimeOffsetMs(2000);
|
situation.setTimeOffsetMs(2000);
|
||||||
situation.setInterimFlag(true);
|
situation.setInterimFlag(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user