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 Add test for profile data 2020-05-04 13:39:18 -07:00
Demo_SmartTrak.slg
Dive_2013-02-02-1614.xml
DL7.xml Clean up divecomputer 'device' handling 2021-08-18 13:22:02 -07:00
DL7.zxu Add two dive headers to DL7 sample 2018-01-08 06:06:12 +02:00
Example.log
exportprofilereference.csv Allow for more O2 sensors 2024-01-23 19:24:53 +01:00
exportprofilereferenceVPMB.csv Allow for more O2 sensors 2024-01-23 19:24:53 +01:00
gps-import.gpx Desktop: Import gps coordinates: test files 2020-01-24 09:51:51 -08:00
gps-import.xml Desktop: Import gps coordinates: test files 2020-01-24 09:51:51 -08:00
mergedVyperOstc.xml Clean up divecomputer 'device' handling 2021-08-18 13:22:02 -07:00
ostc.xml
ostc_00087_04-05-2014_043m_032min.dive
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 Correct celcius/celsius typo in test dives 2020-02-09 14:41:43 -08:00
test0.xml
test0b.xml
test1.xml
test2.xml
test3.xml
test4.xml
test5.xml
test6.xml
test7.xml
test8.xml
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 Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test16.xml
test17.xml
test18.xml
test19.xml
test20.xml
test21.xml
test22.xml
test23.xml
test24.xml
test25.xml
test26.xml
test27.xml
test28.xml
test29.xml
test30.xml
test31.xml
test32.xml
test33.xml
test34.xml
test35.xml
test36.xml Add test dive with heart rate information 2014-07-29 15:43:52 -07:00
test38.xml
test40-42.xml Don't attempt to compute SAC for CCR dives 2021-11-24 11:03:51 -08:00
test40.xml
test41.csv
test42.xml
test43.xml
test44.xml
test47+48.xml Fix pO2 for CCR at shallow depths 2021-02-26 08:42:30 -08:00
test47.xml Fix pO2 for CCR at shallow depths 2021-02-26 08:42:30 -08:00
test47b.xml
test47c.xml
test48+47.xml Fix pO2 for CCR at shallow depths 2021-02-26 08:42:30 -08:00
test48.xml Dive site: fix merging tests 2019-04-12 18:19:07 +03:00
test50.xml
test51.xml Fixed get_gas_at_time for equal times 2018-10-30 15:33:43 +01:00
TestAPDLogViewer.csv Correct celcius/celsius typo in test dives 2020-02-09 14:41:43 -08:00
TestAtmPress.xml Convert the atmospheric pressure in the Information Tab to an editable field 2019-05-15 07:37:14 -07:00
TestComma.csv Correct celcius/celsius typo in test dives 2020-02-09 14:41:43 -08:00
TestDiveDivelogsDE.DLD
TestDiveDivelogsDE.udcf
TestDiveDivelogsDE.xml Fix pO2 for CCR at shallow depths 2021-02-26 08:42:30 -08:00
TestDiveDivingLog5.08.udcf
TestDiveDivingLog5.08.uddf
TestDiveDivingLog5.08allimperial.xml
TestDiveDivingLog5.08allmetric.xml
TestDiveDivingLog5.08allmetric.zip
TestDiveDM3.SDE
TestDiveDM4.db
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 Clean up divecomputer 'device' handling 2021-08-18 13:22:02 -07:00
TestDiveJDiveLog.jlb
TestDiveSeabearH3_0002SBDT.CSV
TestDiveSeabearH3_0003SBDT.CSV
TestDiveSeabearH3_0004SBDT.CSV
TestDiveSeabearH3_0005SBDT.CSV
TestDiveSeabearHUDC.csv Add test dive for Seabear HUDC 2014-10-28 07:25:34 -07:00
TestDiveSeabearHUDC.xml Clean up divecomputer 'device' handling 2021-08-18 13:22:02 -07:00
TestDiveSeabearNewFormat.xml Adopt tests to updated CNS and OTU calculations 2021-08-19 10:58:08 -07:00
TestDiveSeabearT1_0001SBDT.CSV
TestDiveSeabearT1_0002SBDT.CSV
TestDiveSeabearT1_0003SBDT.CSV
TestDiveSeabearT1_0004SBDT.CSV
TestDiveSeabearT1_0005SBDT.CSV
TestDiveSeacSync.db Implement Seac SeacSync databaser parser. 2020-09-04 15:54:08 +03:00
TestDivingLog4.1.1.sql
testsensormove.xml Add test dive for sensor move functionality 2022-03-12 11:26:05 -08:00
TestSensusSingle.csv
TestXP5_de.csv
TwoTimesTwo.ssrf
vyper.xml