Andrew Tridgell
ad2f6e1217
AP_Param: add support for converting between old and new parameters
...
this allows for a conversion table between old parameters and new
parameters, making firmware upgrades with moved parameters much easier
for users
12 years ago
Andrew Tridgell
416fef73a8
AP_Param: use PACKED attribute in examples
12 years ago
Andrew Tridgell
813e767efb
AP_Param: use const refs in a few more places
...
reduces code size by a couple of hundred bytes
12 years ago
Andrew Tridgell
01a4fabf9e
AP_Param: make things a bit more efficient
12 years ago
Andrew Tridgell
9171d5587d
AP_Param: make it easier to show the value of a parameter
12 years ago
Andrew Tridgell
fa493a0fb3
AP_Param: added ops needed for ArduCopter build
12 years ago
tobias
fbe7daa477
AP_Param: fixed assignment handling and const
...
this fixes radio_min = radio_max = radio_trim = 0; in RC_Channel
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
7be1335b3a
AP_Param: removed copy_name() and add token to find_by_index()
...
this allows callers to avoid another var_info traverse
12 years ago
Andrew Tridgell
c8ae665ac3
AP_Param: added copy_name_token()
...
this avoids an expensive var_info traversal on every copy_name call
12 years ago
Andrew Tridgell
4764a03aaa
AP_Param: fixed ARM PX4 build
12 years ago
Andrew Tridgell
3a762f891e
AP_Param: fixup for ARM compiler
12 years ago
Andrew Tridgell
ceb3f577d8
libraries: use new math functions
12 years ago
Andrew Tridgell
af12c18dea
AP_Param: setup var_info and num_vars earlier
...
needed for AP_HAL startup
12 years ago
Andrew Tridgell
95d4cc2ce9
AP_Param: change method of loading defaults
...
this avoids a dependency on the constructor ordering by loading
defaults for each object separately
12 years ago
Pat Hickey
ec53515648
AP_Param: eeprom translated to use AP_HAL. No unit tests available!
12 years ago
Pat Hickey
f2b21ecc41
AP_Param: Port to work with AP_HAL class instead of FastSerial
12 years ago
Pat Hickey
c4dbe8c627
AP_Param: move from AP_Common to its own library
12 years ago