mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
renamed ahrs_int_cmpl to ahrs_int_cmpl_quat
This commit is contained in:
@@ -384,8 +384,8 @@ endif
|
|||||||
ifeq ($(AHRS), icq)
|
ifeq ($(AHRS), icq)
|
||||||
#test_ahrs.CFLAGS += -DAHRS_TYPE=\"ICQ\"
|
#test_ahrs.CFLAGS += -DAHRS_TYPE=\"ICQ\"
|
||||||
test_ahrs.CFLAGS += -DAHRS_PROPAGATE_FREQUENCY=512
|
test_ahrs.CFLAGS += -DAHRS_PROPAGATE_FREQUENCY=512
|
||||||
test_ahrs.CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl.h\"
|
test_ahrs.CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl_quat.h\"
|
||||||
test_ahrs.srcs +=subsystems/ahrs/ahrs_int_cmpl.c
|
test_ahrs.srcs +=subsystems/ahrs/ahrs_int_cmpl_quat.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(AHRS), flq)
|
ifeq ($(AHRS), flq)
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ AHRS_CFLAGS += -DUSE_AHRS_ALIGNER -DAHRS_GRAVITY_UPDATE_COORDINATED_TURN
|
|||||||
ifneq ($(AHRS_ALIGNER_LED),none)
|
ifneq ($(AHRS_ALIGNER_LED),none)
|
||||||
AHRS_CFLAGS += -DAHRS_ALIGNER_LED=$(AHRS_ALIGNER_LED)
|
AHRS_CFLAGS += -DAHRS_ALIGNER_LED=$(AHRS_ALIGNER_LED)
|
||||||
endif
|
endif
|
||||||
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl.h\"
|
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl_quat.h\"
|
||||||
AHRS_SRCS += subsystems/ahrs.c
|
AHRS_SRCS += subsystems/ahrs.c
|
||||||
AHRS_SRCS += subsystems/ahrs/ahrs_int_cmpl.c
|
AHRS_SRCS += subsystems/ahrs/ahrs_int_cmpl_quat.c
|
||||||
AHRS_SRCS += subsystems/ahrs/ahrs_aligner.c
|
AHRS_SRCS += subsystems/ahrs/ahrs_aligner.c
|
||||||
|
|
||||||
ap.CFLAGS += $(AHRS_CFLAGS)
|
ap.CFLAGS += $(AHRS_CFLAGS)
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ AHRS_CFLAGS += -DUSE_AHRS_ALIGNER
|
|||||||
ifneq ($(AHRS_ALIGNER_LED),none)
|
ifneq ($(AHRS_ALIGNER_LED),none)
|
||||||
AHRS_CFLAGS += -DAHRS_ALIGNER_LED=$(AHRS_ALIGNER_LED)
|
AHRS_CFLAGS += -DAHRS_ALIGNER_LED=$(AHRS_ALIGNER_LED)
|
||||||
endif
|
endif
|
||||||
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl.h\"
|
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl_quat.h\"
|
||||||
AHRS_SRCS += subsystems/ahrs.c
|
AHRS_SRCS += subsystems/ahrs.c
|
||||||
AHRS_SRCS += subsystems/ahrs/ahrs_int_cmpl.c
|
AHRS_SRCS += subsystems/ahrs/ahrs_int_cmpl_quat.c
|
||||||
AHRS_SRCS += subsystems/ahrs/ahrs_aligner.c
|
AHRS_SRCS += subsystems/ahrs/ahrs_aligner.c
|
||||||
|
|
||||||
ap.CFLAGS += $(AHRS_CFLAGS)
|
ap.CFLAGS += $(AHRS_CFLAGS)
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
// gravity heuristic
|
// gravity heuristic
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "subsystems/ahrs/ahrs_int_cmpl.h"
|
#include "subsystems/ahrs/ahrs_int_cmpl_quat.h"
|
||||||
#include "subsystems/ahrs/ahrs_aligner.h"
|
#include "subsystems/ahrs/ahrs_aligner.h"
|
||||||
#include "subsystems/ahrs/ahrs_int_utils.h"
|
#include "subsystems/ahrs/ahrs_int_utils.h"
|
||||||
|
|
||||||
@@ -104,8 +104,8 @@ AHRS_CFLAGS += -DFACE_REINJ_1=1024
|
|||||||
AHRS_SRCS += ../../subsystems/ahrs/ahrs_int_cmpl_euler.c
|
AHRS_SRCS += ../../subsystems/ahrs/ahrs_int_cmpl_euler.c
|
||||||
endif
|
endif
|
||||||
ifeq ($(AHRS_TYPE), AHRS_TYPE_ICQ)
|
ifeq ($(AHRS_TYPE), AHRS_TYPE_ICQ)
|
||||||
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl.h\"
|
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_int_cmpl_quat.h\"
|
||||||
AHRS_SRCS += ../../subsystems/ahrs/ahrs_int_cmpl.c
|
AHRS_SRCS += ../../subsystems/ahrs/ahrs_int_cmpl_quat.c
|
||||||
endif
|
endif
|
||||||
ifeq ($(AHRS_TYPE), AHRS_TYPE_FLQ)
|
ifeq ($(AHRS_TYPE), AHRS_TYPE_FLQ)
|
||||||
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_float_lkf_quat.h\"
|
AHRS_CFLAGS += -DAHRS_TYPE_H=\"subsystems/ahrs/ahrs_float_lkf_quat.h\"
|
||||||
|
|||||||
Reference in New Issue
Block a user