planner updates pushed

Dirk Hohndel dirk at hohndel.org
Tue Jan 8 14:12:25 PST 2013


I fixed a number of silly bugs and would consider the planner now semi
useful for OC divers that aren't carrying staging bottles that they
aren't using during the planned part of the dive (and that will be the
next enhancement - they ability to tell Subsurface "hey, I have these
other two tanks here with EAN40 and EAN80 - switch to them at the
specified depth during the ascent").

With the last commit you can even print out a silly little diveplan kind
of things:

commit e903fa966ec00118c17af72e6563cac82c4e555c
Author: Dirk Hohndel <dirk at hohndel.org>
Date:   Tue Jan 8 14:05:25 2013 -0800

    Set a default surface pressure for dive plan and allow simplistic print
    
    This commit makes sure we have a reasonable default surface pressure (we
    need an input field for that).
    
    It also adjusts the debug level settings so that compiling this with
    make CLCFLAGS=-DDEBUG_PLAN=3
    will print out an almost usable dive plan.
    
    This is of course still lacking air consumption calculations and will show
    deco stops that we just transit through (if the ceiling lifts far enough
    during the transition to an intended stop that this stop can be skipped;
    this sometimes happens for the first stop (haven't seen it for a later
    one). But it's better than nothing, I guess.



Please test all of this some more.

/D


More information about the subsurface mailing list