mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 21:36:28 +08:00
[rotorcraft] fix ins subsystems for nps sim
This commit is contained in:
@@ -154,20 +154,17 @@ endif
|
||||
nps.CFLAGS += -DUSE_NAVIGATION
|
||||
nps.srcs += $(SRC_FIRMWARE)/guidance/guidance_h.c
|
||||
nps.srcs += $(SRC_FIRMWARE)/guidance/guidance_v.c
|
||||
nps.srcs += $(SRC_SUBSYSTEMS)/ins.c
|
||||
|
||||
# vertical filter float version
|
||||
nps.srcs += $(SRC_SUBSYSTEMS)/ins/vf_float.c
|
||||
nps.CFLAGS += -DUSE_VFF -DDT_VFILTER='(1./512.)'
|
||||
|
||||
#
|
||||
# INS choice
|
||||
#
|
||||
# include ins_hff.makefile
|
||||
# include subsystems/rotorcraft/ins.makefile
|
||||
# or
|
||||
# nothing
|
||||
# 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
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# simple INS with float vertical filter
|
||||
#
|
||||
|
||||
ap.srcs += $(SRC_SUBSYSTEMS)/ins.c
|
||||
$(TARGET).srcs += $(SRC_SUBSYSTEMS)/ins.c
|
||||
|
||||
# vertical filter float version
|
||||
ap.srcs += $(SRC_SUBSYSTEMS)/ins/vf_float.c
|
||||
ap.CFLAGS += -DUSE_VFF -DDT_VFILTER='(1./$(PERIODIC_FREQUENCY).)'
|
||||
$(TARGET).srcs += $(SRC_SUBSYSTEMS)/ins/vf_float.c
|
||||
$(TARGET).CFLAGS += -DUSE_VFF -DDT_VFILTER='(1./$(PERIODIC_FREQUENCY).)'
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# extended INS with vertical filter using sonar in a better way (flap ground)
|
||||
#
|
||||
|
||||
ap.srcs += $(SRC_SUBSYSTEMS)/ins_extended.c
|
||||
$(TARGET).srcs += $(SRC_SUBSYSTEMS)/ins_extended.c
|
||||
|
||||
# vertical filter float version
|
||||
ap.srcs += $(SRC_SUBSYSTEMS)/ins/vf_extended_float.c
|
||||
ap.CFLAGS += -DUSE_VFF_EXTENDED -DDT_VFILTER='(1./$(PERIODIC_FREQUENCY).)'
|
||||
$(TARGET).srcs += $(SRC_SUBSYSTEMS)/ins/vf_extended_float.c
|
||||
$(TARGET).CFLAGS += -DUSE_VFF_EXTENDED -DDT_VFILTER='(1./$(PERIODIC_FREQUENCY).)'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user