Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ins_hff_extended module

extended INS with vertical filter using sonar.

No detailed description...

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

<module name="ins_hff_extended">
b'<define name="INS_SONAR_MIN_RANGE" value="0.001" />\n '
b'<define name="INS_SONAR_MAX_RANGE" value="4.0" />\n '
b'<define name="INS_SONAR_UPDATE_ON_AGL" value="FALSE" />\n '
</module>

Module configuration options

Define Options

  • name: INS_SONAR_MIN_RANGE value: 0.001
    Description: min sonar range in meters
  • name: INS_SONAR_MAX_RANGE value: 4.0
    Description: max sonar range in meters
  • name: INS_SONAR_UPDATE_ON_AGL value: FALSE
    Description: assume flat ground and use sonar for height

Files

Source Files

Raw ins_hff_extended.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="ins_hff_extended" dir="ins" task="estimation">
<doc>
<description>
extended INS with vertical filter using sonar.
</description>
<define name="INS_SONAR_MIN_RANGE" value="0.001" description="min sonar range in meters"/>
<define name="INS_SONAR_MAX_RANGE" value="4.0" description="max sonar range in meters"/>
<define name="INS_SONAR_UPDATE_ON_AGL" value="FALSE" description="assume flat ground and use sonar for height"/>
</doc>
<settings>
<dl_settings NAME="Ins Extended">
<dl_settings NAME="INS">
<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_alt" shortname="r_alt"/>
<dl_setting MAX="10" MIN="0" STEP="0.1" VAR="vff.r_obs_height" shortname="r_obs_height"/>
</dl_settings>
</dl_settings>
</settings>
<dep>
<depends>ins_int_common</depends>
<provides>ins</provides>
</dep>
<makefile target="ap|nps">
<file name="vf_extended_float.c"/>
<define name="USE_VFF_EXTENDED"/>
<file name="hf_float.c"/>
<define name="USE_HFF"/>
<test firmware="rotorcraft">
<define name="AHRS_PROPAGATE_FREQUENCY" value="500"/>
</test>
</makefile>
</module>