ardupilot/libraries
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
..
AP_ADC Corrected adc conversion. 2010-12-12 07:34:12 +00:00
AP_Common Following discussions with James, a complete rewrite of AP_Var. 2011-01-02 22:14:36 +00:00
AP_Compass use memset rather than explicit assignments to zero to zero an array, this saves code space. 2010-12-28 23:32:37 +00:00
AP_Controller Added AP_Controller library. 2010-12-31 06:20:28 +00:00
AP_DCM We should call imu.update() before asking for accel/gyro values so that we get timely, fresh numbers. 2010-12-30 07:52:35 +00:00
AP_EEProm Fixed casting issues with EEPROM Registry 2010-12-30 06:46:40 +00:00
AP_EEPROMB Added basic EEPROM library back. 2010-12-23 23:29:59 +00:00
AP_GPS Make the GPS ctor protected so that it can't be accidentally constructed or copied. 2010-12-29 03:32:37 +00:00
AP_IMU Curse you, CodeLite. 2010-12-29 00:36:08 +00:00
AP_Math Back out the memset optimisation. It helps with code size but causes inexplicable link-time failures (undefined references to __cxa_pure_virtual). 2010-12-29 03:09:29 +00:00
AP_Navigation still unstable 2010-09-18 19:18:55 +00:00
AP_RangeFinder AP_RangeFinder - added support for MaxsonarLV and corrected some descriptions and links for the other rangefinders 2010-12-23 01:23:10 +00:00
AP_RC Mega328 version of APM_RC 2010-12-20 06:09:15 +00:00
AP_RcChannel Added AP_Controller library. 2010-12-31 06:20:28 +00:00
APM_BinComm Recover 256 bytes of RAM by making the packet transmission code smarter. Now we emit the packet directly from the procedure parameters, rather than wasting time and space packing it into a temporary buffer. 2010-11-11 07:16:32 +00:00
APM_BMP085 APM_BMP085 - added InitialiseWireLib parameter to Init function. This allows us to skip the Wire.begin which should only be called once. 2010-11-22 12:55:34 +00:00
APM_PerfMon modified APM_PerfMon to display results sorted by %cpu 2010-11-03 07:49:37 +00:00
APM_RC cosmetic 2010-12-30 06:43:35 +00:00
DataFlash Some changes to fix compile errors when using ATmega2560. 2010-12-19 13:05:02 +00:00
doc Updated docs. 2010-12-30 07:51:53 +00:00
FastSerial Improve documentation re: macros used to define serial ports. 2010-12-28 23:26:10 +00:00
GCS_MAVLink Updated mavlink added eeprom class. 2010-12-23 23:02:51 +00:00
GPS_IMU Some changes to fix compile errors when using ATmega2560. 2010-12-19 13:05:02 +00:00
GPS_MTK Some changes to fix compile errors when using ATmega2560. 2010-12-19 13:05:02 +00:00
GPS_NMEA Some changes to fix compile errors when using ATmega2560. 2010-12-19 13:05:02 +00:00
GPS_UBLOX Some changes to fix compile errors when using ATmega2560. 2010-12-19 13:05:02 +00:00
PID removed EEPROMB references 2010-12-28 18:42:56 +00:00
RC_Channel added channel examples 2010-12-28 19:29:37 +00:00
Waypoints still unstable 2010-09-18 19:18:55 +00:00
.cproject Add Eclipse project metadata. 2010-12-29 20:35:16 +00:00
.project Add Eclipse project metadata. 2010-12-29 20:35:16 +00:00