Difference between revisions of "Module/GPS UBlox UCenter"

From PaparazziUAV
Jump to navigation Jump to search
m (removed software category, as modules is a subcategory of software)
m (syntaxhighlight and modules category tree)
Line 1: Line 1:
<categorytree style="float:right; clear:right; margin-left:1ex; border: 1px solid gray; padding: 0.7ex;" mode=pages>Modules</categorytree>
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.  
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:
The module also figures out the current speed of the GPS and setup the communication from the AP accordingly:


Add the gps_ubx_ucenter [[Modules|module]] to the "modules" section in your aircraft configuration file:
Add the gps_ubx_ucenter [[Modules|module]] to the "modules" section in your aircraft configuration file:
<pre>
<source lang="xml">
   <modules>
   <modules>
     ...
     ...
     <load name="gps_ubx_ucenter.xml"/>
     <load name="gps_ubx_ucenter.xml"/>
   </modules>
   </modules>
</pre>
</source>


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


<pre>
<source lang="xml">
   <modules>
   <modules>
     ...
     ...
Line 19: Line 20:
     </load>
     </load>
   </modules>
   </modules>
</pre>
</source>


[[Category:User_Documentation]] [[Category:Modules]]
[[Category:User_Documentation]] [[Category:Modules]]

Revision as of 16:36, 4 March 2012

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>