Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
math Directory Reference
Directory dependency graph for math:

Directories

 
qr_solve
 
wls

Files

 
pprz_algebra.h
 Paparazzi generic algebra macros.
 
pprz_algebra_double.c
 Paparazzi double precision floating point algebra.
 
pprz_algebra_double.h
 Paparazzi double precision floating point algebra.
 
pprz_algebra_float.c
 Paparazzi floating point algebra.
 
pprz_algebra_float.h
 Paparazzi floating point algebra.
 
pprz_algebra_int.c
 Paparazzi fixed point algebra.
 
pprz_algebra_int.h
 Paparazzi fixed point algebra.
 
pprz_circfit_float.c
 
pprz_circfit_float.h
 
pprz_geodetic.h
 Paparazzi generic macros for geodetic calculations.
 
pprz_geodetic_double.c
 Paparazzi double-precision floating point math for geodetic calculations.
 
pprz_geodetic_double.h
 Paparazzi double-precision floating point math for geodetic calculations.
 
pprz_geodetic_float.c
 Paparazzi floating point math for geodetic calculations.
 
pprz_geodetic_float.h
 Paparazzi floating point math for geodetic calculations.
 
pprz_geodetic_int.c
 Paparazzi fixed point math for geodetic calculations.
 
pprz_geodetic_int.h
 Paparazzi fixed point math for geodetic calculations.
 
pprz_geodetic_utm.h
 Constants UTM (Mercator) projections.
 
pprz_geodetic_wgs84.h
 WGS-84 Geoid Heights.
 
pprz_geodetic_wmm2025.c
 WMM2025 Geomagnetic field model.
 
pprz_geodetic_wmm2025.h
 
pprz_isa.h
 Paparazzi atmospheric pressure conversion utilities.
 
pprz_matrix_decomp_float.c
 Matrix decompositions in floating point.
 
pprz_matrix_decomp_float.h
 Matrix decompositions in floating point.
 
pprz_orientation_conversion.c
 Generic orientation representation and conversion.
 
pprz_orientation_conversion.h
 Generic orientation representation and conversions.
 
pprz_polyfit_float.c
 Polynomial regression.
 
pprz_polyfit_float.h
 Polynomial regression.
 
pprz_random.c
 
pprz_random.h
 
pprz_rk_float.h
 Runge-Kutta library (float version).
 
pprz_simple_matrix.h
 Simple matrix helper macros.
 
pprz_stat.c
 Statistics functions.
 
pprz_stat.h
 Statistics functions.
 
pprz_trig_int.c
 Paparazzi fixed point trig functions.
 
pprz_trig_int.h
 Paparazzi fixed point trig functions.
 
RANSAC.c
 
RANSAC.h
 Perform Random Sample Consensus (RANSAC), a robust fitting method.

Detailed Description

Math library

Math lib used in all airborne code of paparazzi.

See also the Math docs.

HOWTO install a shared library to use in other projects

  1. Build library: in sw/airborne/math, type make shared_lib

    The default build directory is var/build/math, to change it: BUILDDIR=<your_build_dir> make shared_lib

  2. Install library: in this folder, type make install_shared_lib

    the default install dir is /usr/local and will install files in

    • /usr/local/lib
    • /usr/local/lib/pkgconfig
    • /usr/local/include/pprz

    to change the install dir: PREFIX=<your_install_dir> make install_shared_lib

    note that the default install dir needs root privilege and is usually called via sudo make shared_lib

HOWTO use the shared library

  1. with pkg-config --cflags --libs pprzmath
  2. by hand:
  • LIBS: -L<prefix>/lib -lpprzmath
  • CFLAGS: -I<prefix>/include/pprz

"make clean" will only clean the build directory