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

AHRS driver for GX3.

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="ahrs_gx3">
2  <configure name="GX3_PORT" value="UART3" />
3  <configure name="GX3_BAUD" value="B921600" />
4 </module>

Module configuration options

Configure Options

  • name: GX3_PORT value: UART3
    Description: uart for GX3
  • name: GX3_BAUD value: B921600
    Description: GX3 uart baud rate

Auto-loaded modules

The following modules are automatically loaded (just as if you had added them in the airframe file)


Header Files

The following headers are automatically included in modules.h

Source Files

Raw ahrs_gx3.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="ahrs_gx3" dir="ahrs">
AHRS driver for GX3.
<configure name="GX3_PORT" value="UART3" description="uart for GX3"/>
<configure name="GX3_BAUD" value="B921600" description="GX3 uart baud rate"/>
<autoload name="ahrs_sim"/>
<file name="ahrs.h" dir="subsystems"/>
<makefile target="ap">
<configure name="GX3_PORT" default="UART3" case="upper|lower"/>
<configure name="GX3_BAUD" default="B921600"/>
<define name="USE_$(GX3_PORT_UPPER)"/>
<define name="$(GX3_PORT_UPPER)_BAUD" value="$(GX3_BAUD)"/>
<define name="USE_AHRS"/>
<define name="USE_IMU"/>
<file name="ahrs.c" dir="subsystems"/>
<file name="imu.c" dir="subsystems"/>
<file name="ahrs_gx3.c" dir="subsystems/ahrs"/>