subsurface/dives/exportprofilereference.csv
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

5.4 MiB

1in_decosecpressure_0_cylinderpressure_0_interpolatedtemperaturedepthceilingceiling_0ceiling_1ceiling_2ceiling_3ceiling_4ceiling_5ceiling_6ceiling_7ceiling_8ceiling_9ceiling_10ceiling_11ceiling_12ceiling_13ceiling_14ceiling_15percentage_0percentage_1percentage_2percentage_3percentage_4percentage_5percentage_6percentage_7percentage_8percentage_9percentage_10percentage_11percentage_12percentage_13percentage_14percentage_15ndlttsrbtstoptimestopdepthcnssmoothedsacrunning_sumpressureo2pressuren2pressureheo2pressureo2sensor0o2sensor1o2sensor2o2setpointscr_oc_po2modeadendeaddvelocityspeedin_deco_calcndl_calctts_calcstoptime_calcstopdepth_calcpressure_timeheartbeatbearingambpressuregflinesurface_gfdensityicd_warning
The file is too large to be shown. View raw