Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Ublox GPS autoconfiguration

Module XML file: gps_ubx_ucenter.xml

Automatically configure any Ublox GPS for paparazzi.

  -configures all the messages, and the rates
  -automatic baudrate detection

  Warning: you still need to tell the driver
  a) which paparazzi uart you use
  b) inside the ublox gps there are also many ports. the tiny/ppzgps use ublox_internal_port1 but if for instance you use a LS-SAM or I2C device you need to configure:

Module configuration options

Define Options

  • name: GPS_PORT_ID value: GPS_PORT_UART2

Module functions

Init Functions

These initialization functions are called once on startup.

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

Raw gps_ubx_ucenter.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_ubx" dir="gps">
<doc>
<description>
Ublox GPS autoconfiguration.
Automatically configure any Ublox GPS for paparazzi.
-configures all the messages, and the rates
-automatic baudrate detection
Warning: you still need to tell the driver
a) which paparazzi uart you use
b) inside the ublox gps there are also many ports. the tiny/ppzgps use ublox_internal_port1 but if for instance you use a LS-SAM or I2C device you need to configure:
</description>
<define name="GPS_PORT_ID" value="GPS_PORT_UART2" description=""/>
</doc>
<header>
<file name="gps_ubx_ucenter.h"/>
</header>
<init fun="gps_ubx_ucenter_init()"/>
<periodic fun="gps_ubx_ucenter_periodic()" start="gps_ubx_ucenter_init()" freq="4." autorun="TRUE"/>
<makefile target="ap">
<raw>
ap.CFLAGS += -DGPS_UBX_UCENTER=\"modules/gps/gps_ubx_ucenter.c\"
</raw>
</makefile>
</module>