Use AGL altitude for helo hold (#1499)

This commit is contained in:
Magnus Wolffelt 2021-08-05 13:52:33 +02:00 committed by GitHub
parent ff571db494
commit 8488a5ec1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,6 +168,8 @@ class WaypointBuilder:
position.y,
meters(500) if self.is_helo else self.doctrine.rendezvous_altitude,
)
if self.is_helo:
waypoint.alt_type = "RADIO"
waypoint.pretty_name = "Hold"
waypoint.description = "Wait until push time"
waypoint.name = "HOLD"