Siphon Regulator 1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
sensor_fcn.c File Reference
#include "sensor_fcn.h"
#include "sensor_fcn_def.h"
#include "main.h"
#include "driver_mpu9250_basic.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void sensor_init (float *gyr_offset)
 It initiates communication with the sensor.
 
void sensor_get_value (float *gyr_offset)
 It handles reading the value from the sensor.
 
void sensor_deg_limit (float *p_deg)
 It normalizes the orientation value to the –180° to +180° range.
 
static void sensor_calibration (float *gyr_offset)
 

Function Documentation

◆ sensor_calibration()

static void sensor_calibration ( float * gyr_offset)
static

Definition at line 102 of file sensor_fcn.c.