mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-06 11:12:43 +08:00
The Ranger T1 is a tilt-rotor hybrid plane. As a first basic approach, two separated controls are used for hovering (INDI) and forward flight (PID). The mixing is done by a dedicated module and the autopilot is customized to support the specific modes. A simple PID controller is added to the rotorcraft firmware as it is not possible to directly reuse the one from fixedwing firmware. In a future work, a full INDI version might be used, but this approach can still serves as an example of customized autopilot. A simulation model for JSBSim is also provided.
24 lines
834 B
XML
24 lines
834 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
<module name="control_mixing_heewing" dir="ctrl" task="control">
|
|
<doc>
|
|
<description>Control mixing specific to the Heewing T1 Ranger</description>
|
|
</doc>
|
|
<header>
|
|
<file name="control_mixing_heewing.h"/>
|
|
</header>
|
|
<init fun="control_mixing_heewing_init()"/>
|
|
<makefile>
|
|
<file name="control_mixing_heewing.c"/>
|
|
<test firmware="rotorcraft">
|
|
<define name="INDI_OUTPUTS" value="4"/>
|
|
<define name="INDI_NUM_ACT" value="4"/>
|
|
<define name="COMMAND_MOTOR_RIGHT" value="0"/>
|
|
<define name="COMMAND_MOTOR_LEFT" value="1"/>
|
|
<define name="COMMAND_MOTOR_TAIL" value="2"/>
|
|
<define name="COMMAND_TILT" value="3"/>
|
|
<define name="ACTUATORS_NB" value="4"/>
|
|
<define name="PERIODIC_FREQUENCY" value="500"/>
|
|
</test>
|
|
</makefile>
|
|
</module>
|