Subsystem/gps

From PaparazziUAV
Revision as of 11:31, 5 December 2011 by Flixr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Currently possible GPS subsystems are

  • ublox
  • ublox_utm for the older ublox4 series that still have a UTM message
  • skytraq
  • mediatek_diy

Just specify the appropriate subsystem in your firmware section.

File: conf/airframes/myplane.xml
  <firmware name="fixedwing or rotorcraft">
     ...
    <subsystem name="gps"               type="ublox"/>
  </firmware>

Configure Options

If a configure option is not specified the default is used.

  • GPS_PORT: UART0, UART1, etc.
    • default: The correct UART is already defined according to your board.
  • GPS_BAUD: B4800, B9600, B38400, B57600, B115200
    • default: B38400
  • GPS_LED: 1, 2, 3, none
    • default: Already defined according to your board (e.g. 3 for tiny).

If you use different baud rates or UART set the according parameters, e.g.

File: conf/airframes/myplane.xml
  <firmware name="fixedwing or rotorcraft">
     ...
    <subsystem name="gps"               type="ublox">
      <configure name="GPS_BAUD"          value="B9600"/>
      <configure name="GPS_PORT"          value="UART0"/>
      <configure name="GPS_LED"           value="none"/>
    </subsystem>
  </firmware>

Note:

  • u-blox GPS modules are factory configured for 9600 baud, 38,400 baud is recommended along with the other required changes. The GPS can be accessed directly thrugh the UART Tunnel and Configured with u-center