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

Main task handling the temperature calibration process. More...

#include <uORB/PublicationQueued.hpp>
#include <uORB/topics/sensor_gyro.h>
#include <mathlib/mathlib.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/posix.h>
#include <px4_platform_common/tasks.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_led.h>
#include <unistd.h>
#include "common.h"
#include "temperature_calibration.h"
#include "accel.h"
#include "baro.h"
#include "gyro.h"
Include dependency graph for task.cpp:

Go to the source code of this file.

Classes

class  TemperatureCalibration
 

Namespaces

 temperature_calibration
 

Functions

int run_temperature_calibration (bool accel, bool baro, bool gyro)
 start temperature calibration in a new task for one or multiple sensors More...
 

Variables

TemperatureCalibrationtemperature_calibration::instance = nullptr
 

Detailed Description

Main task handling the temperature calibration process.

Author
Beat Küng beat-.nosp@m.kuen.nosp@m.g@gmx.nosp@m..net

Definition in file task.cpp.

Function Documentation

◆ run_temperature_calibration()

int run_temperature_calibration ( bool  accel,
bool  baro,
bool  gyro 
)

start temperature calibration in a new task for one or multiple sensors

Returns
0 on success, <0 error otherwise

Definition at line 356 of file task.cpp.

References temperature_calibration::instance, TemperatureCalibration::start(), and TemperatureCalibration::TemperatureCalibration().

Referenced by events::SendEvent::process_commands().

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