Module/GPS UBlox UCenter

From PaparazziUAV
Revision as of 17:36, 4 March 2012 by Flixr (talk | contribs) (syntaxhighlight and modules category tree)
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. The module also figures out the current speed of the GPS and setup the communication from the AP accordingly:

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