[dox] add some more math groups

This commit is contained in:
Felix Ruess
2015-04-15 16:28:55 +02:00
parent 84b0cf7fae
commit d0ddcc7a3c
14 changed files with 93 additions and 11 deletions
+1 -1
View File
@@ -892,7 +892,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.
USE_MDFILE_AS_MAINPAGE = README.md
USE_MDFILE_AS_MAINPAGE = ./README.md
#---------------------------------------------------------------------------
# Configuration options related to source browsing
+13 -7
View File
@@ -1,12 +1,17 @@
Math lib used in all airborne code of paparazzi
# Math library
Math lib used in all airborne code of paparazzi.
See also the @ref math docs.
HOWTO install a shared library to use in other projects
-------------------------------------------------------
1. Build library: in this folder, type
make shared_lib
`make shared_lib`
the default build directory is var/build/math
to change it: BUILDDIR=<your_build_dir> make shared_lib
to change it: `BUILDDIR=<your_build_dir> make shared_lib`
2. Install library: in this folder, type
make install_shared_lib
@@ -17,17 +22,18 @@ HOWTO install a shared library to use in other projects
/usr/local/lib/pkgconfig
/usr/local/include/pprz
to change the install dir: PREFIX=<your_install_dir> make install_shared_lib
to change the install dir: `PREFIX=<your_install_dir> make install_shared_lib`
note that the default install dir needs root privilege
HOWTO use the shared library
----------------------------
1. with pkg-config --cflags --libs pprzmath
1. with `pkg-config --cflags --libs pprzmath`
2. by hand:
LIBS: -L<prefix>/lib -lpprzmath
CFLAGS: -I<prefix>/include/pprz
- LIBS: `-L<prefix>/lib -lpprzmath`
- CFLAGS: `-I<prefix>/include/pprz`
"make clean" will only clean the build directory
+11
View File
@@ -23,6 +23,14 @@
* @file pprz_algebra.h
* @brief Paparazzi generic algebra macros.
*
* @addtogroup math
* @{
* Paparazzi math functions.
* @addtogroup math_algebra Algebra functions
* @{
* Algebra functions and macros.
* @addtogroup math_algebra_generic Generic Algebra macros
* @{
*/
#ifndef PPRZ_ALGEBRA_H
@@ -740,3 +748,6 @@ extern "C" {
#endif
#endif /* PPRZ_ALGEBRA_H */
/** @}*/
/** @}*/
/** @}*/
+6
View File
@@ -22,6 +22,10 @@
* @file pprz_algebra_double.h
* @brief Paparazzi double precision floating point algebra.
*
* @addtogroup math_algebra
* @{
* @addtogroup math_algebra_double Double Algebra
* @{
*/
#ifndef PPRZ_ALGEBRA_DOUBLE_H
@@ -193,3 +197,5 @@ static inline void double_rmat_of_eulers(struct DoubleRMat *rm, struct DoubleEul
#endif
#endif /* PPRZ_ALGEBRA_DOUBLE_H */
/** @}*/
/** @}*/
+6
View File
@@ -22,6 +22,10 @@
* @file pprz_algebra_float.h
* @brief Paparazzi floating point algebra.
*
* @addtogroup math_algebra
* @{
* @defgroup math_algebra_float Float Algebra
* @{
*/
#ifndef PPRZ_ALGEBRA_FLOAT_H
@@ -699,3 +703,5 @@ static inline void float_mat_col(float *o, float **a, int m, int c)
#endif
#endif /* PPRZ_ALGEBRA_FLOAT_H */
/** @}*/
/** @}*/
+6
View File
@@ -22,6 +22,10 @@
* @file pprz_algebra_int.h
* @brief Paparazzi fixed point algebra.
*
* @addtogroup math_algebra
* @{
* @addtogroup math_algebra_int Fixed Point Algebra
* @{
*/
#ifndef PPRZ_ALGEBRA_INT_H
@@ -594,3 +598,5 @@ extern void int32_eulers_dot_321_of_rates(struct Int32Eulers *ed, struct Int32Eu
#endif
#endif /* PPRZ_ALGEBRA_INT_H */
/** @}*/
/** @}*/
+10 -1
View File
@@ -22,7 +22,13 @@
* @file pprz_geodetic.h
* @brief Paparazzi generic macros for geodetic calculations.
*
*
* @addtogroup math
* @{
* @addtogroup math_geodetic Geodetic functions
* @{
* Geodetic calculation functions and macros.
* @addtogroup math_geodetic_generic Generic Geodetic macros.
* @{
*/
#ifndef PPRZ_GEODETIC_H
@@ -94,3 +100,6 @@ extern "C" {
#endif
#endif /* PPRZ_GEODETIC_H */
/** @}*/
/** @}*/
/** @}*/
+7 -1
View File
@@ -22,7 +22,11 @@
* @file pprz_geodetic_double.h
* @brief Paparazzi double-precision floating point math for geodetic calculations.
*
*
* @addtogroup math_geodetic
* @{
* Double Geodetic functions and macros.
* @addtogroup math_geodetic_double Double Geodetic functions
* @{
*/
#ifndef PPRZ_GEODETIC_DOUBLE_H
@@ -124,3 +128,5 @@ extern double gc_of_gd_lat_d(double gd_lat, double hmsl);
#endif
#endif /* PPRZ_GEODETIC_DOUBLE_H */
/** @}*/
/** @}*/
+2
View File
@@ -122,3 +122,5 @@ extern void ecef_of_ned_vect_f(struct EcefCoor_f *ecef, struct LtpDef_f *def, st
#endif
#endif /* PPRZ_GEODETIC_FLOAT_H */
/** @}*/
/** @}*/
+6 -1
View File
@@ -22,7 +22,10 @@
* @file pprz_geodetic_int.h
* @brief Paparazzi fixed point math for geodetic calculations.
*
*
* @addtogroup math_geodetic
* @{
* @addtogroup math_geodetic_int Fixed Point Geodetic functions
* @{
*/
#ifndef PPRZ_GEODETIC_INT_H
@@ -240,3 +243,5 @@ extern void ecef_of_ned_vect_i(struct EcefCoor_i *ecef, struct LtpDef_i *def, st
#endif
#endif /* PPRZ_GEODETIC_INT_H */
/** @}*/
/** @}*/
+6
View File
@@ -21,6 +21,10 @@
/**
* @file pprz_geodetic_utm.h
* @brief Constants UTM (Mercator) projections.
* @addtogroup math_geodetic
* @{
* @addtogroup math_geodetic_utm UTM (Mercator) projections
* @{
*/
#ifndef PPRZ_GEODETIC_UTM_H
@@ -61,3 +65,5 @@ static const float serie_coeff_proj_mercator_inverse[5] = {
#endif
#endif /* PPRZ_GEODETIC_UTM_H */
/** @}*/
/** @}*/
+6
View File
@@ -34,6 +34,10 @@
*
* rows are from -180 to +170 starting north +90 to south-90
*
* @addtogroup math_geodetic
* @{
* @addtogroup math_geodetic_wgs84 WGS-84 Geoid
* @{
*/
#ifndef PPRZ_GEODETIC_WGS84_H
@@ -92,3 +96,5 @@ static inline float wgs84_ellipsoid_to_geoid(float lat, float lon)
#endif
#endif /* PPRZ_GEODETIC_WGS84_H */
/** @}*/
/** @}*/
+7
View File
@@ -23,6 +23,11 @@
* @brief WMM2010 Geomagnetic field model.
*
* Based on the WMM2010 model (http://www.ngdc.noaa.gov/geomag/models.shtml)
*
* @addtogroup math_geodetic
* @{
* @addtogroup math_geodetic_wmm Geomagnetic field model
* @{
*/
#ifndef WMM2010_H
@@ -72,3 +77,5 @@ int16_t mag_calc(int16_t igdgc, double flat, double flon, double elev, int16_t n
#endif
#endif /* WMM2010_H */
/** @}*/
/** @}*/
+6
View File
@@ -29,6 +29,10 @@
* http://en.wikipedia.org/wiki/Atmospheric_pressure
* http://en.wikipedia.org/wiki/International_Standard_Atmosphere
*
* @addtogroup math
* @{
* @addtogroup math_isa International Standard Atmosphere utilities
* @{
*/
#ifndef PPRZ_ISA_H
@@ -166,3 +170,5 @@ static inline float pprz_isa_ref_pressure_of_height_full(float pressure, float h
#endif
#endif /* PPRZ_ISA_H */
/** @}*/
/** @}*/