Difference between revisions of "Subsystem/ins"

From PaparazziUAV
Jump to navigation Jump to search
m
(Added details about alt_float based on reading the source code)
Line 29: Line 29:


=== alt_float ===
=== alt_float ===
Filters altitude and climb rate for fixedwings.
A 2-state Kalman filter that estimates vertical position and vertical velocity from GPS and barometric data.
When USE_BAROMETER is true:
* GPS horizontal position and horizontal velocity is directly passed through
* GPS vertical position sets the altitude for the barometric reference pressure (QFE)
* Vertical position and velocity is a filtered based on barometric pressure with respect to the reference pressure and GPS vertical velocity readings.
When USE_BAROMETER is false or undefined:
* GPS velocity is directly passed through to the vehicle's state.
* GPS horizontal position is directly passed through.
* Altitude is filtered based on GPS height and vertical velocity data.
'''Parameters'''
USE_BAROMETER - Enables the use of barometric data
DEBUG_ALT_KALMAN - Enables debug messages from the subsystem (Default: not defined)


=== GPS passthrough (gps_passthrough) ===
=== GPS passthrough (gps_passthrough) ===

Revision as of 11:16, 4 March 2014

INS subsystem

The INS (Inertial Navigation System) subsystem specifies which position and velocity estimation algorithm you are using.

Most of the INS filters are only providing position and speed, and they need to be used together with an AHRS filter for attitude. Currently, only the experimental invariant filter is a full INS.

Currently possible AHRS subsystem types are

  • alt_float
  • gps_passthrough
  • xsens
  • xsens700
  • no_type
  • hff
  • extended
  • ardrone2
  • float_invariant

e.g. for the extended filter:

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

Implementations

alt_float

Filters altitude and climb rate for fixedwings.

A 2-state Kalman filter that estimates vertical position and vertical velocity from GPS and barometric data.

When USE_BAROMETER is true:

  • GPS horizontal position and horizontal velocity is directly passed through
  • GPS vertical position sets the altitude for the barometric reference pressure (QFE)
  • Vertical position and velocity is a filtered based on barometric pressure with respect to the reference pressure and GPS vertical velocity readings.

When USE_BAROMETER is false or undefined:

  • GPS velocity is directly passed through to the vehicle's state.
  • GPS horizontal position is directly passed through.
  • Altitude is filtered based on GPS height and vertical velocity data.

Parameters

USE_BAROMETER - Enables the use of barometric data

DEBUG_ALT_KALMAN - Enables debug messages from the subsystem (Default: not defined)

GPS passthrough (gps_passthrough)

xsens

XSens Mti-G

    <subsystem name="ins" type="xsens">
      <configure name="XSENS_UART_NR" value="0"/>
      <configure name="XSENS_UART_BAUD" value="B115200"/>
    </subsystem>

xsend700

XSens Mti-G

    <load name="ins_xsens_MTiG_fixedwing.xml">
      <configure name="XSENS_UART_NR" value="0"/>
    </load>

no_type

simple INS with float vertical filter

  <subsystem name="ins"/>

Horizontal Filter Float (hff)

simple with float vertical and horizontal filters for INS

extended

extended INS with vertical filter using sonar in a better way (flap ground)

ardrone2

simple INS with float vertical filter

float_invariant

attitude and speed estimation for fixedwings via invariant filter