Difference between revisions of "Module/GPS UBlox UCenter"

From PaparazziUAV
Jump to navigation Jump to search
(Updated to document pull request #653)
(Added frames with file names for source code examples)
Line 14: Line 14:


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:
{{Box Code|conf/airframes/myplane.xml|
<source lang="xml">
<source lang="xml">
   <modules>
   <modules>
Line 20: Line 21:
   </modules>
   </modules>
</source>
</source>
}}


You can specify to a different dynamic model for the u-blox to use and to receive a DEBUG message over telemetry
You can specify to a different dynamic model for the u-blox to use and to receive a DEBUG message over telemetry.
 
{{Box Code|conf/airframes/myplane.xml|
<source lang="xml">
<source lang="xml">
   <modules>
   <modules>
Line 32: Line 34:
   </modules>
   </modules>
</source>
</source>
}}


{{Box Code|conf/telemetry/myplane.xml|
<source lang="xml">
    <mode name="default">
    ...
    <message name="DEBUG" period="0.5"/>
    </mode>
</source>
}}
[[Category:User_Documentation]] [[Category:Modules]]
[[Category:User_Documentation]] [[Category:Modules]]

Revision as of 17:12, 3 March 2014

If you use a µ-blox GPS without 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 (ID 26) that indicates the firmware version in your GPS, the previous baudrate, and the reply for each configuration step. To enable and view the message, you will need to define DEBUG_GPS_UBX_UCENTER as TRUE in your airframe configuration file and select to receive that message in your telemetry file. See the example below for more details.

It will configure the following settings:

  • set baudrate to GPS_BAUD (typically either 38400 or 57600)
  • enable the NAV_POSLLH, NAV_VELNED, NAV_STATUS, NAV_SVINFO, NAV_SOL
  • disable UTM on old Lea4P by not sending NAV_POSUTM
  • enable SBAS
  • configure it to 3D only fix
  • set the internal dyanmic model to Airborne 2G


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

File: conf/airframes/myplane.xml
  <modules>
    ...
    <load name="gps_ubx_ucenter.xml"/>
  </modules>

You can specify to a different dynamic model for the u-blox to use and to receive a DEBUG message over telemetry.

File: conf/airframes/myplane.xml
  <modules>
    ...
    <load name="gps_ubx_ucenter.xml">
	<define name="GPS_UBX_NAV5_DYNAMICS" value="NAV5_DYN_PORTABLE" />
	<define name="DEBUG_GPS_UBX_UCENTER" value="TRUE" />
    </load>
  </modules>


File: conf/telemetry/myplane.xml
    <mode name="default">
     ...
     <message name="DEBUG" period="0.5"/>
    </mode>