Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
math module

Math library.

  • algebra (integer, float, double)
  • geodetic (integer, float, double)
  • trigo (int)
  • orientation conversion Basic functions, extra matrix decompositions not included.

Example for airframe file

Add to your firmware section:

<module name="math"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw math.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="math" task="core">
<doc>
<description>
Math library.
- algebra (integer, float, double)
- geodetic (integer, float, double)
- trigo (int)
- orientation conversion
Basic functions, extra matrix decompositions not included.
</description>
</doc>
<dep>
<provides>math</provides>
</dep>
<header>
<file name="pprz_algebra_int.h" dir="math"/>
<file name="pprz_algebra_float.h" dir="math"/>
<file name="pprz_algebra_double.h" dir="math"/>
<file name="pprz_geodetic_int.h" dir="math"/>
<file name="pprz_geodetic_float.h" dir="math"/>
<file name="pprz_geodetic_double.h" dir="math"/>
<file name="pprz_trig_int.h" dir="math"/>
<file name="pprz_orientation_conversion.h" dir="math"/>
<file name="pprz_stat.h"/>
</header>
<init fun="pprz_trig_int_init()"/>
<makefile>
<file name="pprz_algebra_int.c" dir="math"/>
<file name="pprz_algebra_float.c" dir="math"/>
<file name="pprz_algebra_double.c" dir="math"/>
<file name="pprz_geodetic_int.c" dir="math"/>
<file name="pprz_geodetic_float.c" dir="math"/>
<file name="pprz_geodetic_double.c" dir="math"/>
<file name="pprz_trig_int.c" dir="math"/>
<file name="pprz_orientation_conversion.c" dir="math"/>
<file name="pprz_stat.c" dir="math"/>
<test/>
</makefile>
</module>