#include <AccelCalibrator.h>
|
| | AccelCalibrator () |
| |
| void | start (enum accel_cal_fit_type_t fit_type=ACCEL_CAL_AXIS_ALIGNED_ELLIPSOID, uint8_t num_samples=6, float sample_time=0.5f) |
| |
| void | start (enum accel_cal_fit_type_t fit_type, uint8_t num_samples, float sample_time, Vector3f offset, Vector3f diag, Vector3f offdiag) |
| |
| void | clear () |
| |
| bool | running () |
| |
| void | collect_sample () |
| |
| void | check_for_timeout () |
| |
| void | get_calibration (Vector3f &offset) const |
| |
| void | get_calibration (Vector3f &offset, Vector3f &diag) const |
| |
| void | get_calibration (Vector3f &offset, Vector3f &diag, Vector3f &offdiag) const |
| |
| void | new_sample (const Vector3f &delta_velocity, float dt) |
| |
| bool | get_sample (uint8_t i, Vector3f &s) const |
| |
| bool | get_sample_corrected (uint8_t i, Vector3f &s) const |
| |
| void | set_tolerance (float tolerance) |
| |
| enum accel_cal_status_t | get_status () const |
| |
| uint8_t | get_num_samples_collected () const |
| |
| float | get_fitness () const |
| |
Definition at line 34 of file AccelCalibrator.h.
◆ VectorP
◆ AccelCalibrator()
| AccelCalibrator::AccelCalibrator |
( |
| ) |
|
◆ accept_result()
| bool AccelCalibrator::accept_result |
( |
| ) |
const |
|
private |
◆ accept_sample()
| bool AccelCalibrator::accept_sample |
( |
const Vector3f & |
sample | ) |
|
|
private |
◆ calc_jacob()
| void AccelCalibrator::calc_jacob |
( |
const Vector3f & |
sample, |
|
|
const struct param_t & |
params, |
|
|
VectorP & |
ret |
|
) |
| const |
|
private |
◆ calc_mean_squared_residuals() [1/2]
| float AccelCalibrator::calc_mean_squared_residuals |
( |
| ) |
const |
|
private |
◆ calc_mean_squared_residuals() [2/2]
| float AccelCalibrator::calc_mean_squared_residuals |
( |
const struct param_t & |
params | ) |
const |
|
private |
◆ calc_residual()
| float AccelCalibrator::calc_residual |
( |
const Vector3f & |
sample, |
|
|
const struct param_t & |
params |
|
) |
| const |
|
private |
◆ check_for_timeout()
| void AccelCalibrator::check_for_timeout |
( |
| ) |
|
◆ clear()
| void AccelCalibrator::clear |
( |
| ) |
|
◆ collect_sample()
| void AccelCalibrator::collect_sample |
( |
| ) |
|
◆ get_calibration() [1/3]
| void AccelCalibrator::get_calibration |
( |
Vector3f & |
offset | ) |
const |
◆ get_calibration() [2/3]
| void AccelCalibrator::get_calibration |
( |
Vector3f & |
offset, |
|
|
Vector3f & |
diag |
|
) |
| const |
◆ get_calibration() [3/3]
◆ get_fitness()
| float AccelCalibrator::get_fitness |
( |
| ) |
const |
|
inline |
◆ get_num_params()
| uint8_t AccelCalibrator::get_num_params |
( |
| ) |
const |
|
private |
◆ get_num_samples_collected()
| uint8_t AccelCalibrator::get_num_samples_collected |
( |
| ) |
const |
|
inline |
◆ get_sample()
| bool AccelCalibrator::get_sample |
( |
uint8_t |
i, |
|
|
Vector3f & |
s |
|
) |
| const |
◆ get_sample_corrected()
| bool AccelCalibrator::get_sample_corrected |
( |
uint8_t |
i, |
|
|
Vector3f & |
s |
|
) |
| const |
◆ get_status()
◆ new_sample()
| void AccelCalibrator::new_sample |
( |
const Vector3f & |
delta_velocity, |
|
|
float |
dt |
|
) |
| |
◆ reset_state()
| void AccelCalibrator::reset_state |
( |
| ) |
|
|
private |
◆ run_fit()
| void AccelCalibrator::run_fit |
( |
uint8_t |
max_iterations, |
|
|
float & |
fitness |
|
) |
| |
|
private |
◆ running()
| bool AccelCalibrator::running |
( |
| ) |
|
◆ set_status()
◆ set_tolerance()
| void AccelCalibrator::set_tolerance |
( |
float |
tolerance | ) |
|
|
inline |
◆ start() [1/2]
◆ start() [2/2]
◆ _conf_fit_type
◆ _conf_num_samples
| uint8_t AccelCalibrator::_conf_num_samples |
|
private |
◆ _conf_sample_time
| float AccelCalibrator::_conf_sample_time |
|
private |
◆ _conf_tolerance
| float AccelCalibrator::_conf_tolerance |
|
private |
◆ _fitness
| float AccelCalibrator::_fitness |
|
private |
◆ _last_samp_frag_collected_ms
| uint32_t AccelCalibrator::_last_samp_frag_collected_ms |
|
private |
◆ _min_sample_dist
| float AccelCalibrator::_min_sample_dist |
|
private |
◆ _param
| union param_u AccelCalibrator::_param |
|
private |
◆ _sample_buffer
◆ _samples_collected
| uint8_t AccelCalibrator::_samples_collected |
|
private |
◆ _status
The documentation for this class was generated from the following files: