|
RocketLogger
1.0
|
#include "calibration.h"
Include dependency graph for calibration.c:Go to the source code of this file.
Functions | |
| void | reset_offsets (void) |
| void | reset_scales (void) |
| int | read_calibration (struct rl_conf *conf) |
| int read_calibration | ( | struct rl_conf * | conf | ) |
Read in calibration file.
| conf | Pointer to rl_conf struct. |
Definition at line 33 of file calibration.c.
References CAL_IGNORE, calibration, rl_conf::calibration, CALIBRATION_FILE, rl_status::calibration_time, FAILURE, NUM_CHANNELS, rl_calibration::offsets, reset_offsets(), reset_scales(), rl_conf::sample_rate, rl_calibration::scales, status, SUCCESS, and rl_calibration::time.
Referenced by hw_sample(), and rl_read_calibration().
Here is the call graph for this function:| void reset_offsets | ( | void | ) |
Copyright (c) 2016-2017, ETH Zurich, Computer Engineering Group Set all offsets to default state (0).
Definition at line 11 of file calibration.c.
References calibration, NUM_CHANNELS, and rl_calibration::offsets.
Referenced by read_calibration().
| void reset_scales | ( | void | ) |
Set all scales to default state (1).
Definition at line 21 of file calibration.c.
References calibration, NUM_CHANNELS, and rl_calibration::scales.
Referenced by read_calibration().