Develop

Ticket #1907 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

TaskAbort (AbortMode) does not seem to give reasonable suggestions

Reported by: hjr Owned by: apf
Priority: high Milestone: XCSoar 6.3
Component: Task Version: 6.3
Keywords: AbortMode Cc:

Description

There are several way to abort from a task and switch to a near target to land safely. According to the manual all of them should obey the configured "Alternates mode".
The list obtained by the "Alternates" button does list the first choice according to the configured mode.
The Nav-Nav-TaskAbort? button does something completely different. It even selects targets out of reach (might be connected to #1809). I could not pick-up any logic behind and would call it broken.

Attachments

42.png (212.9 KB) - added by hjr 14 months ago.
27.png (232.3 KB) - added by hjr 14 months ago.

Change History

comment:1 Changed 14 months ago by apf

I have had a short look at "Abort Task".

It does the following (sorted by time needed to reach that alternate with up to 10 suggestions in the following order):

  1. Add all airports to the list which are reachable with a final glide, then
  2. Add all landables (i.e. outlanding fields) to the list which are reachable with final glide, then
  3. Add any landable to the list withing search range, even if not reachable.

Search range is variable: Minimum is 50km, Maximum 100km. The actual value used is between that two values depending on current altitude and the gliders best L/D. This makes sense as even if nothing is reachable currently you still want to get some weighted suggestion which alternates to try. #1809 is a different issue.

Not having written the code I guess a "Abort Task" and the "Alternates List" (the values are also shown in the Alternates InfoBoxes?) serve a different purpose. The first one is used when you have to really abort a task because of imminent problems (e.g. approaching weather) whereas the latter is more a "route progress" planning tool (subject to your personal preferences configured in the settings). E.g. if your goal is not really to abort but to have some alternates always withing reach (while progressing on your planned task) the "Alternates mode" "Task" would be a useful setting. "Home" for pilots who prefer not to annoy the retrieval crew and "Simple" for a setting which is somewhat like the "Abort Task" behaviour (distance based).

comment:2 Changed 14 months ago by hjr

  • Summary changed from TaskAbort (AbortMode) does not use the configured Alternates mode to TaskAbort (AbortMode) does not seem to give reasonable suggestions

comment:3 Changed 14 months ago by hjr

Ok, that gives me good directions. I will change the manual accordingly.

Nevertheless the abort mode does not seem to give reasonable suggestions.
1) The abort mode seems to be insensitive to the alternate mode. Ok, that is intended and was wrongly described in the manual. Correct?!
2) There must be some logic behind the suggested abort target. I can not figure out which. For this reason I made some screenshots that hopefully explain what I mean.

  • The abort mode guides to non reachable targets, even if there are perfectly reachable ones. Correct?
  • The abort mode stays with that suggestion even if "home" is reachable. Correct?
  • What is the key by that targets are sorted?
  • The direction of the next task way point does not influence, home direction does not influence. Correct?

3) LK8000 manual does not help either.

BTW: home:=Freiburg, safety MC=0.3, any alternates mode, MC manual=0.3, no wind.

Changed 14 months ago by hjr

Changed 14 months ago by hjr

comment:4 Changed 14 months ago by apf

  • Owner set to apf
  • Status changed from new to accepted

comment:5 Changed 14 months ago by apf

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

Fixed with commit 150cd2b689a98126ba648de433150f89a073c44d. Preselects the waypoint using the method described in comment 1 when the abort task is activated.

Note: See TracTickets for help on using tickets.