mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Added heli_collectiveFactor array
Signed-off-by: Robert Lefebvre <robert.lefebvre@gmail.com>
This commit is contained in:
parent
8da8ce5b58
commit
b7ccfb0114
@ -371,7 +371,7 @@ static uint32_t rc_override_fs_timer = 0;
|
|||||||
// Heli
|
// Heli
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
#if FRAME_CONFIG == HELI_FRAME
|
#if FRAME_CONFIG == HELI_FRAME
|
||||||
static float heli_rollFactor[3], heli_pitchFactor[3]; // only required for 3 swashplate servos
|
static float heli_rollFactor[3], heli_pitchFactor[3], heli_collectiveFactor[3]; // only required for 3 swashplate servos
|
||||||
static int16_t heli_servo_min[3], heli_servo_max[3]; // same here. for yaw servo we use heli_servo4_min/max parameter directly
|
static int16_t heli_servo_min[3], heli_servo_max[3]; // same here. for yaw servo we use heli_servo4_min/max parameter directly
|
||||||
static int32_t heli_servo_out[4]; // used for servo averaging for analog servos
|
static int32_t heli_servo_out[4]; // used for servo averaging for analog servos
|
||||||
static int16_t heli_servo_out_count; // use for servo averaging
|
static int16_t heli_servo_out_count; // use for servo averaging
|
||||||
|
Loading…
Reference in New Issue
Block a user