| PX4 Firmware
    PX4 Autopilot Software http://px4.io | 
Tests the servo outputs. More...
#include <px4_platform_common/time.h>#include <px4_platform_common/px4_config.h>#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <fcntl.h>#include <errno.h>#include <time.h>#include <arch/board/board.h>#include <drivers/drv_pwm_output.h>#include <systemlib/err.h>#include "tests_main.h"Go to the source code of this file.
| Functions | |
| int | test_servo (int argc, char *argv[]) | 
Tests the servo outputs.
Definition in file test_servo.c.
| int test_servo | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
Definition at line 57 of file test_servo.c.
References data, fd, OK, PWM_OUTPUT0_DEVICE_PATH, PWM_OUTPUT_MAX_CHANNELS, PWM_SERVO_ARM, PWM_SERVO_GET, PWM_SERVO_GET_COUNT, PWM_SERVO_SET, PWM_SERVO_SET_ARM_OK, read(), and warnx.