Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
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, which paparazzi port you use.

Module configuration options

Define Options

  • name: GPS_UBX_UCENTER_RATE value: 250
    Description: Data output rate in ms
  • name: GPS_UBX_NAV5_DYNAMICS value: NAV5_DYN_PORTABLE|NAV5_DYN_FIXED|NAV5_DYN_STATIONARY|NAV5_DYN_PEDESTRIAN|NAV5_DYN_AUTOMOTIVE|NAV5_DYN_SEA|NAV5_DYN_AIRBORNE_1G|NAV5_DYN_AIRBORNE_2G|NAV5_DYN_AIRBORNE_4G
    Description: Dynamic model used by ublox GPS filter. Default:NAV5_DYN_AIRBORNE_2G
  • name: USE_GPS_UBX_RXM_RAW value: None
    Description: Activate raw measurments (only available on U-Blox T versions)

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

Source Files

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, which paparazzi port you use.
</description>
<define name="GPS_UBX_UCENTER_RATE" value="250" description="Data output rate in ms"/>
<define name="GPS_UBX_NAV5_DYNAMICS"
value="NAV5_DYN_PORTABLE|NAV5_DYN_FIXED|NAV5_DYN_STATIONARY|NAV5_DYN_PEDESTRIAN|NAV5_DYN_AUTOMOTIVE|NAV5_DYN_SEA|NAV5_DYN_AIRBORNE_1G|NAV5_DYN_AIRBORNE_2G|NAV5_DYN_AIRBORNE_4G"
description="Dynamic model used by ublox GPS filter. Default:NAV5_DYN_AIRBORNE_2G"/>
<define name="USE_GPS_UBX_RXM_RAW" description="Activate raw measurments (only available on U-Blox T versions)"/>
</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">
<file name="gps_ubx_ucenter.c"/>
<define name="GPS_UBX_UCENTER"/>
</makefile>
</module>