mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
e436d78c84
There is no longer a separated FBW in normal operation for fixedwing, only a single AP task/thread. The code for main_ap is now factorized for all firmwares. Dual MCU support (separated AP and FBW) is still possible, based on the rotorcraft implementation and intermcu pprzlink messages. Relevant code is also factorized and available in all firmwares. The recovery mode (in case of hard fault) is still available for fixedwing with ChibiOS implementation. Only intermcu_uart is supported at the moment. Other options (spi/can) might be added back in the future if really used. Some other evolution are made: - in the radio_control and actuators modules, now integrated to AP and using ABI messages - the message parsing on datalink event (defined in module) that is now properly filtering the messages based on their class and allowing to have multiple callbacks for the same message - cleaning the part of code that were using the old intermcu fixedwing interface
29 lines
832 B
XML
29 lines
832 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="radio_control_intermcu" dir="radio_control" task="radio_control">
|
|
<doc>
|
|
<description>
|
|
Radio control over intermcu
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>radio_control_common</depends>
|
|
<provides>radio_control</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="rc_intermcu.h"/>
|
|
</header>
|
|
<init fun="rc_intermcu_init()"/>
|
|
<datalink message="IMCU_RADIO_COMMANDS" fun="rc_intermcu_parse_msg(buf)" class="intermcu"/>
|
|
<datalink message="IMCU_FBW_STATUS" fun="rc_intermcu_parse_fbw_status(buf)" class="intermcu"/>
|
|
<makefile target="ap">
|
|
<define name="RADIO_CONTROL_TYPE_INTERMCU"/>
|
|
<file name="rc_intermcu.c"/>
|
|
<test>
|
|
<define name="RADIO_CONTROL"/>
|
|
<define name="RADIO_CONTROL_TYPE_INTERMCU"/>
|
|
</test>
|
|
</makefile>
|
|
</module>
|
|
|