Files
paparazzi/conf/modules/wing_rotation_controller_servo.xml
Christophe De Wagter 7da8daf6e2 [rotwing] Rename to make name consistent (#3366)
* Make naming consistent rotwing

* Fixes

* more files

* fix conf

* revert

* update

* double id's

* Missed a file

* missing renames

---------

Co-authored-by: Freek van Tienen <freek.v.tienen@gmail.com>
2024-09-27 16:43:02 +02:00

26 lines
1.2 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="wing_rotation_controller_servo" dir="rotwing_drone">
<doc>
<description>Module to control wing rotation servo command based on prefered angle setpoint</description>
</doc>
<settings>
<dl_settings NAME="wing_rotation">
<dl_settings NAME="wing_rot">
<dl_setting MAX="0.01" MIN="0" STEP="0.0001" VAR="wing_rotation_controller.wing_rotation_first_order_dynamics" shortname="first_dyn"/>
<dl_setting MAX="0.01" MIN="0" STEP="0.0001" VAR="wing_rotation_controller.wing_rotation_second_order_dynamics" shortname="second_dyn"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="wing_rotation_controller_servo.h"/>
</header>
<init fun="wing_rotation_init()"/>
<periodic fun="wing_rotation_event()"/>
<makefile>
<configure name="ADC_CHANNEL_WING_ROTATION_CONTROLLER_POSITION" default="ADC_5" case="lower|upper"/>
<define name="ADC_CHANNEL_WING_ROTATION_CONTROLLER_POSITION" value="$(ADC_CHANNEL_WING_ROTATION_CONTROLLER_POSITION_UPPER)"/>
<define name="USE_$(ADC_CHANNEL_WING_ROTATION_CONTROLLER_POSITION_UPPER)"/>
<file name="wing_rotation_controller_servo.c"/>
</makefile>
</module>