Peter Barker
0305a79b7b
AP_Param: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
bugobliterator
b43c9961a3
AP_Param: disable format security
3 years ago
Andrew Tridgell
17f8b0b11a
AP_Param: disable debug code by default
...
found on EU dev call
3 years ago
Andrew Tridgell
10cbd3fd80
AP_Param: added a flag for hidden parameters
3 years ago
Andrew Tridgell
0b948d3faf
AP_Param: allow save_sync without send
4 years ago
Andrew Tridgell
23785c00dc
AP_Param: improved queue handling and added set_and_save_by_name_ifchanged
4 years ago
Andrew Tridgell
62e0a89036
AP_Param: cleanup the eeprom parsing tools and fixed sentinal detection
4 years ago
Andrew Tridgell
eac027b5c5
AP_Param: fixed handling of group_element=255 in sentinal detection
...
EK3_DRAG_BCOEF_Y has a group element of 255, which was being detected
as a sentinal
4 years ago
Andrew Tridgell
160b25c557
AP_Param: fixed KEY_DUMP option
...
use right index, and use ::printf
4 years ago
Andrew Tridgell
7b98ab0f12
AP_Param: added get_param_by_index
...
useful for parameter conversion within an object
4 years ago
Michelle Rossouw
8bc0f100a2
AP_Param: added blimp frame type
4 years ago
Peter Barker
936aa63135
AP_Param: remove confusing comment
...
The code refered to is within is_sentinel - and it has a copy of the
comment
4 years ago
Andrew Tridgell
ac35867c17
AP_Param: fixed valgrind errors with AP_Param::ParamToken
4 years ago
Andrew Tridgell
6c684538d3
AP_Param: greatly speed up param download with disabled parameters
...
allows fast skip over disabled subgroups. This removes a long delay
with param download on a MatekF405-STD where the final parameters
associated with the OSD took 80ms to fetch, causing a long loop delay
4 years ago
Andrew Tridgell
4d58bcb321
AP_Param: support restoring from parameter backup region
...
if header on primary parameter storage is corrupt then restore from
backup
4 years ago
Peter Barker
f12191b4b1
AP_Param: fix typo
4 years ago
Peter Barker
840c386a33
AP_Param: add _FLAG to AP_PARAM_NO_SHIFT
...
Just for consistency with the other flags
4 years ago
Andrew Tridgell
8b8029fdfe
AP_Param: cope better with flooding the save queue with one param
4 years ago
Andrew Tridgell
5a8acea0dd
AP_Param: fixed lockup in scripting due to save queue
...
this is a quick fix for a lockup in scripting due to the mission API
holding the scheduler semaphore when it is updating the mission count
parameter
4 years ago
Andrew Tridgell
084b589f3a
AP_Param: added template class AP_Enum for enum AP_Int8 values
4 years ago
bugobliterator
9acaa84b8f
AP_Param: disable cmdline parameters for AP_Periph
4 years ago
Nick Exton
01155cc5d4
AP_Param: Ignore FORMAT_VERSION param when loading SITL defaults
...
This fixes a bug where having FORMAT_VERSION in the SITL defaults file
can result in an invalid SITL EEPROM file. See issue #15579 for details.
4 years ago
Pierre Kancir
420c9c9d36
AP_Param: use hal.util->set_cmdline_parameters() on SITL on reload_defaults_file()
...
This allow to pass cmdline parameter to Param on start for each vehicle in the same way as param file
4 years ago
Tom Pittenger
150b8653a4
Revert "AP_Param: add set_and_save_and_notify()"
...
This reverts commit 96a2aa485a
.
4 years ago
Tom Pittenger
96a2aa485a
AP_Param: add set_and_save_and_notify()
4 years ago
Andy Piper
7aa98d55eb
AP_Param: expose the stable key for use by AP_OSD
...
add support for finding parameters by name and returning the token
4 years ago
bugobliterator
c6e45dd536
AP_Param: add set_and_save_ifchanged for Vector3f params
4 years ago
Randy Mackay
4009f1583f
AP_Param: show_all compiler error fix
5 years ago
Randy Mackay
a66893a295
AP_Param: minor spelling fix
5 years ago
Andrew Tridgell
db0d3c5e89
AP_Param: fixed race in param count handling
5 years ago
Andrew Tridgell
766fb32292
AP_Param: added set_enable() API
...
used to set value of an enable parameter, clearing count cache
5 years ago
Andrew Tridgell
456b685779
AP_Param: make type_size() public
5 years ago
Andrew Tridgell
bb87da628e
AP_Param: fixed build warning
5 years ago
Peter Barker
b490f20f3d
AP_Param: panic if defaults file load fails
5 years ago
Andrew Tridgell
8d1bf46dab
AP_Param: use smaller param area for all 1M flash boards
5 years ago
Nick Exton
741abaf760
AP_Param: Add static assert on NVM struct sizes
5 years ago
Siddharth Purohit
1d2985e967
AP_Param: add method to find key of top level group variable by pointer
5 years ago
Peter Hall
5164eacc4a
AP_Param: add get and set functions
5 years ago
Peter Hall
623c1aa3cd
AP_Param: add singleton
5 years ago
Peter Hall
1ee14ffa75
AP_Param: use thread safe object buffer
5 years ago
Andrew Tridgell
aa3642d9de
AP_Param: save 7k flash for HAL_MINIMIZE_FEATURES boards
5 years ago
Michael du Breuil
1f20cc10f8
AP_Param: Fix failing to invalidate the cached parameter count
...
This would cause a GCS to download fewer then the requested number of
parameters
5 years ago
Andrew Tridgell
7ef86c9bb1
AP_Param: added convert_parameter_width()
...
this allows for easy conversion of the width of a parameter without
changing indexes
5 years ago
Mark Whitehorn
f8d4cba667
AP_Param: rename sensor_config_error to config_error
5 years ago
Andrew Tridgell
31b0663115
AP_Param: use strtof instead of atof
...
we don't need double precision
5 years ago
Andrew Tridgell
6573857a90
AP_Param: support @READONLY marker in param files
...
allows for read-only parameters embedded in firmware
5 years ago
Peter Barker
ca5ee2bfbc
AP_Param: correct fetching of flags for parameters
...
This was sending through the flags for the group the parameter was in,
rather than the parameter itself.
6 years ago
Peter Barker
b493805fb4
AP_Param: methods to provide amount of parameter space used
...
AP_Param: provide method for storage size
6 years ago
Andrew Tridgell
f897eae89d
AP_Param: enable reduced size support for AP_Periph
6 years ago
Peter Barker
2049e86dda
AP_Param: optionally return parameter flags in AP_Param::find(...)
6 years ago