Skip to content

Commit

Permalink
[ahrs] remove old ekf/lkf algos
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Aug 19, 2013
1 parent 9d74943 commit bfb0520
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 1,241 deletions.
13 changes: 0 additions & 13 deletions conf/firmwares/subsystems/rotorcraft/ahrs_lkf.makefile

This file was deleted.

16 changes: 0 additions & 16 deletions conf/firmwares/subsystems/rotorcraft/fdm_jsbsim.makefile
Expand Up @@ -103,12 +103,6 @@ nps.srcs += $(SRC_FIRMWARE)/autopilot.c

nps.srcs += state.c

#
# in makefile section of airframe xml
# include $(CFG_BOOZ)/subsystems/booz2_ahrs_lkf.makefile
# or
# include $(CFG_BOOZ)/subsystems/booz2_ahrs_cmpl.makefile
#

nps.srcs += $(SRC_FIRMWARE)/stabilization.c
nps.srcs += $(SRC_FIRMWARE)/stabilization/stabilization_rate.c
Expand All @@ -121,16 +115,6 @@ nps.srcs += $(SRC_FIRMWARE)/guidance/guidance_v.c
nps.srcs += $(SRC_FIRMWARE)/guidance/guidance_v_ref.c
nps.srcs += $(SRC_FIRMWARE)/guidance/guidance_v_adapt.c

#
# INS choice
#
# include subsystems/rotorcraft/ins.makefile
# or
# include subsystems/rotorcraft/ins_extended.makefile
#
# extra:
# include subsystems/rotorcraft/ins_hff.makefile
#

nps.srcs += $(SRC_FIRMWARE)/navigation.c
nps.srcs += $(SRC_SUBSYSTEMS)/navigation/common_flight_plan.c
14 changes: 0 additions & 14 deletions conf/settings/estimation/booz2_ahrs_lkf.xml

This file was deleted.

66 changes: 0 additions & 66 deletions sw/airborne/firmwares/rotorcraft/telemetry.h
Expand Up @@ -396,72 +396,6 @@
#define PERIODIC_SEND_AHRS_GYRO_BIAS_INT(_trans, _dev) {}
#endif

#if USE_AHRS_LKF
#include "subsystems/ahrs.h"
#include "ahrs/ahrs_float_lkf.h"
#define PERIODIC_SEND_AHRS_LKF(_trans, _dev) { \
DOWNLINK_SEND_AHRS_LKF(&bafl_eulers.phi, \
_trans, _dev, \
&bafl_eulers.theta, \
&bafl_eulers.psi, \
&bafl_quat.qi, \
&bafl_quat.qx, \
&bafl_quat.qy, \
&bafl_quat.qz, \
&bafl_rates.p, \
&bafl_rates.q, \
&bafl_rates.r, \
&bafl_accel_measure.x, \
&bafl_accel_measure.y, \
&bafl_accel_measure.z, \
&bafl_mag.x, \
&bafl_mag.y, \
&bafl_mag.z); \
}
#define PERIODIC_SEND_AHRS_LKF_DEBUG(_trans, _dev) { \
DOWNLINK_SEND_AHRS_LKF_DEBUG(_trans, _dev, \
&bafl_X[0], \
&bafl_X[1], \
&bafl_X[2], \
&bafl_bias.p, \
&bafl_bias.q, \
&bafl_bias.r, \
&bafl_qnorm, \
&bafl_phi_accel, \
&bafl_theta_accel, \
&bafl_P[0][0], \
&bafl_P[1][1], \
&bafl_P[2][2], \
&bafl_P[3][3], \
&bafl_P[4][4], \
&bafl_P[5][5]); \
}
#define PERIODIC_SEND_AHRS_LKF_ACC_DBG(_trans, _dev) { \
DOWNLINK_SEND_AHRS_LKF_ACC_DBG(_trans, _dev, \
&bafl_q_a_err.qi, \
&bafl_q_a_err.qx, \
&bafl_q_a_err.qy, \
&bafl_q_a_err.qz, \
&bafl_b_a_err.p, \
&bafl_b_a_err.q, \
&bafl_b_a_err.r); \
}
#define PERIODIC_SEND_AHRS_LKF_MAG_DBG(_trans, _dev) { \
DOWNLINK_SEND_AHRS_LKF_MAG_DBG(_trans, _dev, \
&bafl_q_m_err.qi, \
&bafl_q_m_err.qx, \
&bafl_q_m_err.qy, \
&bafl_q_m_err.qz, \
&bafl_b_m_err.p, \
&bafl_b_m_err.q, \
&bafl_b_m_err.r); \
}
#else
#define PERIODIC_SEND_AHRS_LKF(_trans, _dev) {}
#define PERIODIC_SEND_AHRS_LKF_DEBUG(_trans, _dev) {}
#define PERIODIC_SEND_AHRS_LKF_MAG_DBG(_trans, _dev) {}
#define PERIODIC_SEND_AHRS_LKF_ACC_DBG(_trans, _dev) {}
#endif

#if defined STABILIZATION_ATTITUDE_TYPE_QUAT && defined STABILIZATION_ATTITUDE_TYPE_INT
#define PERIODIC_SEND_AHRS_REF_QUAT(_trans, _dev) { \
Expand Down
164 changes: 0 additions & 164 deletions sw/airborne/subsystems/ahrs/ahrs_float_ekf.c

This file was deleted.

35 changes: 0 additions & 35 deletions sw/airborne/subsystems/ahrs/ahrs_float_ekf.h

This file was deleted.

0 comments on commit bfb0520

Please sign in to comment.