Paparazzi UAS  v5.15_devel-46-gd23ed71
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
actuators_xvert module

Actuators Driver for x-vert vtol escs

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_xvert">
2  <configure name="ESCS_PORT" value="usb_serial" />
3  <configure name="ESCS_BAUD" value="250000" />
4 </module>

Module configuration options

Configure Options

  • name: ESCS_PORT value: usb_serial
    Description: Port used to connect to the atmegas escs.
  • name: ESCS_BAUD value: 250000
    Description: Baud rate for ESCS_PORT if a UART

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw actuators_xvert.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_esc32" dir="actuators" task="actuators">
<doc>
<description>
Actuators Driver for x-vert vtol escs
</description>
<configure name="ESCS_PORT" value="usb_serial" description="Port used to connect to the atmegas escs."/>
<configure name="ESCS_BAUD" value="250000" description="Baud rate for ESCS_PORT if a UART"/>
</doc>
<header>
<file name="actuators_xvert.h" dir="subsystems/actuators"/>
</header>
<makefile target="ap">
<define name="ACTUATORS"/>
<file_arch name="actuators_xvert.c" dir="subsystems/actuators"/>
<file_arch name="actuators_pwm_arch.c" dir="subsystems/actuators"/>
<configure name="ESCS_PORT" default="uart1" case="upper|lower"/>
<configure name="ESCS_BAUD" default="250000"/>
<define name="USE_$(ESCS_PORT_UPPER)"/>
<define name="ESCS_UART" value="$(ESCS_PORT_LOWER)"/>
<define name="$(ESCS_PORT_UPPER)_BAUD" value="$(ESCS_BAUD)"/>
</makefile>
</module>