Pat Hickey
9f9c183a4d
remove AP_Vector.h as deprecated
12 years ago
Pat Hickey
6a59ad143e
AP_Curve: made into its own library
12 years ago
Pat Hickey
f8047f158d
Arduino.mk: Changes to asm opts for compatibility with avr-gcc4.6
...
* Need to make sure these are compatible with older toolchains
before pushing to master
12 years ago
Pat Hickey
0d342a3293
AP_Common: use EXCLUDECORE macro to hack some debug messages away
12 years ago
Pat Hickey
7854c54880
Arduino.mk: when core is excluded, add -DEXCLUDECORE to flags
12 years ago
Pat Hickey
4493dbb4d2
Arduino.mk: support nocore.inoflag to do coreless builds of each sketch
12 years ago
Pat Hickey
b34d4cdb17
Remove empty AP_Var_menufuncs.cpp
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
Pat Hickey
c4dbe8c627
AP_Param: move from AP_Common to its own library
12 years ago
Pat Hickey
e82d1402ef
AP_Loop: moved to APO library, which is the only code that uses it
12 years ago
Andrew Tridgell
3c88b0d204
AP_Param: fixed Vector3f elements with 16 character names
12 years ago
Andrew Tridgell
b0713ba412
AP_Param: support up to 16 character parameter names
...
MAVLink allows for 16 chars, with no null termination if all 16 are
used
12 years ago
Andrew Tridgell
736cb4c34b
AP_Var: move the MetaClass lib into AP_Var
...
AP_Var is the only one that uses it, and it generates warnings in our
build if we leave it in AP_Common
12 years ago
Andrew Tridgell
ef919c4e36
AP_Param: fixed a bug with setting nested parameters
...
This bug meant that setting a parameter in a parent class for a doubly
nested parameter group, where the parameter index in the parent class
is 4 or greater would actually set the first element in that parent
class.
At the moment only one parameter fits these narrow constraints - the
RCn_DZ element of the RC_Channel_aux class. So if someone set RC5_DZ
to 17 in ArduPlane it would actually set RC5_MIN to 17.
12 years ago
rmackay9
79fc5f072e
AP_Curve: replace Serial.print with Serial.print_P to save 18 bytes of memory
12 years ago
Pat Hickey
1bf21aae20
AP_Menu: create new library with menu from AP_Common
12 years ago
Pat Hickey
76e93e9fd7
AP_Common: PSTR def has specific version for avr-gcc 4.6 compatibility
...
* Also a small change in FastSerial/vprintf.cpp, which duplicates the
PSTR definition
* Won't effect others using earlier versions of avr-gcc
12 years ago
Pat Hickey
5796ee91ca
AP_Semaphore: make into separate library rather than part of AP_Common
13 years ago
rmackay9
23442f9caf
AP_Semaphore: added new library to help remove conflicts over SPI bus
13 years ago
Andrew Tridgell
e761645e24
AP_Param: added find_by_index()
13 years ago
rmackay9
93ae29a3e9
ArduCopter: added throttle curve (although disabled by default) for all multicopters
13 years ago
uncrustify
f3945772e9
uncrustify libraries/AP_Common/AP_Vector.h
13 years ago
uncrustify
953cab5c5f
uncrustify libraries/AP_Common/AP_Test.h
13 years ago
uncrustify
4b60e53736
uncrustify libraries/AP_Common/AP_Loop.h
13 years ago
uncrustify
7d438cd65d
uncrustify libraries/AP_Common/include/menu.h
13 years ago
uncrustify
6bb8e4e8ac
uncrustify libraries/AP_Common/AP_Common.h
13 years ago
uncrustify
0c99546f45
uncrustify libraries/AP_Common/AP_MetaClass.h
13 years ago
uncrustify
e79d9adea0
uncrustify libraries/AP_Common/c++.h
13 years ago
uncrustify
3a26b94af2
uncrustify libraries/AP_Common/tools/eedump.c
13 years ago
uncrustify
4a50e56a48
uncrustify libraries/AP_Common/tools/eedump_apparam.c
13 years ago
uncrustify
3e4507a4a2
uncrustify libraries/AP_Common/menu.cpp
13 years ago
uncrustify
09c4f76b57
uncrustify libraries/AP_Common/AP_Param.cpp
13 years ago
uncrustify
c18e73a54d
uncrustify libraries/AP_Common/c++.cpp
13 years ago
uncrustify
ca476e5851
uncrustify libraries/AP_Common/examples/menu/menu.pde
13 years ago
Pat Hickey
42e24a869f
uncrustify libraries/AP_Common/AP_Param.h with fixups by hand
13 years ago
rmackay9
976679208c
AP_Common: change a few more "int" to "int16_t"
13 years ago
Andrew Tridgell
c70bae9617
AP_MetaClass: fixed a warning
13 years ago
Andrew Tridgell
7f4b7703c1
AP_Param: fixed some build warnings
13 years ago
Andrew Tridgell
e6e25525bc
AP_Param: avoid saving values within 0.01% of the default value
...
this saves some more space due to rounding errors
13 years ago
Andrew Tridgell
c298d5130f
AP_Param: major update to use default values in var_info table
...
this stores the default value for all scalar variables in the var_info
table, which makes it possible to avoid storing default values in
eeprom. That allows us to oversubscribe the eeprom space with a much
lower risk of overrun.
13 years ago
Andrew Tridgell
e1725e9ea5
AP_Param: added some docs on the eeprom header format
13 years ago
Andrew Tridgell
9d221b3625
AP_Common: fixed some duplicate product ID warnings
13 years ago
Craig Elder
69bf5700cd
IMU: expose IMU_PRODUCT_ID as EEPROM Variable
...
this will allow us to log the Product ID in tlogs
13 years ago
Craig Elder
4c46955612
PRODUCT: Define product IDs for all supported products
13 years ago
Andrew Tridgell
4f90e6e844
build: cope with Arduino 1.0 in command line build
...
this should autodetect 1.0 versus older builds
13 years ago
Amilcar Lucas
6e9ffb4249
correct small typos in comments
13 years ago
Andrew Tridgell
f4329d2680
AP_Param: ensure we can't have duplicate keys in Parameters.h
...
this is O(n^2), but only at startup, and takes less than 1ms to run.
It catches a very nasty coding error
13 years ago
Pat Hickey
337af0c7a2
AP_Param: nested group recursion into next_group disableable by macro
...
* c.f. 0251932c81fe7eb, e5515bb6ef82
13 years ago
Pat Hickey
2648694489
AP_Param: One more nexted group recursion disableable by macro
...
* c.f. e5515bb6ef82
13 years ago
Pat Hickey
eac8b66385
AP_Param: Make nested group recursion disableable by macro
...
* Eliminates recursive calls inside AP_Param.
This is important to Pat @ Galois, but not the project in general.
Recursion depth on these functions is bounded structurally using
existing nested group constructors (can't create loops in finite space)
and checked at init time
13 years ago