mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-08 19:13:44 +08:00
choice of ahrs separated from booz nps sim makefile
This commit is contained in:
@@ -85,9 +85,11 @@ sim.srcs += $(SRC_BOOZ)/booz2_analog.c $(SRC_BOOZ_SIM)/booz2_analog_hw.c
|
||||
|
||||
sim.srcs += $(SRC_BOOZ)/booz2_autopilot.c
|
||||
|
||||
sim.CFLAGS += -DAHRS_ALIGNER_LED=3
|
||||
sim.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_aligner.c
|
||||
sim.srcs += $(SRC_BOOZ)/ahrs/booz2_filter_attitude_cmpl_euler.c
|
||||
# in makefile section of airframe xml
|
||||
# include $(CFG_BOOZ)/subsystems/booz2_ahrs_lkf.makefile
|
||||
# or
|
||||
# include $(CFG_BOOZ)/subsystems/booz2_ahrs_cmpl.makefile
|
||||
#
|
||||
|
||||
sim.srcs += $(SRC_BOOZ)/booz_stabilization.c
|
||||
sim.srcs += $(SRC_BOOZ)/stabilization/booz_stabilization_rate.c
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
#
|
||||
# Complementary filter for attitude estimation
|
||||
#
|
||||
|
||||
ap.CFLAGS += -DUSE_AHRS_CMPL -DAHRS_ALIGNER_LED=3
|
||||
ap.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_aligner.c
|
||||
ap.srcs += $(SRC_BOOZ)/ahrs/booz2_filter_attitude_cmpl_euler.c
|
||||
ap.srcs += $(SRC_BOOZ)/ahrs/booz2_filter_attitude_cmpl_euler.c
|
||||
|
||||
sim.CFLAGS += -DUSE_AHRS_CMPL -DAHRS_ALIGNER_LED=3
|
||||
sim.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_aligner.c
|
||||
sim.srcs += $(SRC_BOOZ)/ahrs/booz2_filter_attitude_cmpl_euler.c
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
#
|
||||
# Error State Space Kalman filter for attitude estimation
|
||||
#
|
||||
|
||||
ap.CFLAGS += -DUSE_AHRS_LKF -DAHRS_ALIGNER_LED=3
|
||||
ap.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_aligner.c
|
||||
ap.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_float_lkf.c
|
||||
ap.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_float_lkf.c
|
||||
|
||||
sim.CFLAGS += -DUSE_AHRS_LKF -DAHRS_ALIGNER_LED=3
|
||||
sim.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_aligner.c
|
||||
sim.srcs += $(SRC_BOOZ)/ahrs/booz_ahrs_float_lkf.c
|
||||
|
||||
Reference in New Issue
Block a user