Develop
Ticket #2018 (closed defect: fixed)
Reachable waypoints displayed as not reachable
| Reported by: | davidswelt | Owned by: | max |
|---|---|---|---|
| Priority: | normal | Milestone: | XCSoar 6.3 |
| Component: | Other | Version: | 6.3 |
| Keywords: | Cc: | p.kovari@… |
Description
Loading a simple .cup file for waypoints and no terrain file and starting the simulator, none of the waypoints are shown as reachable after increasing the GPS height manually.
The arrival altitude in the waypoint info screen is always shown as "-988ft", which is related to the "arrival height" setting under "safety factors" (if set to 2000ft, all waypoints show up as -2001ft MSL).
I believe that this is the bug that Peter Kovari <p.kovari@…> has reported.
Attachments
Change History
comment:1 Changed 13 months ago by max
- Owner set to max
- Status changed from new to accepted
That is because the route planner is used to determine waypoint reachability, and there is no fallback for "no known terrain".
comment:2 Changed 13 months ago by apf
Regression caused by commit adfa76d9a7174966b8e1e1cfa355514ee7fd67b3.
As a workaround make sure you have a map file for the area you fly. Display of terrain/topography can still be disabled after that via the display menu or the settings in "Map Display > Terrain" without effecting the arrival height calculation.
comment:4 Changed 13 months ago by davidswelt
If GlideComputerRoute::Reach simply does not return false in case of missing terrain, the calculation seems to work just fine. Waypoints light up as they should, arrival height is shown and safety altitude taken into account. It seems to fall back to the elevation known for the waypoint.
Not having a terrain file seems to be a common occurrence - it would be nice if this worked.
