An intelligent underwater depth estimator exploiting COTS underwater pressure sensors. The filter takes in pressure and temperature from the sensor (and timestamps from an RTC) and uses an alpha-beta filter to calculate the depth of the object, with built-in thermocline, noise and timestamping error compensation.

depth_filter.h

Committer:
swapnilsayansaha
Date:
2020-09-28
Revision:
2:6089e3afb8cb
Parent:
0:b60e4aff03e2

File content as of revision 2:6089e3afb8cb:

#ifndef DEPTH_FILTER_H
#define DEPTH_FILTER_H

class depth_filter_class{ 
    public:
        void d_filt(float P, float prev_timestamp, float current_timestamp, float temp, float salinity, float x0, float dx, float g, float h, float output_arr[3]);
};

#endif