Fwd: Subsurface UI for CCR dives

Willem Ferguson willemferguson at zoology.up.ac.za
Mon Nov 3 08:24:34 PST 2014


On Mon, Nov 3, 2014 at 9:18 AM, Willem Ferguson 
<willemferguson at zoology.up.ac.za 
<mailto:willemferguson at zoology.up.ac.za>> wrote:

    Tomaz,
    I suspect you are pretty busy with the filter mechanism, especially
    with Dirk who is trying to beat you into submission. This is a major
    new development (the filter, not the beating).

    The data import and internal representation of cylinder pressures
    are more or less complete now, so I am looking at issues that deal
    more with the representation of CCR dive logs.

    Is there any possibility of looking into the possibility of plotting
    the sensor and setpoint information for these dive logs? What do you
    think is realistically possible?



    Kind regards,
    willem



Can you ellaborate a bit more?
1 - where the plotting should be taken place, the profile widget or any 
other place?
2 - how it should look like?
3 - what it needs to be done?


Hallo Tomaz,

Here is a mail I sent to the subsurface mail list some 2 weeks ago. I 
hope it gives some indication of what i am thinking about???

Kind regards,
willem


-------- Forwarded Message --------
Subject: 	Subsurface UI for CCR dives
Date: 	Tue, 14 Oct 2014 09:35:48 +0200
From: 	Willem Ferguson <willemferguson at zoology.up.ac.za>
Reply-To: 	willemferguson at zoology.up.ac.za
Organization: 	University of Pretoria
To: 	subsurface at hohndel.org <subsurface at hohndel.org>



The code for implementing CCR dives has mostly been completed, barring a
few small issues. I think it is time that we start considering what the
UI should look like for CCR dives.

My proposal is that not much changes. As is, the gas pressure graphs
adequately show gas partial pressures during the dive. and the placing
of the gas pressure graphs is efficient.

Oxygen analysis:
I propose that we add another button to the profile tool bar, perhaps
something like the attached icon "o2icon.jpg", indicating "Oxygen
Analysis". When this button is activated, the normal gas partial
pressures are replaced with graphs for the setpoint as well as for the
po2 as measured by each of the sensors. In the case of the Poseidon
data, there should be three lines in the graph: setpoint (maybe in black
or in red) and the partial pressures as seen by each of the two o2
sensors. Ideally, the graphs for the o2 sensors should not have the same
colour. This is because if one particular sensor tends to give a high
reading or a low reading or a variable reading, one would like to know
which of the sensors it is. I have made a mockup, attached as
OxygenAnalysis.jpg, serving as a proposal for a situation for which the
o2 sensors show no abnormality. The setpoint graph is likely to be more
angular than on the figure. Careful attention needs to be given to the
colours of the lines. The black line on the mockup does not contrast
particularly well with the other two lines and red might have been better.
Sensor data are found in array plot_data.o2sensor[3] defined in profile.h.
Setpoint data are found in plot_data.o2setpoint.
To detect  a CCR dive, check whether divecomputer.dctype has an enum
vaue of CCR.
The number of o2 sensors in the system is found in
divecomputer.no_o2sensors. There is provision for up to 3 oxygen sensors.

Cylinder gas pressures:
The Poseidon is possibly the only CCR system with gas integration on
both cylinders but the demand for gas integration is growing (e.g. for
the Shearwater Nerd which is basically a modified Petrel). With CCR
dives, cylinder 0 is assumed to be the oxygen cylinder and cylinder 1 is
assumed to hold the diluent gas. If baleout takes place, it would be to
cylinder 2. The oxygen pressures (mbar) are found in
plot_data.pressure[2], defined in profile.h. pressure[0] has the raw
sensor pressure data while pressure[1] contains the interpolated values
between measured data points. Similarly, the pressure of the diluent gas
is held in plot_data.diluentpressure[2] (raw measurements in
diluentpressure[0] and interpolations in diluentpressure[1]. Two lines,
indicating the pressures in the two cylinders need to be draw, as
opposed to the single line that has been the case to date.

These are my ideas. Do you think this is sensible? Any other ideas,
suggestions or proposals that are implementable with the existing
Subsurface dive information?
Kind regards,
willem







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141103/ac6a2b81/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o2icon.jpg
Type: image/jpeg
Size: 3197 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141103/ac6a2b81/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OxygenAnalysis.jpg
Type: image/jpeg
Size: 40319 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20141103/ac6a2b81/attachment-0003.jpg>


More information about the subsurface mailing list