From 4f13ae13a9b88bb5beb48803a74c8e78ca32714e Mon Sep 17 00:00:00 2001 From: Antoine Drouin Date: Tue, 24 Aug 2010 12:19:28 +0000 Subject: [PATCH] now commiting an airframe that works --- conf/airframes/UofAdelaide/A1000_LISA.xml | 34 ++++++------------- .../booz/actuators/booz_actuators_heli.c | 7 ++-- 2 files changed, 12 insertions(+), 29 deletions(-) diff --git a/conf/airframes/UofAdelaide/A1000_LISA.xml b/conf/airframes/UofAdelaide/A1000_LISA.xml index 2e23899f11..54a5ea580a 100644 --- a/conf/airframes/UofAdelaide/A1000_LISA.xml +++ b/conf/airframes/UofAdelaide/A1000_LISA.xml @@ -2,12 +2,12 @@ - - - - - - + + + + + + @@ -19,26 +19,12 @@ - - - - + + + + -
- - - - - - - - - - - -
-
diff --git a/sw/airborne/booz/actuators/booz_actuators_heli.c b/sw/airborne/booz/actuators/booz_actuators_heli.c index e4c01834df..c58e7cf29e 100644 --- a/sw/airborne/booz/actuators/booz_actuators_heli.c +++ b/sw/airborne/booz/actuators/booz_actuators_heli.c @@ -38,15 +38,12 @@ #define ESC_HOVER SERVOS_TICS_OF_USEC(1750) #define Actuator(_x) booz_actuators_pwm_values[_x] #define ChopServo(x,a,b) Chop(x, a, b) -#define ActuatorsCommit() booz_actuators_pwm_commit() +#define ActuatorsCommit booz_actuators_pwm_commit int32_t booz_actuators_pwm_values[BOOZ_ACTUATORS_PWM_NB]; -void actuators_init(void) { +void actuators_init(void) { booz_actuators_pwm_arch_init(); } - booz_actuators_pwm_arch_init(); - -} void actuators_set(bool_t motors_on) {