ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
ekf_imu13states.h
Go to the documentation of this file.
1// Copyright 2020-2021 Espressif Systems (Shanghai) PTE LTD
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#ifndef _ekf_imu13states_H_
16#define _ekf_imu13states_H_
17
18#include "ekf.h"
19
31class ekf_imu13states: public ekf {
32public:
34 virtual ~ekf_imu13states();
35 virtual void Init();
36
37 // Method calculates Xdot values depends on U
38 // U - gyroscope values in radian per seconds (rad/sec)
39 virtual dspm::Mat StateXdot(dspm::Mat &x, float *u);
40 virtual void LinearizeFG(dspm::Mat &x, float *u);
41
45 void Test();
51 void TestFull(bool enable_att);
52
61
65 int NUMU;
66
76 void UpdateRefMeasurement(float *accel_data, float *magn_data, float R[6]);
85 void UpdateRefMeasurementMagn(float *accel_data, float *magn_data, float R[6]);
94 void UpdateRefMeasurement(float *accel_data, float *magn_data, float *attitude, float R[10]);
95
96};
97
98#endif // _ekf_imu13states_H_
Matrix.
Definition mat.h:30
void TestFull(bool enable_att)
virtual ~ekf_imu13states()
void UpdateRefMeasurement(float *accel_data, float *magn_data, float R[6])
virtual void LinearizeFG(dspm::Mat &x, float *u)
void UpdateRefMeasurementMagn(float *accel_data, float *magn_data, float R[6])
virtual dspm::Mat StateXdot(dspm::Mat &x, float *u)
virtual void Init()
ekf(int x, int w)
Definition ekf.cpp:19
float x[1024]
Definition test_fir.c:10