PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <px4_platform_common/tasks.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/posix.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/rc_channels.h>
#include <uORB/topics/parameter_update.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_mixer.h>
#include <lib/mixer/MixerGroup.hpp>
#include <lib/mixer/mixer_load.h>
#include <parameters/param.h>
#include <output_limit/output_limit.h>
#include <perf/perf_counter.h>
#include "common.h"
#include "navio_sysfs.h"
#include "PCA9685.h"
#include "ocpoc_mmap.h"
#include "bbblue_pwm_rc.h"
Go to the source code of this file.
Namespaces | |
linux_pwm_out | |
Functions | |
static void | linux_pwm_out::usage () |
static void | linux_pwm_out::start () |
static void | linux_pwm_out::stop () |
static void | linux_pwm_out::task_main_trampoline (int argc, char *argv[]) |
static void | linux_pwm_out::subscribe () |
static void | linux_pwm_out::task_main (int argc, char *argv[]) |
static void | linux_pwm_out::update_params (Mixer::Airmode &airmode) |
int | linux_pwm_out::initialize_mixer (const char *mixer_filename) |
int | linux_pwm_out::mixer_control_callback (uintptr_t handle, uint8_t control_group, uint8_t control_index, float &input) |
__EXPORT int | linux_pwm_out_main (int argc, char *argv[]) |
int linux_pwm_out_main | ( | int | argc, |
char * | argv[] | ||
) |
gets the parameters for the esc's pwm
Definition at line 511 of file linux_pwm_out.cpp.
References linux_pwm_out::_device, linux_pwm_out::_is_running, linux_pwm_out::_max_num_outputs, linux_pwm_out::_mixer_filename, linux_pwm_out::_protocol, linux_pwm_out::_pwm_disarmed, linux_pwm_out::_pwm_max, linux_pwm_out::_pwm_min, param_find(), param_get(), linux_pwm_out::start(), linux_pwm_out::stop(), and linux_pwm_out::usage().
Referenced by linux_pwm_out::usage().