mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
AUFTRAG CAP
- Fixed mission speed (unit conversion)
This commit is contained in:
@@ -3777,10 +3777,13 @@ function FLIGHTGROUP:AddWaypoint(Coordinate, Speed, AfterWaypointWithID, Altitud
|
||||
|
||||
-- Set waypoint index.
|
||||
local wpnumber=self:GetWaypointIndexAfterID(AfterWaypointWithID)
|
||||
|
||||
|
||||
-- Speed in knots.
|
||||
Speed=Speed or self:GetSpeedCruise()
|
||||
|
||||
-- Debug info.
|
||||
self:T3(self.lid..string.format("Waypoint Speed=%.1f knots", Speed))
|
||||
|
||||
-- Alt type default is barometric (ASL). For helos we use radar (AGL).
|
||||
local alttype=COORDINATE.WaypointAltType.BARO
|
||||
if self.isHelo then
|
||||
|
||||
Reference in New Issue
Block a user