Commit Graph

15 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa f7fedee8cc AP_Limits: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:42:50 +09:00
Andrew Tridgell 2d9e9879a2 AP_Limits: convert to using StorageManager 2014-08-13 18:46:43 +10:00
Andrew Tridgell 612ede81f4 AP_Limits: fix for new AP_Math API
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:23:57 +10:00
tobias 217b8d7a59 cleanup: use const for struct Location pointers and references
this allows the compiler to generate more efficient code
2013-04-09 12:10:32 +10:00
rmackay9 45b6dbf580 AP_Limit: small fixes to make parameter descriptions appear in mission planner 2013-01-02 18:50:03 +09:00
Andrew Tridgell ceb3f577d8 libraries: use new math functions 2012-12-20 14:53:22 +11:00
Pat Hickey 7622b725c9 AP_Limits: fixes to use hal.storage for eeprom access 2012-12-20 14:52:28 +11:00
Andrew Tridgell 9b3ed0b683 AP_Limits: updates for new AP_Param API 2012-12-20 14:51:39 +11:00
Andrew Tridgell 6ee32ea872 AP_Limits: reverted parameter doc changes 2012-12-20 14:51:37 +11:00
Pat Hickey 9f9dfc7c63 AP_Limits: fix spacing to 80 columns, use standard cpp header guard conventions
* No idea what was going on there. Confusing.
2012-12-20 14:51:26 +11:00
Andrew Tridgell 10b8030e62 AP_Limits: fixed some memory cast warnings 2012-11-19 08:42:36 +11:00
uncrustify 40a4777d31 uncrustify libraries/AP_Limits/AP_Limit_Geofence.cpp 2012-08-21 19:19:52 -07:00
rmackay9 2e77691ca1 AP_Limits: change order of initialisation of class variables to remove compiler warnings. 2012-08-18 12:51:32 +09:00
Andrew Tridgell 518d6365ff AP_Param: update remaining libraries for new constructor syntax 2012-08-08 12:11:57 +10:00
Andreas M. Antonopoulos c73f7ef3ab AP_Limits library, provides modular "limits" such as altitude and geo-fencing. 2012-07-14 19:26:17 -07:00