Module/GPS UBlox UCenter

From PaparazziUAV
Revision as of 02:24, 5 April 2012 by Flixr (talk | contribs)
Jump to navigation Jump to search

If you use a µ-blox GPS whithout flash memory, this module will take over the task of initializing the GPS for you when you power your autopilot.

It has auto-baudrate to detect the current GPS baudrate, and configures all message rates and communication ports. The module will send a DEBUG message that indicates the firmware version in your GPS, the previously selected GPS baudrate and the current (38k4).(it does not change the filter mode, or functional GPS settings, only communication stuff: so it is always safe to use).

Add the gps_ubx_ucenter module to the "modules" section in your aircraft configuration file:

  <modules>
    ...
    <load name="gps_ubx_ucenter.xml"/>
  </modules>

In some cases, you will need to specify which UART of the GPS you are using. The tiny/ppzgps use ublox_internal_port1 (the default) but if for instance you use a LS-SAM or I2C device you need to configure:

  <modules>
    ...
    <load name="gps_ubx_ucenter.xml">
	<define name="GPS_PORT_ID" value="GPS_PORT_UART2" />
    </load>
  </modules>