Files
paparazzi/conf/modules/eff_scheduling_nederdrone.xml
Christophe De Wagter 10fedcc487 Eff_scheduling update (#3062)
* Eff_scheduling update

* add setting to differentiate front and back wing

* back wing pitch eff scaling

* actually implement back wing pitch eff

* fix

* fix mistake setting

* add some comments

---------

Co-authored-by: Ewoud Smeur <e.j.j.smeur@tudelft.nl>
2023-09-09 10:04:21 +01:00

36 lines
1.9 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="eff_scheduling_nederdrone" dir="ctrl">
<doc>
<description>Interpolation of control effectivenss matrix
of the Nederdrone.
If instead using online adaptation is an option, be sure to
not use this module at the same time!</description>
</doc>
<settings>
<dl_settings>
<dl_settings name="eff_scheduling">
<dl_setting shortname="tip_prop_always_on" var="sched_tip_props_always_on" min="0" step="1" max="1"/>
<dl_setting shortname="tip_prop_lower_pitch" var="sched_tip_prop_lower_pitch_limit_deg" min="-90" step="1" max="0"/>
<dl_setting shortname="tip_prop_upper_pitch" var="sched_tip_prop_upper_pitch_limit_deg" min="-90" step="1" max="0"/>
<dl_setting shortname="sched_ratio_tip_props" var="sched_ratio_tip_props" min="0" step="0.1" max="1"/>
<dl_setting shortname="thrust_eff_scaling" var="thrust_eff_scaling" min="0.6" step="0.01" max="1.4"/>
<dl_setting shortname="back_thrust_scale" var="backwing_thrust_eff_scaling" min="0.6" step="0.01" max="1.4"/>
<dl_setting shortname="back_pitch_scale" var="backwing_pitch_eff_scaling" min="0.5" step="0.01" max="1.5"/>
<dl_setting shortname="all_act_fwd_sched" var="all_act_fwd_sched" min="0" step="1" max="1" values="OFF|ON"/>
<dl_setting shortname="trim_elevator" var="trim_elevator" min="-5000" step="1" max="5000"/>
<dl_setting shortname="trim_flaps" var="trim_flaps" min="-5000" step="1" max="5000"/>
<dl_setting shortname="pref_flaps_factor" var="pref_flaps_factor" min="0.1" step="0.1" max="100"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="eff_scheduling_nederdrone.h"/>
</header>
<init fun="ctrl_eff_scheduling_init()"/>
<periodic fun="ctrl_eff_scheduling_periodic()" freq="20.0"/>
<makefile target="ap|nps" firmware="rotorcraft">
<file name="eff_scheduling_nederdrone.c"/>
</makefile>
</module>