ArduPilot / ArduPilot/MissionPlanner
Incorrect Tracker Altitude from "Tracker Home -> Set Here"
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 2.9k
- Avg merge
- 19h 16m
- Merged PRs (30d)
- 4
Description
Recently I wrote about the wrong calculation ELToMAV, now seems to be OK. Everything is fine when I use default TrackerLocation (HomeLocation). Problem is "Tracker Home -> Set Here" option, which refers to function in TrackerHomeGPS.cs :
void setFromPlannerLocation(object sender, EventArgs e)
{
Host.comPort.MAV.cs.TrackerLocation = new PointLatLngAlt(this.Host.FPMenuMapPosition);
}
Using the inverse calculations I noticed that the TrackerLocation.Alt is set to 0, when I manually chose Tracker Home.
Unfortunately, I have no way of checking the option "Tracker Home -> Obtain From Module"
Thanks for last patch
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in TrackerHomeGPS.cs at setFromPlannerLocation and inspect how the selected Host.FPMenuMapPosition becomes TrackerLocation. Compare that value with the default HomeLocation behavior and verify that manually setting Tracker Home preserves the expected altitude instead of zero.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100