mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 03:23:35 +08:00
tap: add landing gear capability
This configures the PWM output for the landing gear.
This commit is contained in:
@@ -261,16 +261,17 @@ struct pwm_output_rc_config {
|
||||
|
||||
/** set auxillary output mode. These correspond to enum Mode in px4fmu/fmu.cpp */
|
||||
#define PWM_SERVO_MODE_NONE 0
|
||||
#define PWM_SERVO_MODE_2PWM 1
|
||||
#define PWM_SERVO_MODE_2PWM2CAP 2
|
||||
#define PWM_SERVO_MODE_3PWM 3
|
||||
#define PWM_SERVO_MODE_3PWM1CAP 4
|
||||
#define PWM_SERVO_MODE_4PWM 5
|
||||
#define PWM_SERVO_MODE_6PWM 6
|
||||
#define PWM_SERVO_MODE_8PWM 7
|
||||
#define PWM_SERVO_MODE_4CAP 8
|
||||
#define PWM_SERVO_MODE_5CAP 9
|
||||
#define PWM_SERVO_MODE_6CAP 10
|
||||
#define PWM_SERVO_MODE_1PWM 1
|
||||
#define PWM_SERVO_MODE_2PWM 2
|
||||
#define PWM_SERVO_MODE_2PWM2CAP 3
|
||||
#define PWM_SERVO_MODE_3PWM 4
|
||||
#define PWM_SERVO_MODE_3PWM1CAP 5
|
||||
#define PWM_SERVO_MODE_4PWM 6
|
||||
#define PWM_SERVO_MODE_6PWM 7
|
||||
#define PWM_SERVO_MODE_8PWM 8
|
||||
#define PWM_SERVO_MODE_4CAP 9
|
||||
#define PWM_SERVO_MODE_5CAP 10
|
||||
#define PWM_SERVO_MODE_6CAP 11
|
||||
#define PWM_SERVO_SET_MODE _PX4_IOC(_PWM_SERVO_BASE, 32)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user