Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_sbus module

Actuators Driver using Futaba SBUS

Use an inverter after the serial output

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

1 <module name="actuators_sbus">
2  <configure name="ACTUATORS_SBUS_DEV" value="UARTX" />
3 </module>

Module configuration options

Configure Options

  • name: ACTUATORS_SBUS_DEV value: UARTX
    Description: UART port (default uart4)

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw actuators_sbus.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_sbus" dir="actuators" task="actuators">
<doc>
<description>
Actuators Driver using Futaba SBUS
Use an inverter after the serial output
</description>
<configure name="ACTUATORS_SBUS_DEV" value="UARTX" description="UART port (default uart4)"/>
</doc>
<header>
<file name="actuators_sbus.h" dir="subsystems/actuators"/>
</header>
<makefile target="!sim">
<configure name="ACTUATORS_SBUS_DEV" default="uart4" case="upper|lower"/>
<define name="ACTUATORS"/>
<define name="ACTUATORS_SBUS_DEV" value="$(ACTUATORS_SBUS_DEV_LOWER)"/>
<define name="USE_$(ACTUATORS_SBUS_DEV_UPPER)"/>
<define name="$(ACTUATORS_SBUS_DEV_UPPER)_BAUD" value="100000"/>
<define name="USE_$(ACTUATORS_SBUS_DEV_UPPER)_RX" value="FALSE"/>
<file name="actuators_sbus.c" dir="subsystems/actuators"/>
</makefile>
</module>