From 9e2e78c9ed9ac89a924d6459ae59051798818782 Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Mon, 15 Feb 2016 13:25:19 +0100 Subject: [PATCH] only set PWM AUX values where necessary so the surfaces don't move to extreme positions on boot --- ROMFS/px4fmu_common/init.d/13002_firefly6 | 5 ----- ROMFS/px4fmu_common/init.d/13006_vtol_standard_delta | 7 ++----- ROMFS/px4fmu_common/init.d/13007_vtol_AAVVT_quad | 7 ++----- ROMFS/px4fmu_common/init.d/13008_QuadRanger | 7 ++----- 4 files changed, 6 insertions(+), 20 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d/13002_firefly6 b/ROMFS/px4fmu_common/init.d/13002_firefly6 index b054c81665..35f5f33b30 100644 --- a/ROMFS/px4fmu_common/init.d/13002_firefly6 +++ b/ROMFS/px4fmu_common/init.d/13002_firefly6 @@ -38,11 +38,6 @@ set PWM_OUT 12345678 set PWM_RATE 400 set MIXER_AUX firefly6 -set PWM_AUX_RATE 50 -set PWM_AUX_OUT 1234 -set PWM_AUX_DISARMED 1000 -set PWM_AUX_MIN 1000 -set PWM_AUX_MAX 2000 set MAV_TYPE 21 diff --git a/ROMFS/px4fmu_common/init.d/13006_vtol_standard_delta b/ROMFS/px4fmu_common/init.d/13006_vtol_standard_delta index 60cf7e99c9..9079d8709c 100644 --- a/ROMFS/px4fmu_common/init.d/13006_vtol_standard_delta +++ b/ROMFS/px4fmu_common/init.d/13006_vtol_standard_delta @@ -38,11 +38,8 @@ set PWM_OUT 1234 set PWM_RATE 400 set MIXER_AUX vtol_delta -set PWM_AUX_RATE 50 -set PWM_AUX_OUT 1234 -set PWM_AUX_DISARMED 1000 -set PWM_AUX_MIN 1000 -set PWM_AUX_MAX 2000 +set PWM_ACHDIS 3 +set PWM_AUX_DISARMED 950 set MAV_TYPE 22 diff --git a/ROMFS/px4fmu_common/init.d/13007_vtol_AAVVT_quad b/ROMFS/px4fmu_common/init.d/13007_vtol_AAVVT_quad index 51bade9f71..ec2b156bc5 100644 --- a/ROMFS/px4fmu_common/init.d/13007_vtol_AAVVT_quad +++ b/ROMFS/px4fmu_common/init.d/13007_vtol_AAVVT_quad @@ -38,11 +38,8 @@ set PWM_OUT 1234 set PWM_RATE 400 set MIXER_AUX vtol_AAVVT -set PWM_AUX_RATE 50 -set PWM_AUX_OUT 1234 -set PWM_AUX_DISARMED 1000 -set PWM_AUX_MIN 1000 -set PWM_AUX_MAX 2000 +set PWM_ACHDIS 5 +set PWM_AUX_DISARMED 950 set MAV_TYPE 22 diff --git a/ROMFS/px4fmu_common/init.d/13008_QuadRanger b/ROMFS/px4fmu_common/init.d/13008_QuadRanger index 0340bb7465..83f6ac6def 100644 --- a/ROMFS/px4fmu_common/init.d/13008_QuadRanger +++ b/ROMFS/px4fmu_common/init.d/13008_QuadRanger @@ -41,11 +41,8 @@ set PWM_OUT 1234 set PWM_RATE 400 set MIXER_AUX vtol_AAERT -set PWM_AUX_RATE 50 -set PWM_AUX_OUT 1234 -set PWM_AUX_DISARMED 1000 -set PWM_AUX_MIN 1000 -set PWM_AUX_MAX 2000 +set PWM_ACHDIS 5 +set PWM_AUX_DISARMED 950 set MAV_TYPE 22