ArduPilot / ArduPilot/MAVProxy

MavProxy reports incorrect altitude with constant bias

Open
#1,078 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

I am using MavProxy 1.8.50.

I noticed that the reporting altitude is always 5 meters higher than the real altitude.

However the 'Alt' field in menu bar is correct.

Commands to reproduce:
> mode GUIDED
> arm throttle
> takeoff 10 (reporting 'height 15')
> position 0 0 -10 (reporting 'height 25')

![Screenshot from 2022-06-28 21-48-54](https://user-images.githubusercontent.com/28821472/176341346-329d287a-a89e-4e1b-8acb-6768b9f60752.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the GUIDED takeoff and position commands described in the issue, then compare the reported height with the menu bar's Alt field. Trace where these two altitude values are produced; done means the reporting height no longer has the stated 5-meter bias while the Alt field remains correct.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.