Sensor Fusion Library 0.6.1
Orientation sensing for Espressif (ESP32, ESP8266) processors
Loading...
Searching...
No Matches
calibration_storage.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020, Bjarne Hansen
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#ifndef CALIBRATION_STORAGE_H
9#define CALIBRATION_STORAGE_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
19bool GetMagCalibrationFromNVM( float *cal_values );
20bool GetGyroCalibrationFromNVM( float *cal_values );
21bool GetAccelCalibrationFromNVM( float *cal_values );
22void SaveMagCalibrationToNVM(SensorFusionGlobals *sfg);
23void SaveGyroCalibrationToNVM(SensorFusionGlobals *sfg);
24void SaveAccelCalibrationToNVM(SensorFusionGlobals *sfg);
25void EraseMagCalibrationFromNVM(void);
26void EraseGyroCalibrationFromNVM(void);
27void EraseAccelCalibrationFromNVM(void);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif //CALIBRATION_STORAGE_H
The top level fusion structure.