Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
actuators_ostrich module

Driver for the Ostrich rover controller board

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!

<module name="actuators_ostrich">
b'<configure name="ACTUATORS_OSTRICH_PORT" value="UARTx" />\n '
b'<configure name="ACTUATORS_OSTRICH_BAUD" value="B115200" />\n '
</module>

Module configuration options

Configure Options

  • name: ACTUATORS_OSTRICH_PORT value: UARTx
    Description: UART port (default UART6)
  • name: ACTUATORS_OSTRICH_BAUD value: B115200
    Description: UART baudrate (default 115200)

Module functions

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw actuators_ostrich.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_ostrich" dir="actuators">
<doc>
<description>Driver for the Ostrich rover controller board</description>
<configure name="ACTUATORS_OSTRICH_PORT" value="UARTx" description="UART port (default UART6)"/>
<configure name="ACTUATORS_OSTRICH_BAUD" value="B115200" description="UART baudrate (default 115200)"/>
</doc>
<dep>
<depends>uart,actuators</depends>
<provides>actuators</provides>
</dep>
<header>
<file name="actuators_ostrich.h"/>
</header>
<periodic fun="actuators_ostrich_periodic()" freq="10"/>
<makefile target="ap">
<configure name="ACTUATORS_OSTRICH_PORT" case="upper|lower" default="UART6"/>
<configure name="ACTUATORS_OSTRICH_BAUD" default="B115200"/>
<define name="USE_$(ACTUATORS_OSTRICH_PORT_UPPER)"/>
<define name="ACTUATORS_OSTRICH_DEV" value="$(ACTUATORS_OSTRICH_PORT_LOWER)"/>
<define name="$(ACTUATORS_OSTRICH_PORT_UPPER)_BAUD" value="$(ACTUATORS_OSTRICH_BAUD)"/>
<file name="actuators_ostrich.c"/>
<test>
<define name="USE_UART6"/>
<define name="ACTUATORS_OSTRICH_DEV" value="uart6"/>
</test>
</makefile>
</module>