NAV AIRSPEED.
Navigation Airspeeds to be called from the flightplan. The included settings allow tuning of your different airspeeds In your flightplans you call the airspeeds with set var=v_ctl_auto_airspeed_setpoint value=nav_airspeed_nominal_setting set var=v_ctl_auto_airspeed_setpoint value=nav_airspeed_tracking_setting set var=v_ctl_auto_airspeed_setpoint value=nav_airspeed_landing_setting attitude pitch=DegOfRad(nav_takeoff_pitch_setting) ...
Example for airframe file
Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!
<module name="tune_airspeed">
b'<define name="NOMINAL_AIRSPEED" value="15" />\n '
b'<define name="TRACKING_AIRSPEED" value="20" />\n '
b'<define name="LANDING_AIRSPEED" value="12" />\n '
</module>
Module configuration options
Define Options
- name:
NOMINAL_AIRSPEED
value: 15
Description: m/s (required))
- name:
TRACKING_AIRSPEED
value: 20
Description: m/s (default: (1.25f * NOMINAL_AIRSPEED))
- name:
LANDING_AIRSPEED
value: 12
Description: m/s (default: (0.8f * NOMINAL_AIRSPEED)
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw tune_airspeed.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="tune_airspeed" dir="nav">
<doc>
<description>NAV AIRSPEED.
Navigation Airspeeds to be called from the flightplan.
The included settings allow tuning of your different airspeeds
In your flightplans you call the airspeeds with
set var=v_ctl_auto_airspeed_setpoint value=nav_airspeed_nominal_setting
set var=v_ctl_auto_airspeed_setpoint value=nav_airspeed_tracking_setting
set var=v_ctl_auto_airspeed_setpoint value=nav_airspeed_landing_setting
attitude pitch=DegOfRad(nav_takeoff_pitch_setting) ...
</description>
<define name="NOMINAL_AIRSPEED" value="15" description="m/s (required))"/>
<define name="TRACKING_AIRSPEED" value="20" description="m/s (default: (1.25f * NOMINAL_AIRSPEED))"/>
<define name="LANDING_AIRSPEED" value="12" description="m/s (default: (0.8f * NOMINAL_AIRSPEED)"/>
</doc>
<settings>
<dl_settings name="control">
<dl_settings name="airspeed">
<dl_setting max="50" min="5" step="0.5" var="nav_airspeed_nominal_setting" shortname="nominal"/>
<dl_setting max="50" min="5" step="0.5" var="nav_airspeed_tracking_setting" shortname="tracking"/>
<dl_setting max="50" min="5" step="0.5" var="nav_airspeed_landing_setting" shortname="landing"/>
<dl_setting max="80" min="-10" step="0.5" var="nav_takeoff_pitch_setting" shortname="takeoff_pitch" unit="rad" alt_unit="deg" />
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="nav_airspeed.h"/>
</header>
<makefile target="!fbw">
<file name="nav_airspeed.c"/>
</makefile>
</module>