PX4 Firmware
PX4 Autopilot Software http://px4.io
airspeed_calibration.cpp File Reference

Airspeed sensor calibration routine. More...

#include "airspeed_calibration.h"
#include "calibration_messages.h"
#include "calibration_routines.h"
#include "commander_helper.h"
#include <px4_platform_common/defines.h>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/time.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#include <math.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_airspeed.h>
#include <uORB/topics/differential_pressure.h>
#include <systemlib/mavlink_log.h>
#include <parameters/param.h>
#include <systemlib/err.h>
Include dependency graph for airspeed_calibration.cpp:

Go to the source code of this file.

Functions

static void feedback_calibration_failed (orb_advert_t *mavlink_log_pub)
 
int do_airspeed_calibration (orb_advert_t *mavlink_log_pub)
 

Variables

static const char * sensor_name = "airspeed"
 

Detailed Description

Airspeed sensor calibration routine.

Definition in file airspeed_calibration.cpp.

Function Documentation

◆ do_airspeed_calibration()

int do_airspeed_calibration ( orb_advert_t mavlink_log_pub)

◆ feedback_calibration_failed()

static void feedback_calibration_failed ( orb_advert_t mavlink_log_pub)
static

Definition at line 61 of file airspeed_calibration.cpp.

References CAL_QGC_FAILED_MSG, calibration_log_critical, and sensor_name.

Referenced by do_airspeed_calibration().

Here is the caller graph for this function:

Variable Documentation

◆ sensor_name

const char* sensor_name = "airspeed"
static