ArduPilot / ArduPilot/MissionPlanner

WayPoint Glide Slope Angle Calculations are Wrong Sometimes

Open
#1,950 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

#### Issue details
The calculated "Angle" in the flight planing table is wrong some times. This is critical for Fixed wing landing plans.

This occurs when I have distance and altitude units configured for feet, I believe this issue is likely related to unit conversion.

The screenshot below shows a glide slope of three degrees with a 400Ft descent over 2300 ft. The angle should report -9.8 degrees here

![image](https://user-images.githubusercontent.com/2849049/46249650-9c2c3180-c3e1-11e8-8c34-3dd6ea402606.png)

#### Version
1.3.58

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in Mission Planner 1.3.58 with distance and altitude configured in feet, using a 400 ft descent over 2300 ft in a fixed-wing landing plan. Trace the waypoint glide-slope angle calculation and its unit conversion; done means the example reports -9.8 degrees and equivalent configurations remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.