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

Radio control based on Graupner HOTT SUMD

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="radio_control_hott">
2  <configure name="RADIO_CONTROL_LED" value="none|num" />
3  <configure name="HOTT_PORT" value="UARTX" />
4 </module>

Module configuration options

Configure Options

  • name: RADIO_CONTROL_LED value: none|num
    Description: LED number or 'none' to disable
  • name: HOTT_PORT value: UARTX
    Description: UART name where HOTT receiver is plugged

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw radio_control_hott.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="radio_control_hott" dir="radio_control">
<doc>
<description>
Radio control based on Graupner HOTT SUMD
</description>
<configure name="RADIO_CONTROL_LED" value="none|num" description="LED number or 'none' to disable"/>
<configure name="HOTT_PORT" value="UARTX" description="UART name where HOTT receiver is plugged"/>
</doc>
<header>
<file name="hott.h" dir="subsystems/radio_control"/>
</header>
<makefile target="ap|fbw">
<configure name="RADIO_CONTROL_LED" default="none"/>
<configure name="HOTT_UART" value="$(HOTT_PORT)" case="upper|lower"/>
<define name="RADIO_CONTROL_LED" value="$(RADIO_CONTROL_LED)" cond="ifneq ($(RADIO_CONTROL_LED),none)"/>
<define name="RADIO_CONTROL_TYPE_H" value="subsystems/radio_control/hott.h" type="string"/>
</makefile>
<makefile target="fbw">
<define name="RADIO_CONTROL"/>
<define name="RADIO_CONTROL_TYPE_HOTT"/>
<define name="USE_$(HOTT_UART_UPPER)"/>
<define name="$(HOTT_UART_UPPER)_BAUD" value="B115200"/>
<define name="HOTT_UART_DEV" value="$(HOTT_UART_LOWER)"/>
<file name="radio_control.c" dir="subsystems"/>
<file name="hott.c" dir="subsystems/radio_control"/>
<file name="hott_common.c" dir="subsystems/radio_control"/>
</makefile>
<makefile target="ap" cond="ifeq (,$(findstring $(SEPARATE_FBW),1 TRUE))">
<define name="RADIO_CONTROL"/>
<define name="RADIO_CONTROL_TYPE_HOTT"/>
<define name="USE_$(HOTT_UART_UPPER)"/>
<define name="$(HOTT_UART_UPPER)_BAUD" value="B115200"/>
<define name="HOTT_UART_DEV" value="$(HOTT_UART_LOWER)"/>
<file name="radio_control.c" dir="subsystems"/>
<file name="hott.c" dir="subsystems/radio_control"/>
<file name="hott_common.c" dir="subsystems/radio_control"/>
</makefile>
</module>