Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ins] convert ins subsystems to modules
and get rid of ins calls in main and register functions
- Loading branch information
Showing
45 changed files
with
323 additions
and
553 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
conf/firmwares/subsystems/fixedwing/ins_float_invariant.makefile
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
conf/firmwares/subsystems/fixedwing/ins_gps_passthrough.makefile
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
conf/firmwares/subsystems/fixedwing/ins_vectornav.makefile
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
conf/firmwares/subsystems/rotorcraft/ins_extended.makefile
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
conf/firmwares/subsystems/rotorcraft/ins_gps_passthrough.makefile
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
conf/firmwares/subsystems/rotorcraft/ins_vectornav.makefile
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
conf/firmwares/subsystems/shared/ins_float_invariant.makefile
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="ins"> | ||
<doc> | ||
<description> | ||
simple INS with vertical filter. | ||
</description> | ||
</doc> | ||
<header> | ||
<file name="ins_int.h" dir="subsystems/ins"/> | ||
</header> | ||
<init fun="ins_int_init()"/> | ||
<makefile target="ap|nps"> | ||
<define name="INS_TYPE_H" value="subsystems/ins/ins_int.h" type="string"/> | ||
<file name="ins.c" dir="subsystems"/> | ||
<file name="ins_int.c" dir="subsystems/ins"/> | ||
<file name="vf_float.c" dir="subsystems/ins"/> | ||
</makefile> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="ins_alt_float"> | ||
<doc> | ||
<description> | ||
INS with Kalman Filter on altitude. | ||
For fixedwings. | ||
</description> | ||
</doc> | ||
<header> | ||
<file name="ins_alt_float.h" dir="subsystems/ins"/> | ||
</header> | ||
<init fun="ins_alt_float_init()"/> | ||
<makefile target="ap|nps|sim" firmware="fixedwing"> | ||
<define name="INS_TYPE_H" value="subsystems/ins/ins_alt_float.h" type="string"/> | ||
<file name="ins.c" dir="subsystems"/> | ||
<file name="ins_alt_float.c" dir="subsystems/ins"/> | ||
</makefile> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="ins"> | ||
<doc> | ||
<description> | ||
extended INS with vertical filter using sonar. | ||
</description> | ||
</doc> | ||
<header> | ||
<file name="ins_int.h" dir="subsystems/ins"/> | ||
</header> | ||
<init fun="ins_int_init()"/> | ||
<makefile target="ap|nps"> | ||
<define name="INS_TYPE_H" value="subsystems/ins/ins_int.h" type="string"/> | ||
<file name="ins.c" dir="subsystems"/> | ||
<file name="ins_int.c" dir="subsystems/ins"/> | ||
<file name="vf_extended_float.c" dir="subsystems/ins"/> | ||
<define name="USE_VFF_EXTENDED"/> | ||
</makefile> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE module SYSTEM "module.dtd"> | ||
|
||
<module name="ins_float_invariant"> | ||
<doc> | ||
<description> | ||
Invariant INS (in float). | ||
Estimates attitude, velocity, position and (gyro, accel, baro) biases. | ||
</description> | ||
<configure name="USE_MAGNETOMETER" value="TRUE|FALSE" description="use magnetometer"/> | ||
<configure name="AHRS_ALIGNER_LED" value="2" description="LED number to indicate if AHRS/INS is aligned"/> | ||
</doc> | ||
<header> | ||
<file name="ins_float_invariant_wrapper.h" dir="subsystems/ins"/> | ||
</header> | ||
<init fun="ins_float_invariant_wrapper_init()"/> | ||
<makefile target="ap|nps"> | ||
<configure name="AHRS_ALIGNER_LED" default="none"/> | ||
<define name="AHRS_ALIGNER_LED" value="$(AHRS_ALIGNER_LED)" cond="ifneq ($(AHRS_ALIGNER_LED),none)"/> | ||
<configure name="USE_MAGNETOMETER" default="TRUE"/> | ||
<define name="USE_MAGNETOMETER" cond="ifeq (,$(findstring $(USE_MAGNETOMETER),0 FALSE))"/> | ||
|
||
<file name="ahrs_aligner.c" dir="subsystems/ahrs"/> | ||
<file name="ins.c" dir="subsystems"/> | ||
<file name="ins_float_invariant.c" dir="subsystems/ins"/> | ||
<file name="ins_float_invariant_wrapper.c" dir="subsystems/ins"/> | ||
|
||
<define name="USE_AHRS_ALIGNER"/> | ||
<define name="INS_TYPE_H" value="subsystems/ins/ins_float_invariant_wrapper.h" type="string"/> | ||
</makefile> | ||
<makefile target="ap|nps" firmware="fixedwing"> | ||
<define name="INS_FINV_USE_UTM"/> | ||
</makefile> | ||
<makefile target="sim"> | ||
<define name="AHRS_TYPE_H" value="subsystems/ahrs/ahrs_sim.h" type="string"/> | ||
<define name="USE_AHRS"/> | ||
<file name="ahrs.c" dir="subsystems"/> | ||
<file name="ahrs_sim.c" dir="subsystems/ahrs"/> | ||
</makefile> | ||
</module> |
Oops, something went wrong.