Siphon Regulator
1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
Siphon_regulator
Core
Inc
sensor_fcn_def.h
Go to the documentation of this file.
1
/*
2
* sensor_fcn library
3
* (c) Antonin_Putala 2026
4
*
5
* Developed using STM32CubeIDE
6
* Tested on BluePill board and STM32F103C8T6, 32 MHz.
7
*/
8
20
#ifndef INC_SENSOR_FCN_DEF_H_
21
#define INC_SENSOR_FCN_DEF_H_
22
23
/* Defines ------------------------------------------------*/
25
#define CAL_CYC_NUM 100
26
28
#define MEAS_TIME 10
29
31
#define CAL_TIME 10
32
33
/* Static functions declaration ---------------------------*/
34
/* Function prototypes ------------------------------------*/
44
static
void
sensor_calibration
(
float
* gyr_offset);
45
47
#endif
/* INC_SENSOR_FCN_DEF_H_ */
sensor_calibration
static void sensor_calibration(float *gyr_offset)
It performs the computation of the gyroscope offset.
Generated by
1.12.0