mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
[modules] move INS from subsystems to modules
This commit is contained in:
@@ -16,14 +16,14 @@
|
|||||||
<provides>ins</provides>
|
<provides>ins</provides>
|
||||||
</dep>
|
</dep>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_int.h" dir="subsystems/ins"/>
|
<file name="ins_int.h" dir="modules/ins"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_int_init()"/>
|
<init fun="ins_int_init()"/>
|
||||||
<makefile target="ap|nps|hitl">
|
<makefile target="ap|nps|hitl">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_int.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_int.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_int.c" dir="subsystems/ins"/>
|
<file name="ins_int.c"/>
|
||||||
<file name="vf_float.c" dir="subsystems/ins"/>
|
<file name="vf_float.c"/>
|
||||||
<test firmware="rotorcraft"/>
|
<test firmware="rotorcraft"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
@@ -17,13 +17,13 @@
|
|||||||
<provides>ins</provides>
|
<provides>ins</provides>
|
||||||
</dep>
|
</dep>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_alt_float.h" dir="subsystems/ins"/>
|
<file name="ins_alt_float.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_alt_float_init()"/>
|
<init fun="ins_alt_float_init()"/>
|
||||||
<makefile target="ap|nps|sim" firmware="fixedwing">
|
<makefile target="ap|nps|sim" firmware="fixedwing">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_alt_float.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_alt_float.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_alt_float.c" dir="subsystems/ins"/>
|
<file name="ins_alt_float.c"/>
|
||||||
<test firmware="fixedwing"/>
|
<test firmware="fixedwing"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
<dl_settings NAME="INS">
|
<dl_settings NAME="INS">
|
||||||
<!-- EKF2 Configuration parameters -->
|
<!-- EKF2 Configuration parameters -->
|
||||||
<dl_settings name="ekf2">
|
<dl_settings name="ekf2">
|
||||||
<dl_setting var="ekf2_params.mag_fusion_type" min="0" step="1" max="5" shortname="mag_fusion" values="AUTO|HEADING|3D|AUTOFW|INDOOR|NONE" module="subsystems/ins/ins_ekf2" handler="change_param"/>
|
<dl_setting var="ekf2_params.mag_fusion_type" min="0" step="1" max="5" shortname="mag_fusion" values="AUTO|HEADING|3D|AUTOFW|INDOOR|NONE" module="modules/ins/ins_ekf2" handler="change_param"/>
|
||||||
<dl_setting var="ekf2_params.fusion_mode" min="0" max="1" step="1" shortname="remove_gps" values="FALSE|TRUE" module="subsystems/ins/ins_ekf2" handler="remove_gps" type="bool" persistent="true"/>
|
<dl_setting var="ekf2_params.fusion_mode" min="0" max="1" step="1" shortname="remove_gps" values="FALSE|TRUE" module="modules/ins/ins_ekf2" handler="remove_gps" type="bool" persistent="true"/>
|
||||||
</dl_settings>
|
</dl_settings>
|
||||||
</dl_settings>
|
</dl_settings>
|
||||||
</settings>
|
</settings>
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
<provides>ins,ahrs</provides>
|
<provides>ins,ahrs</provides>
|
||||||
</dep>
|
</dep>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_ekf2.h" dir="subsystems/ins"/>
|
<file name="ins_ekf2.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_ekf2_init()"/>
|
<init fun="ins_ekf2_init()"/>
|
||||||
<periodic fun="ins_ekf2_update()" autorun="TRUE"/>
|
<periodic fun="ins_ekf2_update()" autorun="TRUE"/>
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
<configure name="CXXSTANDARD" value="-std=c++11"/>
|
<configure name="CXXSTANDARD" value="-std=c++11"/>
|
||||||
|
|
||||||
<!-- EKF2 files -->
|
<!-- EKF2 files -->
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_ekf2.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_ekf2.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_ekf2.cpp" dir="subsystems/ins"/>
|
<file name="ins_ekf2.cpp"/>
|
||||||
|
|
||||||
<!-- Include the ecl and matrix libraries from ext -->
|
<!-- Include the ecl and matrix libraries from ext -->
|
||||||
<include name="$(PAPARAZZI_SRC)/sw/ext/ecl/"/>
|
<include name="$(PAPARAZZI_SRC)/sw/ext/ecl/"/>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<settings>
|
<settings>
|
||||||
<dl_settings NAME="Ins Extended">
|
<dl_settings NAME="Ins Extended">
|
||||||
<dl_settings NAME="INS">
|
<dl_settings NAME="INS">
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.accel_noise" shortname="accel_noise" module="subsystems/ins/vf_extended_float"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.accel_noise" shortname="accel_noise" module="modules/ins/vf_extended_float"/>
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_baro" shortname="r_baro"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_baro" shortname="r_baro"/>
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_alt" shortname="r_alt"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_alt" shortname="r_alt"/>
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_obs_height" shortname="r_obs_height"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_obs_height" shortname="r_obs_height"/>
|
||||||
@@ -38,14 +38,14 @@
|
|||||||
</dep>
|
</dep>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_int.h" dir="subsystems/ins"/>
|
<file name="ins_int.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_int_init()"/>
|
<init fun="ins_int_init()"/>
|
||||||
<makefile target="ap|nps">
|
<makefile target="ap|nps">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_int.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_int.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_int.c" dir="subsystems/ins"/>
|
<file name="ins_int.c"/>
|
||||||
<file name="vf_extended_float.c" dir="subsystems/ins"/>
|
<file name="vf_extended_float.c"/>
|
||||||
<define name="USE_VFF_EXTENDED"/>
|
<define name="USE_VFF_EXTENDED"/>
|
||||||
<test firmware="rotorcraft"/>
|
<test firmware="rotorcraft"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<dl_settings>
|
<dl_settings>
|
||||||
<dl_settings NAME="invariant">
|
<dl_settings NAME="invariant">
|
||||||
<dl_setting MAX="1" MIN="1" STEP="1" VAR="ins_float_inv.reset" shortname="reset"/>
|
<dl_setting MAX="1" MIN="1" STEP="1" VAR="ins_float_inv.reset" shortname="reset"/>
|
||||||
<dl_setting MAX="10" MIN="0." STEP="0.001" VAR="ins_float_inv.gains.lv" shortname="lv" module="subsystems/ins/ins_float_invariant"/>
|
<dl_setting MAX="10" MIN="0." STEP="0.001" VAR="ins_float_inv.gains.lv" shortname="lv" module="modules/ins/ins_float_invariant"/>
|
||||||
<dl_setting MAX="10" MIN="0." STEP="0.001" VAR="ins_float_inv.gains.lb" shortname="lb"/>
|
<dl_setting MAX="10" MIN="0." STEP="0.001" VAR="ins_float_inv.gains.lb" shortname="lb"/>
|
||||||
<dl_setting MAX="10" MIN="0." STEP="0.001" VAR="ins_float_inv.gains.mv" shortname="mv"/>
|
<dl_setting MAX="10" MIN="0." STEP="0.001" VAR="ins_float_inv.gains.mv" shortname="mv"/>
|
||||||
<dl_setting MAX="10" MIN="0." STEP="0.01" VAR="ins_float_inv.gains.mh" shortname="mh"/>
|
<dl_setting MAX="10" MIN="0." STEP="0.01" VAR="ins_float_inv.gains.mh" shortname="mh"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
<provides>ins,ahrs</provides>
|
<provides>ins,ahrs</provides>
|
||||||
</dep>
|
</dep>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_float_invariant_wrapper.h" dir="subsystems/ins"/>
|
<file name="ins_float_invariant_wrapper.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_float_invariant_wrapper_init()"/>
|
<init fun="ins_float_invariant_wrapper_init()"/>
|
||||||
<makefile target="ap|nps">
|
<makefile target="ap|nps">
|
||||||
@@ -43,12 +43,12 @@
|
|||||||
<define name="USE_MAGNETOMETER" cond="ifeq (,$(findstring $(USE_MAGNETOMETER),0 FALSE))"/>
|
<define name="USE_MAGNETOMETER" cond="ifeq (,$(findstring $(USE_MAGNETOMETER),0 FALSE))"/>
|
||||||
|
|
||||||
<file name="ahrs_aligner.c" dir="modules/ahrs"/>
|
<file name="ahrs_aligner.c" dir="modules/ahrs"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_float_invariant.c" dir="subsystems/ins"/>
|
<file name="ins_float_invariant.c"/>
|
||||||
<file name="ins_float_invariant_wrapper.c" dir="subsystems/ins"/>
|
<file name="ins_float_invariant_wrapper.c"/>
|
||||||
|
|
||||||
<define name="USE_AHRS_ALIGNER"/>
|
<define name="USE_AHRS_ALIGNER"/>
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_float_invariant_wrapper.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_float_invariant_wrapper.h" type="string"/>
|
||||||
<test firmware="rotorcraft"/>
|
<test firmware="rotorcraft"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
<makefile target="sim">
|
<makefile target="sim">
|
||||||
|
|||||||
@@ -12,23 +12,23 @@
|
|||||||
<provides>ins</provides>
|
<provides>ins</provides>
|
||||||
</dep>
|
</dep>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_gps_passthrough.h" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_gps_passthrough_init()"/>
|
<init fun="ins_gps_passthrough_init()"/>
|
||||||
<makefile target="ap|nps" firmware="rotorcraft">
|
<makefile target="ap|nps" firmware="rotorcraft">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_gps_passthrough.c" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough.c"/>
|
||||||
<test firmware="rotorcraft"/>
|
<test firmware="rotorcraft"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
<makefile target="ap|sim|nps" firmware="fixedwing">
|
<makefile target="ap|sim|nps" firmware="fixedwing">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_gps_passthrough_utm.c" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough_utm.c"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
<makefile target="ap" firmware="rover">
|
<makefile target="ap" firmware="rover">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_gps_passthrough.c" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough.c"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
@@ -16,15 +16,15 @@
|
|||||||
<provides>ins</provides>
|
<provides>ins</provides>
|
||||||
</dep>
|
</dep>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_int.h" dir="subsystems/ins"/>
|
<file name="ins_int.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_int_init()"/>
|
<init fun="ins_int_init()"/>
|
||||||
<makefile target="ap|nps">
|
<makefile target="ap|nps">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_int.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_int.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_int.c" dir="subsystems/ins"/>
|
<file name="ins_int.c"/>
|
||||||
<file name="vf_float.c" dir="subsystems/ins"/>
|
<file name="vf_float.c"/>
|
||||||
<file name="hf_float.c" dir="subsystems/ins"/>
|
<file name="hf_float.c"/>
|
||||||
<define name="USE_HFF"/>
|
<define name="USE_HFF"/>
|
||||||
<test firmware="rotorcraft">
|
<test firmware="rotorcraft">
|
||||||
<define name="AHRS_PROPAGATE_FREQUENCY" value="500"/>
|
<define name="AHRS_PROPAGATE_FREQUENCY" value="500"/>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<settings>
|
<settings>
|
||||||
<dl_settings NAME="Ins Extended">
|
<dl_settings NAME="Ins Extended">
|
||||||
<dl_settings NAME="INS">
|
<dl_settings NAME="INS">
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.accel_noise" shortname="accel_noise" module="subsystems/ins/vf_extended_float"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.accel_noise" shortname="accel_noise" module="modules/ins/vf_extended_float"/>
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_baro" shortname="r_baro"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_baro" shortname="r_baro"/>
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_alt" shortname="r_alt"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_alt" shortname="r_alt"/>
|
||||||
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_obs_height" shortname="r_obs_height"/>
|
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_obs_height" shortname="r_obs_height"/>
|
||||||
@@ -32,16 +32,16 @@
|
|||||||
</dep>
|
</dep>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_int.h" dir="subsystems/ins"/>
|
<file name="ins_int.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_int_init()"/>
|
<init fun="ins_int_init()"/>
|
||||||
<makefile target="ap|nps">
|
<makefile target="ap|nps">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_int.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_int.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_int.c" dir="subsystems/ins"/>
|
<file name="ins_int.c"/>
|
||||||
<file name="vf_extended_float.c" dir="subsystems/ins"/>
|
<file name="vf_extended_float.c"/>
|
||||||
<define name="USE_VFF_EXTENDED"/>
|
<define name="USE_VFF_EXTENDED"/>
|
||||||
<file name="hf_float.c" dir="subsystems/ins"/>
|
<file name="hf_float.c"/>
|
||||||
<define name="USE_HFF"/>
|
<define name="USE_HFF"/>
|
||||||
<test firmware="rotorcraft">
|
<test firmware="rotorcraft">
|
||||||
<define name="AHRS_PROPAGATE_FREQUENCY" value="500"/>
|
<define name="AHRS_PROPAGATE_FREQUENCY" value="500"/>
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
<define name="USE_MAGNETOMETER" cond="ifeq (,$(findstring $(USE_MAGNETOMETER),0 FALSE))"/>
|
<define name="USE_MAGNETOMETER" cond="ifeq (,$(findstring $(USE_MAGNETOMETER),0 FALSE))"/>
|
||||||
<include name="$(PAPARAZZI_SRC)/sw/ext/eigen"/>
|
<include name="$(PAPARAZZI_SRC)/sw/ext/eigen"/>
|
||||||
<file name="ahrs_aligner.c" dir="modules/ahrs"/>
|
<file name="ahrs_aligner.c" dir="modules/ahrs"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_mekf_wind.cpp"/>
|
<file name="ins_mekf_wind.cpp"/>
|
||||||
<file name="ins_mekf_wind_wrapper.c"/>
|
<file name="ins_mekf_wind_wrapper.c"/>
|
||||||
<flag name="LDFLAGS" value="lstdc++" />
|
<flag name="LDFLAGS" value="lstdc++" />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</dep>
|
</dep>
|
||||||
<autoload name="gps_nps"/>
|
<autoload name="gps_nps"/>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_gps_passthrough.h" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_gps_passthrough_init()"/>
|
<init fun="ins_gps_passthrough_init()"/>
|
||||||
<makefile target="nps|hitl">
|
<makefile target="nps|hitl">
|
||||||
@@ -30,13 +30,13 @@
|
|||||||
</makefile>
|
</makefile>
|
||||||
|
|
||||||
<makefile target="nps|hitl" firmware="rotorcraft">
|
<makefile target="nps|hitl" firmware="rotorcraft">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_gps_passthrough.c" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough.c"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
<makefile target="nps|hitl" firmware="fixedwing">
|
<makefile target="nps|hitl" firmware="fixedwing">
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_gps_passthrough_utm.c" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough_utm.c"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<autoload name="imu_sim"/>
|
<autoload name="imu_sim"/>
|
||||||
<autoload name="gps_sim"/>
|
<autoload name="gps_sim"/>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins_gps_passthrough.h" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_gps_passthrough_init()"/>
|
<init fun="ins_gps_passthrough_init()"/>
|
||||||
<makefile target="sim">
|
<makefile target="sim">
|
||||||
@@ -22,9 +22,9 @@
|
|||||||
<define name="USE_AHRS"/>
|
<define name="USE_AHRS"/>
|
||||||
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_sim.h" type="string"/>
|
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_sim.h" type="string"/>
|
||||||
|
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_gps_passthrough_utm.c" dir="subsystems/ins"/>
|
<file name="ins_gps_passthrough_utm.c"/>
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_gps_passthrough.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
||||||
<test firmware="rotorcraft">
|
<test firmware="rotorcraft">
|
||||||
<define name="PRIMARY_AHRS" value="ahrs_sim"/>
|
<define name="PRIMARY_AHRS" value="ahrs_sim"/>
|
||||||
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_sim.h" type="string"/>
|
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_sim.h" type="string"/>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<makefile target="ap|nps" firmware="rotorcraft">
|
<makefile target="ap|nps" firmware="rotorcraft">
|
||||||
<define name="INS_TYPE_H" value="modules/ins/ins_skeleton.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_skeleton.h" type="string"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_skeleton.c"/>
|
<file name="ins_skeleton.c"/>
|
||||||
<test firmware="rotorcraft"/>
|
<test firmware="rotorcraft"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<autoload name="imu_sim"/>
|
<autoload name="imu_sim"/>
|
||||||
<autoload name="imu_nps"/>
|
<autoload name="imu_nps"/>
|
||||||
<header>
|
<header>
|
||||||
<file name="ins.h" dir="subsystems"/>
|
<file name="ins.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="ins_vectornav_init()"/>
|
<init fun="ins_vectornav_init()"/>
|
||||||
<periodic fun="ins_vectornav_monitor()" freq="1.0" autorun="TRUE"/>
|
<periodic fun="ins_vectornav_monitor()" freq="1.0" autorun="TRUE"/>
|
||||||
@@ -33,10 +33,10 @@
|
|||||||
|
|
||||||
<file name="vn200_serial.c" dir="peripherals"/>
|
<file name="vn200_serial.c" dir="peripherals"/>
|
||||||
|
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<file name="ins_vectornav.c" dir="subsystems/ins"/>
|
<file name="ins_vectornav.c"/>
|
||||||
<file name="ins_vectornav_wrapper.c" dir="subsystems/ins"/>
|
<file name="ins_vectornav_wrapper.c"/>
|
||||||
<define name="INS_TYPE_H" value="subsystems/ins/ins_vectornav_wrapper.h" type="string"/>
|
<define name="INS_TYPE_H" value="modules/ins/ins_vectornav_wrapper.h" type="string"/>
|
||||||
|
|
||||||
<file name="gps.c" dir="modules/gps"/>
|
<file name="gps.c" dir="modules/gps"/>
|
||||||
<define name="USE_GPS"/>
|
<define name="USE_GPS"/>
|
||||||
@@ -44,10 +44,10 @@
|
|||||||
ifdef SECONDARY_GPS
|
ifdef SECONDARY_GPS
|
||||||
ifneq (,$(findstring $(SECONDARY_GPS), vectornav))
|
ifneq (,$(findstring $(SECONDARY_GPS), vectornav))
|
||||||
# this is the secondary GPS
|
# this is the secondary GPS
|
||||||
ap.CFLAGS += -DGPS_SECONDARY_TYPE_H=\"subsystems/ins/ins_vectornav_wrapper.h\"
|
ap.CFLAGS += -DGPS_SECONDARY_TYPE_H=\"modules/ins/ins_vectornav_wrapper.h\"
|
||||||
ap.CFLAGS += -DSECONDARY_GPS=GPS_VECTORNAV
|
ap.CFLAGS += -DSECONDARY_GPS=GPS_VECTORNAV
|
||||||
else
|
else
|
||||||
ap.CFLAGS += -DGPS_TYPE_H=\"subsystems/ins/ins_vectornav_wrapper.h\"
|
ap.CFLAGS += -DGPS_TYPE_H=\"modules/ins/ins_vectornav_wrapper.h\"
|
||||||
ap.CFLAGS += -DPRIMARY_GPS=GPS_VECTORNAV
|
ap.CFLAGS += -DPRIMARY_GPS=GPS_VECTORNAV
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<file name="xsens.c"/>
|
<file name="xsens.c"/>
|
||||||
<file name="xsens_parser.c"/>
|
<file name="xsens_parser.c"/>
|
||||||
<file name="ins_xsens.c"/>
|
<file name="ins_xsens.c"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<configure name="XSENS_PORT" default="uart1" case="upper|lower"/>
|
<configure name="XSENS_PORT" default="uart1" case="upper|lower"/>
|
||||||
<configure name="XSENS_BAUD" default="B115200"/>
|
<configure name="XSENS_BAUD" default="B115200"/>
|
||||||
<define name="USE_$(XSENS_PORT_UPPER)" value="1"/>
|
<define name="USE_$(XSENS_PORT_UPPER)" value="1"/>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<file name="xsens700.c"/>
|
<file name="xsens700.c"/>
|
||||||
<file name="xsens_parser.c"/>
|
<file name="xsens_parser.c"/>
|
||||||
<file name="ins_xsens700.c"/>
|
<file name="ins_xsens700.c"/>
|
||||||
<file name="ins.c" dir="subsystems"/>
|
<file name="ins.c"/>
|
||||||
<configure name="XSENS_PORT" default="uart1" case="upper|lower"/>
|
<configure name="XSENS_PORT" default="uart1" case="upper|lower"/>
|
||||||
<configure name="XSENS_BAUD" default="B115200"/>
|
<configure name="XSENS_BAUD" default="B115200"/>
|
||||||
<define name="USE_$(XSENS_PORT_UPPER)" value="1"/>
|
<define name="USE_$(XSENS_PORT_UPPER)" value="1"/>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
#include "navdata.h"
|
#include "navdata.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/ahrs/ahrs.h"
|
#include "modules/ahrs/ahrs.h"
|
||||||
#include "modules/core/abi.h"
|
#include "modules/core/abi.h"
|
||||||
#include "mcu_periph/gpio.h"
|
#include "mcu_periph/gpio.h"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
#include "firmwares/rotorcraft/guidance/guidance_indi.h"
|
#include "firmwares/rotorcraft/guidance/guidance_indi.h"
|
||||||
#include "subsystems/ins/ins_int.h"
|
#include "modules/ins/ins_int.h"
|
||||||
#include "modules/radio_control/radio_control.h"
|
#include "modules/radio_control/radio_control.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
#include "modules/imu/imu.h"
|
#include "modules/imu/imu.h"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
#include "firmwares/rotorcraft/guidance/guidance_indi_hybrid.h"
|
#include "firmwares/rotorcraft/guidance/guidance_indi_hybrid.h"
|
||||||
#include "subsystems/ins/ins_int.h"
|
#include "modules/ins/ins_int.h"
|
||||||
#include "modules/radio_control/radio_control.h"
|
#include "modules/radio_control/radio_control.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
#include "modules/imu/imu.h"
|
#include "modules/imu/imu.h"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "pprz_debug.h"
|
#include "pprz_debug.h"
|
||||||
#include "modules/gps/gps.h" // needed by auto_nav from the flight plan
|
#include "modules/gps/gps.h" // needed by auto_nav from the flight plan
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
|
|
||||||
#include "autopilot.h"
|
#include "autopilot.h"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include "pprz_debug.h"
|
#include "pprz_debug.h"
|
||||||
#include "modules/gps/gps.h" // needed by auto_nav from the flight plan
|
#include "modules/gps/gps.h" // needed by auto_nav from the flight plan
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
|
|
||||||
#include "autopilot.h"
|
#include "autopilot.h"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
#include "modules/imu/imu.h"
|
#include "modules/imu/imu.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
#include "mcu_periph/uart.h"
|
#include "mcu_periph/uart.h"
|
||||||
|
|
||||||
|
|||||||
@@ -21,13 +21,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/hf_float.c
|
* @file modules/ins/hf_float.c
|
||||||
*
|
*
|
||||||
* Horizontal filter (x,y) to estimate position and velocity.
|
* Horizontal filter (x,y) to estimate position and velocity.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/hf_float.h"
|
#include "modules/ins/hf_float.h"
|
||||||
#include "modules/imu/imu.h"
|
#include "modules/imu/imu.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/hf_float.h
|
* @file modules/ins/hf_float.h
|
||||||
*
|
*
|
||||||
* Horizontal filter (x,y) to estimate position and velocity.
|
* Horizontal filter (x,y) to estimate position and velocity.
|
||||||
*
|
*
|
||||||
@@ -20,12 +20,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins.c
|
* @file modules/ins/ins.c
|
||||||
* Integrated Navigation System interface.
|
* Integrated Navigation System interface.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#if USE_GPS
|
#if USE_GPS
|
||||||
// for ins_reset_utm_zone
|
// for ins_reset_utm_zone
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins.h
|
* @file modules/ins/ins.h
|
||||||
* Integrated Navigation System interface.
|
* Integrated Navigation System interface.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
+2
-2
@@ -20,11 +20,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_alt_float.c
|
* @file modules/ins/ins_alt_float.c
|
||||||
* Filters altitude and climb rate for fixedwings.
|
* Filters altitude and climb rate for fixedwings.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_alt_float.h"
|
#include "modules/ins/ins_alt_float.h"
|
||||||
|
|
||||||
#include "modules/core/abi.h"
|
#include "modules/core/abi.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
+2
-2
@@ -21,14 +21,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_alt_float.h
|
* @file modules/ins/ins_alt_float.h
|
||||||
* Filters altitude and climb rate for fixedwings.
|
* Filters altitude and climb rate for fixedwings.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INS_ALT_FLOAT_H
|
#ifndef INS_ALT_FLOAT_H
|
||||||
#define INS_ALT_FLOAT_H
|
#define INS_ALT_FLOAT_H
|
||||||
|
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
@@ -20,13 +20,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_ekf2.cpp
|
* @file modules/ins/ins_ekf2.cpp
|
||||||
*
|
*
|
||||||
* INS based in the EKF2 of PX4
|
* INS based in the EKF2 of PX4
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_ekf2.h"
|
#include "modules/ins/ins_ekf2.h"
|
||||||
#include "subsystems/navigation/waypoints.h"
|
#include "subsystems/navigation/waypoints.h"
|
||||||
#include "modules/core/abi.h"
|
#include "modules/core/abi.h"
|
||||||
#include "stabilization/stabilization_attitude.h"
|
#include "stabilization/stabilization_attitude.h"
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_ekf2.h
|
* @file modules/ins/ins_ekf2.h
|
||||||
*
|
*
|
||||||
* INS based in the EKF2 of PX4
|
* INS based in the EKF2 of PX4
|
||||||
*
|
*
|
||||||
@@ -34,7 +34,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "modules/ahrs/ahrs.h"
|
#include "modules/ahrs/ahrs.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
struct ekf2_parameters_t {
|
struct ekf2_parameters_t {
|
||||||
int32_t mag_fusion_type;
|
int32_t mag_fusion_type;
|
||||||
+3
-3
@@ -19,18 +19,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_float_invariant.c
|
* @file modules/ins/ins_float_invariant.c
|
||||||
* @author Jean-Philippe Condomines <jp.condomines@gmail.com>
|
* @author Jean-Philippe Condomines <jp.condomines@gmail.com>
|
||||||
*
|
*
|
||||||
* INS using invariant filter.
|
* INS using invariant filter.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_float_invariant.h"
|
#include "modules/ins/ins_float_invariant.h"
|
||||||
|
|
||||||
#include "modules/ahrs/ahrs_int_utils.h"
|
#include "modules/ahrs/ahrs_int_utils.h"
|
||||||
|
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
|
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
+2
-2
@@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_float_invariant.h
|
* @file modules/ins/ins_float_invariant.h
|
||||||
* INS using invariant filter.
|
* INS using invariant filter.
|
||||||
* For more information, please send an email to "jp.condomines@gmail.com"
|
* For more information, please send an email to "jp.condomines@gmail.com"
|
||||||
*/
|
*/
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
#ifndef INS_FLOAT_INVARIANT_H
|
#ifndef INS_FLOAT_INVARIANT_H
|
||||||
#define INS_FLOAT_INVARIANT_H
|
#define INS_FLOAT_INVARIANT_H
|
||||||
|
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
#include "math/pprz_algebra_float.h"
|
#include "math/pprz_algebra_float.h"
|
||||||
#include "math/pprz_orientation_conversion.h"
|
#include "math/pprz_orientation_conversion.h"
|
||||||
+2
-2
@@ -20,12 +20,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_float_invariant_wrapper.c
|
* @file modules/ins/ins_float_invariant_wrapper.c
|
||||||
*
|
*
|
||||||
* Paparazzi specific wrapper to run INVARIANT filter.
|
* Paparazzi specific wrapper to run INVARIANT filter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_float_invariant_wrapper.h"
|
#include "modules/ins/ins_float_invariant_wrapper.h"
|
||||||
#include "modules/core/abi.h"
|
#include "modules/core/abi.h"
|
||||||
#include "mcu_periph/sys_time.h"
|
#include "mcu_periph/sys_time.h"
|
||||||
#include "message_pragmas.h"
|
#include "message_pragmas.h"
|
||||||
+2
-2
@@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_float_invariant_wrapper.h
|
* @file modules/ins/ins_float_invariant_wrapper.h
|
||||||
*
|
*
|
||||||
* Paparazzi specific wrapper to run INVARIANT filter.
|
* Paparazzi specific wrapper to run INVARIANT filter.
|
||||||
*/
|
*/
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
#ifndef INS_FLOAT_INVARIANT_WRAPPER_H
|
#ifndef INS_FLOAT_INVARIANT_WRAPPER_H
|
||||||
#define INS_FLOAT_INVARIANT_WRAPPER_H
|
#define INS_FLOAT_INVARIANT_WRAPPER_H
|
||||||
|
|
||||||
#include "subsystems/ins/ins_float_invariant.h"
|
#include "modules/ins/ins_float_invariant.h"
|
||||||
|
|
||||||
extern void ins_float_invariant_wrapper_init(void);
|
extern void ins_float_invariant_wrapper_init(void);
|
||||||
|
|
||||||
+3
-3
@@ -20,14 +20,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_gps_passthrough.c
|
* @file modules/ins/ins_gps_passthrough.c
|
||||||
*
|
*
|
||||||
* Simply converts GPS ECEF position and velocity to NED
|
* Simply converts GPS ECEF position and velocity to NED
|
||||||
* and passes it through to the state interface.
|
* and passes it through to the state interface.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_gps_passthrough.h"
|
#include "modules/ins/ins_gps_passthrough.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_gps_passthrough.h
|
* @file modules/ins/ins_gps_passthrough.h
|
||||||
*
|
*
|
||||||
* Simply passes GPS through to the state interface.
|
* Simply passes GPS through to the state interface.
|
||||||
*/
|
*/
|
||||||
+3
-3
@@ -20,14 +20,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_gps_passthrough_utm.c
|
* @file modules/ins/ins_gps_passthrough_utm.c
|
||||||
*
|
*
|
||||||
* Simply passes GPS UTM position and velocity through to the state interface.
|
* Simply passes GPS UTM position and velocity through to the state interface.
|
||||||
* For fixedwing firmware since it sets UTM pos only.
|
* For fixedwing firmware since it sets UTM pos only.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_gps_passthrough.h"
|
#include "modules/ins/ins_gps_passthrough.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
@@ -20,13 +20,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_int.c
|
* @file modules/ins/ins_int.c
|
||||||
*
|
*
|
||||||
* INS for rotorcrafts combining vertical and horizontal filters.
|
* INS for rotorcrafts combining vertical and horizontal filters.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/ins_int.h"
|
#include "modules/ins/ins_int.h"
|
||||||
|
|
||||||
#include "modules/core/abi.h"
|
#include "modules/core/abi.h"
|
||||||
|
|
||||||
@@ -36,13 +36,13 @@
|
|||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
|
|
||||||
#if USE_VFF_EXTENDED
|
#if USE_VFF_EXTENDED
|
||||||
#include "subsystems/ins/vf_extended_float.h"
|
#include "modules/ins/vf_extended_float.h"
|
||||||
#else
|
#else
|
||||||
#include "subsystems/ins/vf_float.h"
|
#include "modules/ins/vf_float.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_HFF
|
#if USE_HFF
|
||||||
#include "subsystems/ins/hf_float.h"
|
#include "modules/ins/hf_float.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined SITL && USE_NPS
|
#if defined SITL && USE_NPS
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/ins_int.h
|
* @file modules/ins/ins_int.h
|
||||||
*
|
*
|
||||||
* INS for rotorcrafts combining vertical and horizontal filters.
|
* INS for rotorcrafts combining vertical and horizontal filters.
|
||||||
*
|
*
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
#ifndef INS_INT_H
|
#ifndef INS_INT_H
|
||||||
#define INS_INT_H
|
#define INS_INT_H
|
||||||
|
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
#include "math/pprz_geodetic_int.h"
|
#include "math/pprz_geodetic_int.h"
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
#if USE_AHRS_ALIGNER
|
#if USE_AHRS_ALIGNER
|
||||||
#include "modules/ahrs/ahrs_aligner.h"
|
#include "modules/ahrs/ahrs_aligner.h"
|
||||||
#endif
|
#endif
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/core/abi.h"
|
#include "modules/core/abi.h"
|
||||||
#include "math/pprz_isa.h"
|
#include "math/pprz_isa.h"
|
||||||
#include "state.h"
|
#include "state.h"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#define INS_MODULE_H
|
#define INS_MODULE_H
|
||||||
|
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#ifndef INS_FORMAT
|
#ifndef INS_FORMAT
|
||||||
#define INS_FORMAT float
|
#define INS_FORMAT float
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "math/pprz_algebra_int.h"
|
#include "math/pprz_algebra_int.h"
|
||||||
#include "math/pprz_orientation_conversion.h"
|
#include "math/pprz_orientation_conversion.h"
|
||||||
|
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
|
|
||||||
/** Ins implementation state (fixed point) */
|
/** Ins implementation state (fixed point) */
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@
|
|||||||
*
|
*
|
||||||
* @author Michal Podhradsky <michal.podhradsky@aggiemail.usu.edu>
|
* @author Michal Podhradsky <michal.podhradsky@aggiemail.usu.edu>
|
||||||
*/
|
*/
|
||||||
#include "subsystems/ins/ins_vectornav.h"
|
#include "modules/ins/ins_vectornav.h"
|
||||||
#include "math/pprz_geodetic_wgs84.h"
|
#include "math/pprz_geodetic_wgs84.h"
|
||||||
|
|
||||||
struct InsVectornav ins_vn;
|
struct InsVectornav ins_vn;
|
||||||
+1
-1
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
// Subsystems
|
// Subsystems
|
||||||
#include "modules/gps/gps.h"
|
#include "modules/gps/gps.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
// Peripheral
|
// Peripheral
|
||||||
#include "peripherals/vn200_serial.h"
|
#include "peripherals/vn200_serial.h"
|
||||||
+1
-1
@@ -26,7 +26,7 @@
|
|||||||
*
|
*
|
||||||
* @author Michal Podhradsky <michal.podhradsky@aggiemail.usu.edu>
|
* @author Michal Podhradsky <michal.podhradsky@aggiemail.usu.edu>
|
||||||
*/
|
*/
|
||||||
#include "subsystems/ins/ins_vectornav_wrapper.h"
|
#include "modules/ins/ins_vectornav_wrapper.h"
|
||||||
|
|
||||||
void gps_vectornav_init(void)
|
void gps_vectornav_init(void)
|
||||||
{
|
{
|
||||||
+1
-1
@@ -29,7 +29,7 @@
|
|||||||
#ifndef INS_VECTORNAV_WRAPPER_H
|
#ifndef INS_VECTORNAV_WRAPPER_H
|
||||||
#define INS_VECTORNAV_WRAPPER_H
|
#define INS_VECTORNAV_WRAPPER_H
|
||||||
|
|
||||||
#include "subsystems/ins/ins_vectornav.h"
|
#include "modules/ins/ins_vectornav.h"
|
||||||
|
|
||||||
#ifndef PRIMARY_GPS
|
#ifndef PRIMARY_GPS
|
||||||
#define PRIMARY_GPS GPS_VECTORNAV
|
#define PRIMARY_GPS GPS_VECTORNAV
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ins_xsens.h"
|
#include "ins_xsens.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ins_xsens700.h"
|
#include "ins_xsens700.h"
|
||||||
#include "subsystems/ins.h"
|
#include "modules/ins/ins.h"
|
||||||
|
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/vf_extended_float.c
|
* @file modules/ins/vf_extended_float.c
|
||||||
*
|
*
|
||||||
* Extended vertical filter (in float).
|
* Extended vertical filter (in float).
|
||||||
*
|
*
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
* X = [ z zdot accel_bias baro_offset obstacle_height ]
|
* X = [ z zdot accel_bias baro_offset obstacle_height ]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/vf_extended_float.h"
|
#include "modules/ins/vf_extended_float.h"
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
|
|
||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/vf_extended_float.h
|
* @file modules/ins/vf_extended_float.h
|
||||||
*
|
*
|
||||||
* Interface for extended vertical filter (in float).
|
* Interface for extended vertical filter (in float).
|
||||||
*
|
*
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file subsystems/ins/vf_float.c
|
* @file modules/ins/vf_float.c
|
||||||
*
|
*
|
||||||
* Vertical filter (in float) estimating altitude, velocity and accel bias.
|
* Vertical filter (in float) estimating altitude, velocity and accel bias.
|
||||||
*
|
*
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "subsystems/ins/vf_float.h"
|
#include "modules/ins/vf_float.h"
|
||||||
#include "generated/airframe.h"
|
#include "generated/airframe.h"
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user