PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <stdint.h>
#include <px4_platform_common/tasks.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/posix.h>
#include <errno.h>
#include <math.h>
#include <string.h>
#include <uORB/Subscription.hpp>
#include <uORB/topics/actuator_controls.h>
#include <uORB/topics/actuator_outputs.h>
#include <uORB/topics/actuator_armed.h>
#include <uORB/topics/parameter_update.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_mixer.h>
#include <lib/mixer/MultirotorMixer/MultirotorMixer.hpp>
#include <lib/mixer/MixerGroup.hpp>
#include <lib/mixer/mixer_load.h>
#include <lib/parameters/param.h>
#include <lib/perf/perf_counter.h>
#include <lib/output_limit/output_limit.h>
#include <dev_fs_lib_pwm.h>
Go to the source code of this file.
Namespaces | |
snapdragon_pwm | |
Functions | |
static void | snapdragon_pwm::usage () |
static void | snapdragon_pwm::start () |
static void | snapdragon_pwm::stop () |
static int | snapdragon_pwm::pwm_initialize (const char *device) |
static void | snapdragon_pwm::pwm_deinitialize () |
static void | snapdragon_pwm::send_outputs_pwm (const uint16_t *pwm) |
static void | snapdragon_pwm::task_main_trampoline (int argc, char *argv[]) |
static void | snapdragon_pwm::subscribe () |
static void | snapdragon_pwm::task_main (int argc, char *argv[]) |
static void | snapdragon_pwm::update_params (Mixer::Airmode &airmode) |
int | snapdragon_pwm::initialize_mixer (const char *mixer_filename) |
int | snapdragon_pwm::mixer_control_callback (uintptr_t handle, uint8_t control_group, uint8_t control_index, float &input) |
__EXPORT int | snapdragon_pwm_out_main (int argc, char *argv[]) |
int snapdragon_pwm_out_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 530 of file snapdragon_pwm_out.cpp.
References snapdragon_pwm::_device, snapdragon_pwm::_is_running, snapdragon_pwm::_mixer_filename, snapdragon_pwm::_pwm_disarmed, snapdragon_pwm::_pwm_max, snapdragon_pwm::_pwm_min, param_find(), param_get(), snapdragon_pwm::start(), snapdragon_pwm::stop(), and snapdragon_pwm::usage().
Referenced by snapdragon_pwm::usage().