PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Definition of esc calibration. More...
#include <uORB/topics/actuator_armed.h>
Go to the source code of this file.
Functions | |
int | do_esc_calibration (orb_advert_t *mavlink_log_pub, struct actuator_armed_s *armed) |
Definition of esc calibration.
Definition in file esc_calibration.h.
int do_esc_calibration | ( | orb_advert_t * | mavlink_log_pub, |
struct actuator_armed_s * | armed | ||
) |
Definition at line 57 of file esc_calibration.cpp.
References CAL_QGC_DONE_MSG, CAL_QGC_FAILED_MSG, CAL_QGC_STARTED_MSG, calibration_log_critical, calibration_log_info, battery_status_s::connected, fd, hrt_absolute_time(), hrt_abstime, hrt_elapsed_time(), actuator_armed_s::in_esc_calibration_mode, OK, ORB_ID, PWM_OUTPUT0_DEVICE_PATH, PWM_SERVO_ARM, PWM_SERVO_CLEAR_ARM_OK, PWM_SERVO_DISARM, PWM_SERVO_SET_ARM_OK, PWM_SERVO_SET_FORCE_SAFETY_OFF, PWM_SERVO_SET_FORCE_SAFETY_ON, px4_close(), px4_ioctl(), px4_open(), and battery_status_s::timestamp.
Referenced by commander_low_prio_loop(), and commander_main().