if(sensor_health.depth){// we can use the external pressure sensor for a very accurate and current measure of our z axis position
if(ap.depth_sensor_present&&sensor_health.depth){// we can use the external pressure sensor for a very accurate and current measure of our z axis position