Andrew Tridgell
1f05e7dafb
fixed types in GPS detect code
...
using int everywhere is wasteful and non-portable
13 years ago
Andrew Tridgell
ecdbfd257a
token is 16 bits now
13 years ago
Andrew Tridgell
ed2271ceea
check sizes in VARTest
...
ensures the AP types are plain old data
13 years ago
Andrew Tridgell
d55a0c3a71
added AP_Param::show_all()
...
this moves the logic into common code
13 years ago
Andrew Tridgell
0f9adbdae0
token size for first()/next() is now 16 bits
13 years ago
Andrew Tridgell
9175ebe33a
change back to 256 max variables in _var_info[]
...
this keeps the header to 24 bits, and allows the token to be 16
bits. If we need more variables we can put them in a nested group.
13 years ago
Andrew Tridgell
617082769a
go back to 1024 bytes for variables in EEPROM
13 years ago
Andrew Tridgell
0b3e3ec5c8
added group indexes to GCS_MAVLINK class
13 years ago
Andrew Tridgell
31d28e2181
update VARTest to use exact variables from ArduPlane
13 years ago
Andrew Tridgell
9c5a5473ab
added indexes to group info structures
13 years ago
Andrew Tridgell
f2a6a31645
AP_Param: added group idx, and change packing of header elements
...
adding a idx element to the GroupInfo will make it less likely that a
developer will change the IDs of group elements, and make it easier to
see that these IDs are important for identifying a variable in EEPROM
The header packing has changed to make it 24 bits on all platforms,
which allows us to lower the EEPROM variable max size to 1024 bytes
again
13 years ago
Andrew Tridgell
678a1df3be
fixed support for AP_PARAM_SPARE
...
spare group elements are needed if we remove a group parameter
13 years ago
Andrew Tridgell
accaf9bb30
fixed build on arduino 1.0
13 years ago
Andrew Tridgell
e85da68fe6
expand parameter area for ArduPlane
...
this ensures all parameters can be saved without overflow
13 years ago
Andrew Tridgell
d4305e0ae2
fixed apm2beta build with AP_Param
13 years ago
Andrew Tridgell
16417b651e
the ACM parameters have a max size of 1114 bytes
...
to ensure that all parameters can be saved, expand parameter area by
256 bytes
13 years ago
Andrew Tridgell
3b4cae3cc3
adapted main ACM code for AP_Param
13 years ago
Andrew Tridgell
983192c5d5
tidy up a comment
13 years ago
Andrew Tridgell
c9c422539e
update ACM MAVLink code for AP_Param
13 years ago
Andrew Tridgell
a2d0900460
fixed warning in Log build
13 years ago
Andrew Tridgell
bf1eb670e3
update main parameter code for AP_Param in ACM
13 years ago
Andrew Tridgell
db96303fa0
convert APM_PI library to AP_Param
13 years ago
Andrew Tridgell
452749149f
convert AC_PID library to AP_Param
13 years ago
Andrew Tridgell
f9eed9bd9e
fixed missing return in D value
13 years ago
Andrew Tridgell
2c3ec5de99
fixed two parameter names
13 years ago
Andrew Tridgell
676ca03977
expose mavlink stream rates as parameters
13 years ago
Andrew Tridgell
f760b3c717
restore _fCut that was lost in AP_Param development
13 years ago
Andrew Tridgell
84aef17bb0
fixed initialisation of RC_Channel class
13 years ago
Andrew Tridgell
5418302b38
AP_Param: fixed desktop build
13 years ago
Andrew Tridgell
d658bc6f9d
desktop: more progmem string functions
13 years ago
Andrew Tridgell
f22988163e
imported new Parameters code to APM
13 years ago
Andrew Tridgell
81e52e43c1
added some notes on EEPROM speed
13 years ago
Andrew Tridgell
e7174bc649
import new Parameters.h for AP_Param to APM
13 years ago
Andrew Tridgell
3d598c8caa
implement dump of all vars in CLI using AP_Param
13 years ago
Andrew Tridgell
bc0ed62aa9
adapt mainline APM code to AP_Param
13 years ago
Andrew Tridgell
95e107ab75
AP_Param: added generic cast_to_float
13 years ago
Andrew Tridgell
9509c69f42
AP_Param: disable debug ready for production
13 years ago
Andrew Tridgell
5d03f13aa5
AP_Param: make ptype in first() and next() optional
13 years ago
Andrew Tridgell
e01af5885f
adapt Mavlink_compat.h to AP_Param
13 years ago
Andrew Tridgell
570399ff98
expanded the VARTest testing to all variables
13 years ago
Andrew Tridgell
bf4a77da81
convert libraries to new typesafe macros
13 years ago
Andrew Tridgell
e8c4ecf9fa
added nested group support and validation
13 years ago
Andrew Tridgell
94a86204ee
added size of Vector6f
13 years ago
Andrew Tridgell
2792abfce2
demo of AP_Param with ArduPlane parameters
13 years ago
Andrew Tridgell
12dac42174
modify RC_Channel for AP_Param
13 years ago
Andrew Tridgell
e5a0074312
modify the PID library for AP_Param
13 years ago
Andrew Tridgell
e5f3864f81
modify the IMU code for AP_Param
13 years ago
Andrew Tridgell
8c58d95187
modify the compass code for AP_Param
13 years ago
Andrew Tridgell
497a400841
hacks to get AP_Param to compile
13 years ago
Andrew Tridgell
5b842a447f
new AP_Param subsystem
13 years ago