From ccf84f8982027335ca13451edd18ecdb4c4fbfcd Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 28 Sep 2010 14:04:15 +0000 Subject: [PATCH] remove old actuators buss sim files --- .../arch/sim/actuators_buss_twi_blmc_hw.c | 31 ------------- .../arch/sim/actuators_buss_twi_blmc_hw.h | 45 ------------------- 2 files changed, 76 deletions(-) delete mode 100644 sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.c delete mode 100644 sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.h diff --git a/sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.c b/sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.c deleted file mode 100644 index 2b071b49f2..0000000000 --- a/sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * $Id$ - * - * Copyright (C) 2008-2009 Antoine Drouin - * - * This file is part of paparazzi. - * - * paparazzi is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * paparazzi is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with paparazzi; see the file COPYING. If not, write to - * the Free Software Foundation, 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#include "actuators.h" - -uint16_t actuators[SERVOS_NB]; - -uint8_t twi_blmc_nb_err; -uint8_t buss_twi_blmc_motor_power[BUSS_TWI_BLMC_NB]; - -void actuators_init( void ) {} diff --git a/sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.h b/sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.h deleted file mode 100644 index b09290a0ba..0000000000 --- a/sw/airborne/booz/arch/sim/actuators_buss_twi_blmc_hw.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * $Id$ - * - * Copyright (C) 2008-2009 Antoine Drouin - * - * This file is part of paparazzi. - * - * paparazzi is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * paparazzi is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with paparazzi; see the file COPYING. If not, write to - * the Free Software Foundation, 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef ACTUATORS_BUSS_TWI_BLMC_HW_H -#define ACTUATORS_BUSS_TWI_BLMC_HW_H - -#include "airframe.h" -#include "actuators/supervision.h" - -#define BUSS_TWI_BLMC_NB 4 -extern uint8_t buss_twi_blmc_motor_power[BUSS_TWI_BLMC_NB]; - -#define Actuator(i) buss_twi_blmc_motor_power[i] -#define SetActuatorsFromCommands(_motors_on) { \ - pprz_t mixed_commands[SERVOS_NB]; \ - BOOZ2_SUPERVISION_RUN(mixed_commands, booz2_commands, _motors_on); \ - Actuator(SERVO_FRONT) = (uint8_t)mixed_commands[SERVO_FRONT]; \ - Actuator(SERVO_BACK) = (uint8_t)mixed_commands[SERVO_BACK]; \ - Actuator(SERVO_RIGHT) = (uint8_t)mixed_commands[SERVO_RIGHT]; \ - Actuator(SERVO_LEFT) = (uint8_t)mixed_commands[SERVO_LEFT]; \ - } - -extern uint8_t twi_blmc_nb_err; - -#endif /* ACTUATORS_BUSS_TWI_BLMC_HW_H */