ardupilot/libraries/AP_Common
DrZiplok a3a9fe59e3 Following discussions with James, a complete rewrite of AP_Var.
The overriding principle here is to keep the use of AP_Vars as simple as possible, whilst letting the implementation do useful things behind the scenes.  To that end, we define AP_Float, AP_Int8, AP_Int16 and AP_Int32.  These are strongly typed, so that there is no ambiguity about what a variable "really" is.

The classes behave like the variables they are storing; you can use an AP_Float in most places you would use a regular float; you can add to it, multiply by it, etc.  If it has been given an address in EEPROM you can load and save it.

Variables can be given names, and if they are named then they can be looked up.  This allows e.g. a GCS or a test tool to find and traffic in variables that it may not explicitly know about.

AP_Var does not attempt to solve the problem of EEPROM address space management.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1399 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-02 22:14:36 +00:00
..
examples Following discussions with James, a complete rewrite of AP_Var. 2011-01-02 22:14:36 +00:00
include Added inclusion guard to menu.h 2010-11-28 00:35:59 +00:00
AP_Common.cpp Drop a couple things in here in support of code moving to libraries. 2010-09-11 06:13:28 +00:00
AP_Common.h Break AP_Var and friends out into their own header. 2010-12-28 23:51:12 +00:00
AP_Loop.cpp Added AP_Controller library. 2010-12-31 06:20:28 +00:00
AP_Loop.h Added AP_Controller library. 2010-12-31 06:20:28 +00:00
AP_MetaClass.h Following discussions with James, a complete rewrite of AP_Var. 2011-01-02 22:14:36 +00:00
AP_Var.cpp Following discussions with James, a complete rewrite of AP_Var. 2011-01-02 22:14:36 +00:00
AP_Var.h Following discussions with James, a complete rewrite of AP_Var. 2011-01-02 22:14:36 +00:00
AP_Vector.h Added Loop class. 2010-12-24 23:59:10 +00:00
Arduino.mk Fix/improve depdendency handling. Deps are autogenerated on the first compile pass and consumed on subsequent builds. This helps work around the difficulty of building the 'clean' target with Eclipse. 2010-12-30 03:45:50 +00:00
c++.cpp Added AP_Controller library. 2010-12-31 06:20:28 +00:00
c++.h Updated mavlink added eeprom class. 2010-12-23 23:02:51 +00:00
keywords.txt Add support for 'new' and 'delete', so we can cons things on the fly. 2010-10-17 04:02:06 +00:00
menu.cpp Move the warning controls for APM out to AP_Common. This makes it easier to grab these for libraries uniformly. 2010-11-27 23:27:08 +00:00