aboutsummaryrefslogtreecommitdiff
path: root/src/modules/position_estimator_inav/inertial_filter.h
blob: cdeb4cfc6c70f238d93615a710b383d6038f0c01 (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], float acc);

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