PX4 Firmware
PX4 Autopilot Software http://px4.io
accelerometer_calibration.h File Reference

Definition of accelerometer calibration. More...

#include <stdint.h>
#include <uORB/uORB.h>
Include dependency graph for accelerometer_calibration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int do_accel_calibration (orb_advert_t *mavlink_log_pub)
 
int do_level_calibration (orb_advert_t *mavlink_log_pub)
 

Detailed Description

Definition of accelerometer calibration.

Author
Anton Babushkin anton.nosp@m..bab.nosp@m.ushki.nosp@m.n@me.nosp@m..com

Definition in file accelerometer_calibration.h.

Function Documentation

◆ do_accel_calibration()

◆ do_level_calibration()

int do_level_calibration ( orb_advert_t mavlink_log_pub)

Definition at line 794 of file accelerometer_calibration.cpp.

References CAL_QGC_DONE_MSG, CAL_QGC_FAILED_MSG, CAL_QGC_PROGRESS_MSG, CAL_QGC_STARTED_MSG, calibration_log_critical, calibration_log_info, counter, f(), FLT_EPSILON, hrt_absolute_time(), hrt_abstime, hrt_elapsed_time(), orb_copy(), ORB_ID, orb_subscribe(), param_find(), param_get(), param_notify_changes(), param_set_no_notification(), matrix::Euler< Type >::phi(), px4_poll(), vehicle_attitude_s::q, start(), and matrix::Euler< Type >::theta().

Referenced by commander_low_prio_loop(), and commander_main().

Here is the call graph for this function:
Here is the caller graph for this function: