Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Module for dropping balls using UART

Module XML file: uart_drop.xml

No detailed description...

Example for airframe file

1 <modules>
2  <load name="uart_drop.xml"/>
3 </modules>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw uart_drop.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="uart_drop" dir="com">
<doc>
<description>Module for dropping balls using UART</description>
</doc>
<header>
<file name="uart_drop.h"/>
</header>
<makefile>
<file name="uart_drop.c"/>
<raw>
UART_DROP_PORT ?= UART1
UART_DROP_BAUD ?= B115200
UART_DROP_PORT_LOWER = $(shell echo $(UART_DROP_PORT) | tr A-Z a-z)
ap.CFLAGS += -DUART_DROP_PORT=$(UART_DROP_PORT_LOWER) -DUSE_$(UART_DROP_PORT) -D$(UART_DROP_PORT)_BAUD=$(UART_DROP_BAUD)
</raw>
</makefile>
</module>