@@ -0,0 +1,1054 @@
+package com.easternedgerobotics.rov.measure;%0A%0Aimport com.easternedgerobotics.rov.value.DepthValueA;%0Aimport com.easternedgerobotics.rov.value.DepthValueB;%0Aimport com.easternedgerobotics.rov.value.ExternalPressureValueA;%0Aimport com.easternedgerobotics.rov.value.ExternalPressureValueB;%0A%0Apublic final class Depth %7B%0A    private static final double KPA_ATMOSPHERIC_PRESSURE = 101.325;%0A%0A    private static final double GRAVITATIONAL_ACCELERATION = 9.80665;%0A%0A    private static final double DENSITY_FRESH_WATER = 1000;%0A%0A    public static DepthValueA fromPressure(final ExternalPressureValueA pressure) %7B%0A        return new DepthValueA(fromPressure(pressure.getValue()));%0A    %7D%0A%0A    public static DepthValueB fromPressure(final ExternalPressureValueB pressure) %7B%0A        return new DepthValueB(fromPressure(pressure.getValue()));%0A    %7D%0A%0A    private static float fromPressure(final float value) %7B%0A        return (float) ((value - KPA_ATMOSPHERIC_PRESSURE) / (GRAVITATIONAL_ACCELERATION * DENSITY_FRESH_WATER));%0A    %7D%0A%0A    private Depth() %7B%0A        // ???%0A    %7D%0A%7D%0A

Add depth calculator