diff --git a/conf/airframes/TUDelft/airframes/logo600.xml b/conf/airframes/TUDelft/airframes/logo600.xml index 3378edcd3d..75e44d796f 100644 --- a/conf/airframes/TUDelft/airframes/logo600.xml +++ b/conf/airframes/TUDelft/airframes/logo600.xml @@ -101,6 +101,7 @@ + @@ -180,13 +181,13 @@ - - + + - - + + - + @@ -224,7 +225,7 @@
- +
diff --git a/sw/airborne/firmwares/rotorcraft/autopilot_rc_helpers.h b/sw/airborne/firmwares/rotorcraft/autopilot_rc_helpers.h index 43482ccb1a..854e510b74 100644 --- a/sw/airborne/firmwares/rotorcraft/autopilot_rc_helpers.h +++ b/sw/airborne/firmwares/rotorcraft/autopilot_rc_helpers.h @@ -58,6 +58,7 @@ static inline bool_t rc_attitude_sticks_centered(void) } #ifdef RADIO_KILL_SWITCH +#warning RADIO_KILL_DEFINED static inline bool_t kill_switch_is_on(void) { if (radio_control.values[RADIO_KILL_SWITCH] < 0) { diff --git a/sw/airborne/firmwares/rotorcraft/main.c b/sw/airborne/firmwares/rotorcraft/main.c index 02c7a9b1d4..6db255d588 100644 --- a/sw/airborne/firmwares/rotorcraft/main.c +++ b/sw/airborne/firmwares/rotorcraft/main.c @@ -280,6 +280,8 @@ STATIC_INLINE void main_periodic(void) #ifndef INTER_MCU_AP SetActuatorsFromCommands(commands, autopilot_mode); #else +#warning ALL IS GOOD + commands[COMMAND_THRUST] = radio_control.values[RADIO_THROTTLE];\ intermcu_set_actuators(commands, autopilot_mode); #endif diff --git a/sw/airborne/subsystems/intermcu/intermcu_ap.h b/sw/airborne/subsystems/intermcu/intermcu_ap.h index f10837560c..058a71a938 100644 --- a/sw/airborne/subsystems/intermcu/intermcu_ap.h +++ b/sw/airborne/subsystems/intermcu/intermcu_ap.h @@ -44,8 +44,8 @@ void RadioControlEvent(void (*frame_handler)(void)); #ifndef RADIO_MODE #define RADIO_MODE RADIO_GEAR #endif -#ifndef RADIO_KILL_SWITCH -#define RADIO_KILL_SWITCH RADIO_FLAP -#endif +//#ifndef RADIO_KILL_SWITCH +//#define RADIO_KILL_SWITCH RADIO_FLAP +//#endif #endif /* INTERMCU_AP_ROTORCRAFT_H */