From 98844887c7fb7e4d37dc214a345abaca1e618fdd Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Mon, 1 Sep 2014 12:58:53 +0200 Subject: [PATCH] [modules] hackhd: remove ins neutral --- sw/airborne/modules/digital_cam/hackhd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sw/airborne/modules/digital_cam/hackhd.c b/sw/airborne/modules/digital_cam/hackhd.c index 593661d51eb..2d433666def 100644 --- a/sw/airborne/modules/digital_cam/hackhd.c +++ b/sw/airborne/modules/digital_cam/hackhd.c @@ -114,7 +114,6 @@ static inline void hackhd_send_shot_position(void) #include "subsystems/chibios-libopencm3/chibios_sdlog.h" #include "state.h" #include "subsystems/gps.h" -#include "subsystems/ahrs.h" static inline void hackhd_log_shot_position(void) { @@ -122,10 +121,6 @@ static inline void hackhd_log_shot_position(void) // so we start logging at photo_nr = 1 if (pprzLogFile.fs != NULL && hackhd.photo_nr > 0) { struct FloatEulers att = *stateGetNedToBodyEulers_f(); -#if INS_UPDATE_FW_ESTIMATOR - att.phi += ins_roll_neutral; - att.theta += ins_pitch_neutral; -#endif struct EnuCoor_f pos = *stateGetPositionEnu_f(); uint32_t time = get_sys_time_msec(); sdLogWriteLog(&pprzLogFile, "%d %d %d %d %d %d %d %u\n",