Nate Weibley
708096b590
Remove dead parameter cache code
...
Conflicts:
src/FactSystem/ParameterLoader.cc
9 years ago
Nate Weibley
80ef4da829
New parameter cache loading spec
...
- Request list of all parameters, expecting device to lead each component with _HASH_CHECK cache value
- Test for hash collision, if so our cache is valid and respond with _HASH_CHECK to stop listing
- Else: let listing continue as normal to get updated param values
- Store each cache by systemID + componentID
For #2586
9 years ago
Don Gagne
8e51f6447f
Keep ParameterLoader on first seen dedicated link
9 years ago
Don Gagne
35534c33d8
Keep ParameterLoader on first seen dedicated link
9 years ago
Don Gagne
6f3704068e
Only save to eeprom when value changes
9 years ago
Don Gagne
f606cddaf1
clear setting clears cached files
9 years ago
dogmaphobic
6e12a7e8f2
ESP8266 Component Panel
9 years ago
Don Gagne
53a85ba009
Bad english, plus unit test check
9 years ago
Don Gagne
b8e9fe47f8
Add Reboot Required fact meta data
9 years ago
Don Gagne
181e69f74d
Mini-protocols must only communicate over single link
9 years ago
Don Gagne
2b0fff5242
Mini-protocols must only communicate over single link
9 years ago
Tomaz Canabrava
344acaf6ab
Modernize the C++ to accept variadic templates for signals with 6+ arguments
...
C++2003 didn't had variadic templates so different number of
arguments must have been already implemented in the templates
and since it's impossible to get the amount ot different methods
that paople write, a variadic template was neede.
now we can connect signal / slots with 6+ arguments.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
9 years ago
Don Gagne
94a0e98f32
Fix default comp id detection
9 years ago
Don Gagne
0f18f587e5
Automatic raw->cooked translation based on units
9 years ago
Don Gagne
8f59526185
Incorrect comparison
...
Hard to believe you could screw up something so easy!
9 years ago
Don Gagne
df49f36e39
qWarning instead of assert
9 years ago
Anselmo L. S. Melo
7d47b470a5
Review iterations over QStrings
...
There are many ways of iterating over lists in C++/Qt.
In the specific case of QStrings, it is known [1] that using
foreach with const references avoids the creation of new
QString objects in each iteration, reducing the time consumed
by the loops.
[1] https://blog.qt.io/blog/2009/01/23/iterating-efficiently/
Signed-off-by: Anselmo L. S. Melo <anselmo.melo@intel.com>
9 years ago
Don Gagne
bf93381950
Fix deadlock
9 years ago
Don Gagne
f5c76056d0
Retry initial param request if it fails
...
Plus notify user
9 years ago
Pritam Ghanghas
48b7474a1c
Initial support for parameter metadata for apm.
9 years ago
Don Gagne
5e04e33de9
Remove all message and file dialog code from mobile
10 years ago
Don Gagne
549000eb29
Remove QGCMessageBox usage
10 years ago
Don Gagne
89cacd32a1
Convert QGCMessageBox to QGCApplication::showMessage
10 years ago
Don Gagne
d4d26f03c4
Explicit raw/cooked values
10 years ago
dogmaphobic
f970a839b3
UI Tweaks
10 years ago
Don Gagne
fb43c44204
More works towards removing UAS completely
10 years ago
Don Gagne
3433b5417d
Remove as many Singletons as possible
...
Instead us a Toolbox concept which hangs off of QGCApplication
10 years ago
Don Gagne
f132b11025
ParameterLoader to Vehicle, ParameterMetaData to FirmwarePlugin
10 years ago
Nate Weibley
186f0bff8a
Remove duplicated enum conversion function
10 years ago
Nate Weibley
c9123adfb6
Build param cache path using QDir::filePath
10 years ago
Don Gagne
9010541154
More header fixes for Mobile build
10 years ago
Nate Weibley
3dff49a8d6
Perform translation between QGC Fact data type and mavlink param type
10 years ago
Nate Weibley
a8753935e4
Introduce locally cached parameter sync to speed up initial connection
10 years ago
Don Gagne
8b9ee774d1
Allow param edit with missing parameters
10 years ago
Don Gagne
1ad7da2c48
Allow param edit with missing parameters
10 years ago
Don Gagne
cfa7c9884d
Move verbose logging to new category
10 years ago
Don Gagne
37e9f869a2
Added APM Firmware Plugin
...
- Also added new adjustMavlinkMessage support
10 years ago
Don Gagne
87865088ec
Parameter search support
10 years ago
Don Gagne
943d47a451
New MultiVehicleManager, Vehicle objects
...
- MultiVehicleManager is a Qml friendly replacement for UASManager
- Vehicle is a replacement for both UAS and AutoPilotPlugin
10 years ago
Don Gagne
91f53523a5
Turn on showErrorsInToolbar at appropriate time
...
Also fixed case where UASMessageHandler reported errors but walking
list turned up no errors
10 years ago
Don Gagne
f1196e141e
Show vehicle errors after parameter load
10 years ago
Lorenz Meier
f25e7e076d
Param loader: use right count
10 years ago
Don Gagne
8b7bc4ad5f
Notify user of vehicle boot errors
10 years ago
Don Gagne
e1fe7ba0cb
Report failed initial parameter load to user
10 years ago
Don Gagne
9b68c43fb2
Parameter load errors shown to user
10 years ago
Don Gagne
6261e7618d
FactPanel V2
10 years ago
Don Gagne
801b7607fe
Timeout too short
...
Was causing unnecessary read re-requests to get sent out
10 years ago
Don Gagne
87c06bed14
Much better handling of missing facts
10 years ago
Don Gagne
df144d9eb6
Remove debugging code mistakenly left in
10 years ago
Don Gagne
834aa5261e
Fix unused variable
10 years ago