aboutsummaryrefslogtreecommitdiff
path: root/src/modules/position_estimator_inav/inertial_filter.h
blob: 761c17097d37a7688d753dbcd89bed96c60fec87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * inertial_filter.h
 *
 *   Copyright (C) 2013 Anton Babushkin. All rights reserved.
 *   Author: 	Anton Babushkin	<rk3dov@gmail.com>
 */

#include <stdbool.h>
#include <drivers/drv_hrt.h>

void inertial_filter_predict(float dt, float x[3]);

void inertial_filter_correct(float e, float dt, float x[3], int i, float w);