subsurface/dives
Robert C. Helling e794efaba6 Allow for more O2 sensors
The Divesoft Liberty has four O2 sensors. So far, we had a hard coded
limit of three sensors and crashed with a failed assert when we
encoutered more than three. This allows for up to
MAX_O2_SENSORS which is currently 6. The voting logic is adapted
accordingly: We sort the values and we keep deleting the values that
differ more than 20% by value from the closest. This follows what
Shearwater implements on their computers.

In some of the import/export functions the value is still hard
coded to 6 thanks to explicit field names.

Signed-off-by: Robert C. Helling <helling@lmu.de>
2024-01-23 19:24:53 +01:00
..
images
abitofeverything.ssrf
Demo_SmartTrak.slg
Dive_2013-02-02-1614.xml
DL7.xml
DL7.zxu
Example.log
exportprofilereference.csv
exportprofilereferenceVPMB.csv
gps-import.gpx
gps-import.xml
mergedVyperOstc.xml
ostc.xml
ostc_00087_04-05-2014_043m_032min.dive OSTCTools-Add two sample dives 2015-04-04 12:25:52 -07:00
ostc_00173_17-08-2013_027m_043min.dive
Poseidon_MkVILog.csv
Poseidon_MkVILog.txt
sac-test.xml Change gas in second cylinder in sac-test-dives 2013-12-02 12:33:47 -08:00
SampleDivesV2.ssrf
tank_pressure.xml
Test.csv
test0.xml
test0b.xml Change fake profile behavior 2014-01-08 21:54:29 +08:00
test1.xml
test2.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test3.xml
test4.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test5.xml
test6.xml
test7.xml Update test dives 2011-11-04 14:54:22 -07:00
test8.xml Fix missing pressure plot at start of the dive in some situations 2011-11-04 15:38:46 -07:00
test9.xml
test9a.xml
test10.xml
test11.xml
test12.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test13.xml
test14.xml
test15.xml
test16.xml
test17.xml
test18.xml
test19.xml
test20.xml
test21.xml
test22.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test23.xml
test24.xml Correctly deal with empty XML files 2012-09-17 21:03:30 -04:00
test25.xml
test26.xml
test27.xml
test28.xml
test29.xml
test30.xml Test dive for events 2013-12-28 07:40:54 -08:00
test31.xml
test32.xml
test33.xml
test34.xml
test35.xml
test36.xml
test38.xml
test40-42.xml
test40.xml CCR test dive 2014-11-17 00:24:33 +00:00
test41.csv
test42.xml
test43.xml
test44.xml
test47+48.xml
test47.xml Fix pO2 for CCR at shallow depths 2021-02-26 08:42:30 -08:00
test47b.xml
test47c.xml
test48+47.xml
test48.xml
test50.xml
test51.xml
TestAPDLogViewer.csv
TestAtmPress.xml
TestComma.csv
TestDiveDivelogsDE.DLD
TestDiveDivelogsDE.udcf
TestDiveDivelogsDE.xml
TestDiveDivingLog5.08.udcf
TestDiveDivingLog5.08.uddf
TestDiveDivingLog5.08allimperial.xml Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08allmetric.xml
TestDiveDivingLog5.08allmetric.zip
TestDiveDM3.SDE
TestDiveDM4.db Suunto DM4 sample dive 2013-03-05 11:08:08 -08:00
TestDiveDM4.xml Clean up divecomputer 'device' handling 2021-08-18 13:22:02 -07:00
TestDiveDM5.db Test dives in DM5 database format 2017-11-27 13:42:10 -08:00
TestDiveDM5.xml
TestDiveJDiveLog.jlb
TestDiveSeabearH3_0002SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearH3_0003SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearH3_0004SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearH3_0005SBDT.CSV
TestDiveSeabearHUDC.csv
TestDiveSeabearHUDC.xml
TestDiveSeabearNewFormat.xml
TestDiveSeabearT1_0001SBDT.CSV
TestDiveSeabearT1_0002SBDT.CSV
TestDiveSeabearT1_0003SBDT.CSV
TestDiveSeabearT1_0004SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearT1_0005SBDT.CSV
TestDiveSeacSync.db Implement Seac SeacSync databaser parser. 2020-09-04 15:54:08 +03:00
TestDivingLog4.1.1.sql
testsensormove.xml
TestSensusSingle.csv
TestXP5_de.csv
TwoTimesTwo.ssrf
vyper.xml Add test for merging multiple cylinders 2017-02-09 22:22:12 -08:00