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_bebop module

Actuators Driver for Bebop 1 and 2

No detailed description...

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_bebop">
2  <configure name="BEBOP_ACTUATORS_I2C_DEV" value="i2cX" />
3 </module>

Module configuration options

Configure Options

  • name: BEBOP_ACTUATORS_I2C_DEV value: i2cX
    Description: I2C port (default i2c1)

Files

Header Files

The following headers are automatically included in modules.h

Source Files

  • /actuators.c

Raw actuators_bebop.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_bebop" dir="actuators" task="actuators">
<doc>
<description>
Actuators Driver for Bebop 1 and 2
</description>
<configure name="BEBOP_ACTUATORS_I2C_DEV" value="i2cX" description="I2C port (default i2c1)"/>
</doc>
<header>
<file name="actuators.h" dir="boards/bebop"/>
</header>
<makefile target="ap">
<configure name="BEBOP_ACTUATORS_I2C_DEV" default="i2c1" case="upper|lower"/>
<define name="ACTUATORS"/>
<define name="BEBOP_ACTUATORS_I2C_DEV" value="$(BEBOP_ACTUATORS_I2C_DEV_LOWER)"/>
<define name="USE_$(BEBOP_ACTUATORS_I2C_DEV_UPPER)"/>
<file name="actuators.c" dir="$(SRC_BOARD)"/>
</makefile>
</module>