first cut of dive planning

Jan Schubert Jan.Schubert at GMX.li
Sat Jan 5 13:00:46 PST 2013


On 01/05/13 19:30, Dirk Hohndel wrote:

>> I tried to play around with different segments (time and depth) in
>> planner.c but quite often ended up in such saw tooth profiles. The
>> screenshot is from just defining a single segment:
>> plan_add_segment(&diveplan, 70000, 136000, 120, 700);
> Ok, I'm heading out and won't get to it till later this evening, but
> I'll use that to try and hunt down the bug...

As you did not ask why I used such long durations I'll tell anyway :-)
Of course it is for testing but actually I've not been able to add
segments for this depth with durations shorter than 20.000 (seconds?).
Subsurface just stopped working in this case doing nothing anymore. Try
2.000 for example, can anyone else confirm this?

BTW1: Do you know about this dive planning feature in the OSTC you have?
There is quite a good integration in JDiveLog using the real deco
calculation from them OSTC which might help you to compare the results
in subsurface.

BTW2: as we seem to calculate the diveplan for each second, we do not
have the tissue saturations stored for each of this sample in an array
of the diveplan or something like this? If so we could add a
visualization of the tissue saturations as implemented in the OSTC. This
has been copied into the Shearwater Petrel lately and will for sure also
be available in the Predator soon. This is video show how this looks
like on the Petrel: http://www.youtube.com/watch?v=O81vX79X_mA

Actually I like the visualization on the OSTC more as it has seperate
graphs for Helium and Nitrogen and I see much room for improving the
graphs (especialy on the Petral but also on the OSTC). I use them in
every dive and I would for sure have a close look in such a graph if it
would be there in Subsurface (part of the overlay which might become
really crowded then). But lets do one step after another, just started
to dream...

For the Disclaimer you talked about: I would just note that this is for
educational purposes only and not meant for real diving. But to be
honest: Outside the US the risk of getting sued due to this is quite low :-)

Thx a lot,
Jan



More information about the subsurface mailing list