Develop

Ticket #2018 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

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

Screen Shot 2012-04-19 at 2.38.30 PM.png (41.6 KB) - added by davidswelt 13 months ago.
Screen Shot 2012-04-19 at 2.38.33 PM.png (57.1 KB) - added by davidswelt 13 months ago.

Change History

Changed 13 months ago by davidswelt

Changed 13 months ago by davidswelt

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:3 Changed 13 months ago by davidswelt

  • Cc p.kovari@… added

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.

comment:5 Changed 13 months ago by davidswelt

  • Summary changed from Reachable waypoints not reachable to Reachable waypoints displayed as not reachable

comment:6 Changed 13 months ago by max

  • Status changed from accepted to closed
  • Resolution set to fixed

e39497f61ee372a11c229fa13dbbbf10d7d3bc22

Note: See TracTickets for help on using tickets.