Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 2:6089e3afb8cb, committed 2020-09-28
- Comitter:
- swapnilsayansaha
- Date:
- Mon Sep 28 20:16:46 2020 +0000
- Parent:
- 1:9f9b089e10ab
- Commit message:
- Updated comments;
Changed in this revision
| depth_filter.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/depth_filter.cpp Mon Sep 28 20:15:30 2020 +0000
+++ b/depth_filter.cpp Mon Sep 28 20:16:46 2020 +0000
@@ -28,7 +28,7 @@
density_seawater = rho_zero/(1- (P/bulk_modulus));
z = P/(density_seawater*9.80665);
- //alpha-beta filter (robust to timestamping errors and
+ //alpha-beta filter (robust to timestamping errors and noise)
x_est = x0;
dt = current_timestamp - prev_timestamp;
output_arr[0] = current_timestamp; //input this as prev_timestamp for subsequent calls