Subsurface dive planner - List of findings

Stefan Fuchs sfuchs at gmx.de
Sat Feb 14 12:37:31 PST 2015


Hello Robert,
Hello All,

example files plus description...

Am 14.02.2015 um 20:57 schrieb Robert C. Helling:
>
>> On 14 Feb 2015, at 18:43, Stefan Fuchs <sfuchs at gmx.de
>> <mailto:sfuchs at gmx.de>> wrote:
>>
>> I meanwhile found out that the missing gas change information in the
>> calculated plan has also s.th <http://s.th>. to do with an "injected"
>> waypoint which I didn't enter but which appears in some cases.
>> I do the following:
>> - I have a dive in the planner mode with three gases: Tx21/35,
>> EAN50 at 21m and Oxy at 6m
>> - Waypoints are:
>> 52m    5              Tx21/35
>> 52m    15            Tx21/35
>> 40m    16            Tx21/35
>> 40m    30            Tx21/35
>> 21m    32            Tx21/35
>> 21m    34            Tx21/35
>> 21m    37            EAN50
>> - The result I get at the first moment is good. I have a calculated
>> dive plan which shows the gas change to EAN50 at 21m and to Oxy at 6m.
>> - Now I save the dive
>> - Now when I replan the dive the waypoint list has one more entry:
>> 52m    5              Tx21/35
>> 52m    15            Tx21/35
>> 40m    16            Tx21/35
>> 40m    30            Tx21/35
>> 21m    32            Tx21/35
>> 21m    34            Tx21/35
>> *21m    34            Tx21/35*     <---  This one added by the tool
>> 21m    37            EAN50
>> - The calculated dive plan is still ok save the fact that it doesn't
>> show the gas change to EAN50 at 21m any more
>> - When I delete the additional 21m  34 entry again manually the
>> result is perfect again but the "injected" entry will appear again
>> and again when replanning the dive
>
> Would you mind mailing me the saved dive? That dive is a bit uncommon,
> with the repeated depth of 21m and the gas change only later. That
> might confuse the logic that decides which waypoints to show and which
> to suppress which is already a bit convoluted, to quote from the source:
>
> 		if ((dp->depth == lastdepth && dp->depth != nextdp->depth) || plan_display_transitions || dp->entered || !dp->next || (gaschange && dp->next && dp->depth != nextdp->depth)) {
> May I ask why in the first place you entered any waypoints beyond the 40m ones? The 21m stop would have been handled by the planner (with the gas change right at the beginning)?
Please find Dive1.xml attached.

I saw the question coming why I'm doing this ;-)

First of all Subsurface up to now has no option to give a time needed
for the gas change. So I would like to tell the tool that I need about
2min for the gas change. Then even with tools having this option I also
prefer to stay after gas change for about 3min at 21m before continuing
to ascent and I prefer to put this in the plan. In fact you  benefit
from this for the following deco stops. Honestly I know that maybe no
one else is doing this and maybe it's even somehow stupid but for me it
has also the advantage that such a plan is getting much closer to what I
finally really can dive. With a plan with no plateau at 21m at all I
would be always behind the plan after gas change at 21m.

>
>>
>>
>>>> - When I save a planned dive with two gas changes e.g. to EAN50 and
>>>> OXY, in the profile view the two gas changes exchange there
>>>> position. You can even watch the two bottles walking to the other
>>>> position.
>>>
>>> This I cannot reproduce. Please be more specific how to reproduce
>>> that behaviour.
>> Yeah, this in fact is the most funny issue I found! ;-) Maybe I
>> should do a video of this one?!
>> What happens is:
>> - I have a dive in the planner mode with three gases: Tx21/35,
>> EAN50 at 21m and Oxy at 6m
>> - Waypoints are:
>> 52m    5
>> 52m    15
>> 40m    16
>> 40m    30
>> - The calculated plan looks perfect with gas changes at 21m and 6m
>> - Now I save the plan with the "Speichern" button
>> - Now I can really in the profile view watch the cute little tanks
>> for gas change to EAN50 and Oxy walking to each others position
>
> Are you starting from an empty dive list? When I do I cannot reproduce
> this. Maybe it’s again something with preexisting dives. If you start
> from an existing dive, would you mind to mail me that as well?
With file Dive1.xml I can reproduce the "walking tanks" by doing the
following:
- Open file
- Replan dive
- Remove all waypoints which were not from user input but from
calculation (all waypoints with <21m and the two waypoints at 21m with 0min)
- Save
--> Tanks for gas change EAN50 and Oxy will "walk" to each others position

>
>> I already started to type this when Joakims mail arrived which mostly
>> explains my finding because yes, I'm using a OSTC 2N and these
>> "zombie gases" may have been in the gas list of the OSTC.
>> Nevertheless I decided to not delete my description. Maybe it would
>> be worthwhile to fix Subsurface in a way to not copy the unused gases
>> from dive computer to gases for planning while at the same moment not
>> showing them in the list from first moment. 
>
> I think at some point I sent a patch to that effect but other people
> argued that the list of all gases should be what the user wants. I
> cannot recall the rationale.
I would like the patch ;-)
>
>
>> What happens on my side is the following:
>> - I select a "real" dive in my logbook where I only used one gas EAN32
>
> Could you send that dive as well? I cannot  reproduce this without.
Please see Dive2.xml

BTW: When exporting the XML I found also a small issue there. In the
file dialog for the export if I give a filename w/o extension like
"Dive2" then the export file is named "Dive2.xml,". I assume the
trailing comma is a mistake.


Viele Grüße
Stefan

-- 

Stefan Fuchs
Banzhaldenstr. 66
70469 Stuttgart
Tel.: 0711/4116289
Mobil: 0172/8922025
E-Mail: sfuchs at gmx.de <mailto:sfuchs at gmx.de>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150214/e7e19442/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dive1.xml
Type: text/xml
Size: 5588 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150214/e7e19442/attachment-0002.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dive2.xml
Type: text/xml
Size: 18123 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150214/e7e19442/attachment-0003.xml>


More information about the subsurface mailing list