|
Firmware
|
Magnetometer calibration routine. More...
#include "mag_calibration.h"#include "commander_helper.h"#include "calibration_routines.h"#include "calibration_messages.h"#include <px4_defines.h>#include <px4_posix.h>#include <px4_time.h>#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <poll.h>#include <cmath>#include <fcntl.h>#include <drivers/drv_hrt.h>#include <drivers/drv_accel.h>#include <drivers/drv_gyro.h>#include <drivers/drv_mag.h>#include <drivers/drv_tone_alarm.h>#include <systemlib/mavlink_log.h>#include <parameters/param.h>#include <systemlib/err.h>#include <uORB/topics/sensor_combined.h>Classes | |
| struct | mag_worker_data_t |
| Data passed to calibration worker routine. More... | |
Functions | |
| calibrate_return | mag_calibrate_all (orb_advert_t *mavlink_log_pub) |
| int | do_mag_calibration (orb_advert_t *mavlink_log_pub) |
Variables | |
| int32_t | device_ids [max_mags] |
| bool | internal [max_mags] |
| int | device_prio_max = 0 |
| int32_t | device_id_primary = 0 |
Magnetometer calibration routine.
1.8.12