PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <float.h>
#include <math.h>
#include <board_config.h>
#include <drivers/device/device.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_input_capture.h>
#include <drivers/drv_mixer.h>
#include <drivers/drv_pwm_output.h>
#include <lib/cdev/CDev.hpp>
#include <lib/mathlib/mathlib.h>
#include <lib/mixer_module/mixer_module.hpp>
#include <lib/parameters/param.h>
#include <lib/perf/perf_counter.h>
#include <px4_arch/dshot.h>
#include <px4_platform_common/atomic.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/module.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
#include <uORB/Publication.hpp>
#include <uORB/PublicationMulti.hpp>
#include <uORB/Subscription.hpp>
#include <uORB/SubscriptionCallback.hpp>
#include <uORB/topics/actuator_armed.h>
#include <uORB/topics/actuator_controls.h>
#include <uORB/topics/actuator_outputs.h>
#include <uORB/topics/multirotor_motor_limits.h>
#include <uORB/topics/parameter_update.h>
#include <uORB/topics/esc_status.h>
#include "telemetry.h"
Go to the source code of this file.
Classes | |
class | DShotOutput |
struct | DShotOutput::Command |
struct | DShotOutput::Telemetry |
Enumerations | |
enum | PortMode { PORT_MODE_UNSET = 0, PORT_FULL_GPIO, PORT_FULL_PWM, PORT_PWM8, PORT_PWM6, PORT_PWM5, PORT_PWM4, PORT_PWM3, PORT_PWM2, PORT_PWM1, PORT_PWM3CAP1, PORT_PWM4CAP1, PORT_PWM4CAP2, PORT_PWM5CAP1, PORT_PWM2CAP2, PORT_CAPTURE, PORT_MODE_UNSET = 0, PORT_FULL_GPIO, PORT_FULL_PWM, PORT_PWM8, PORT_PWM6, PORT_PWM5, PORT_PWM4, PORT_PWM3, PORT_PWM2, PORT_PWM1, PORT_PWM3CAP1, PORT_PWM4CAP1, PORT_PWM4CAP2, PORT_PWM5CAP1, PORT_PWM2CAP2, PORT_CAPTURE } |
Mode given via CLI. More... | |
Functions | |
__EXPORT int | dshot_main (int argc, char *argv[]) |
enum PortMode |
Mode given via CLI.