PX4 Firmware
PX4 Autopilot Software http://px4.io
tap_esc.cpp File Reference
#include <stdint.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/module.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 <cstring>
#include <lib/mathlib/mathlib.h>
#include <lib/cdev/CDev.hpp>
#include <perf/perf_counter.h>
#include <px4_platform_common/module_params.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/test_motor.h>
#include <uORB/topics/input_rc.h>
#include <uORB/topics/esc_status.h>
#include <uORB/topics/multirotor_motor_limits.h>
#include <uORB/topics/parameter_update.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_mixer.h>
#include <lib/mixer/MixerGroup.hpp>
#include "tap_esc_common.h"
#include "drv_tap_esc.h"
Include dependency graph for tap_esc.cpp:

Go to the source code of this file.

Classes

class  TAP_ESC
 

Macros

#define BOARD_TAP_ESC_MODE   0
 
#define DEVICE_ARGUMENT_MAX_LENGTH   32
 
#define TAP_ESC_CTRL_UORB_UPDATE_INTERVAL   2
 

Functions

__EXPORT int tap_esc_main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BOARD_TAP_ESC_MODE

#define BOARD_TAP_ESC_MODE   0

Definition at line 69 of file tap_esc.cpp.

Referenced by TAP_ESC::init().

◆ DEVICE_ARGUMENT_MAX_LENGTH

#define DEVICE_ARGUMENT_MAX_LENGTH   32

Definition at line 73 of file tap_esc.cpp.

◆ TAP_ESC_CTRL_UORB_UPDATE_INTERVAL

#define TAP_ESC_CTRL_UORB_UPDATE_INTERVAL   2

Definition at line 78 of file tap_esc.cpp.

Referenced by TAP_ESC::cycle().

Function Documentation

◆ tap_esc_main()

__EXPORT int tap_esc_main ( int  argc,
char *  argv[] 
)

Definition at line 780 of file tap_esc.cpp.

References main().

Here is the call graph for this function: