Exemplo n.º 1
0
        private void ScanLocation()
        {
            var grav = navigationSystems.RemoteControl.GetNaturalGravity();

            grav.Normalize();
            var targetLoc = CurrentOrder.PrimaryLocation - (grav * hoverHeight);

            navigationSystems.HoverApproach(targetLoc, 20, hoverHeight, trackingSystems.GetAltitudeIncDir());

            navigationSystems.AlignUpWithGravity();
            //navigationSystems.StopRoll();
            navigationSystems.AlignTo(targetLoc);
        }