PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Public Member Functions | |
TemperatureCalibration (bool accel, bool baro, bool gyro) | |
Constructor. More... | |
~TemperatureCalibration ()=default | |
Destructor. More... | |
int | start () |
Start task. More... | |
void | task_main () |
void | exit_task () |
Static Public Member Functions | |
static int | do_temperature_calibration (int argc, char *argv[]) |
Private Member Functions | |
void | publish_led_control (led_control_s &led_control) |
Private Attributes | |
uORB::PublicationQueued< led_control_s > | _led_control_pub {ORB_ID(led_control)} |
bool | _force_task_exit = false |
int | _control_task = -1 |
bool | _accel |
enable accel calibration? More... | |
bool | _baro |
enable baro calibration? More... | |
bool | _gyro |
enable gyro calibration? More... | |
TemperatureCalibration::TemperatureCalibration | ( | bool | accel, |
bool | baro, | ||
bool | gyro | ||
) |
Constructor.
Definition at line 106 of file task.cpp.
Referenced by run_temperature_calibration().
|
default |
Destructor.
|
static |
Definition at line 324 of file task.cpp.
References temperature_calibration::instance, and task_main().
Referenced by start().
|
inline |
Definition at line 91 of file task.cpp.
References led_control, and publish_led_control().
|
private |
Definition at line 350 of file task.cpp.
References _led_control_pub, hrt_absolute_time(), uORB::PublicationQueued< T >::publish(), and led_control_s::timestamp.
Referenced by task_main().
int TemperatureCalibration::start | ( | ) |
Start task.
Definition at line 330 of file task.cpp.
References _control_task, do_temperature_calibration(), and temperature_calibration::instance.
Referenced by run_temperature_calibration().
void TemperatureCalibration::task_main | ( | ) |
Definition at line 111 of file task.cpp.
References _accel, _baro, _force_task_exit, _gyro, BOARD_MAX_LEDS, led_control_s::color, TemperatureCalibrationBase::finish(), hrt_absolute_time(), hrt_abstime, temperature_calibration::instance, led_control, led_control_s::led_mask, led_control_s::mode, led_control_s::num_blinks, orb_copy(), orb_group_count(), ORB_ID, orb_subscribe_multi(), orb_unsubscribe(), param_control_autosave(), param_find(), param_get(), param_notify_changes(), param_save_default(), led_control_s::priority, publish_led_control(), px4_poll(), TemperatureCalibrationBase::reset_calibration(), SENSOR_COUNT_MAX, TC_ERROR_COMMUNICATION, TC_ERROR_INITIAL_TEMP_TOO_HIGH, and TemperatureCalibrationBase::update().
Referenced by do_temperature_calibration().
|
private |
|
private |
|
private |
|
private |
Definition at line 98 of file task.cpp.
Referenced by task_main().
|
private |
|
private |
Definition at line 96 of file task.cpp.
Referenced by publish_led_control().